summaryrefslogtreecommitdiff
path: root/src/net
Commit message (Collapse)AuthorAgeFilesLines
* net/http: enable Transfer-Encoding: identity without Content-Length for HTTP ↵James Tucker2014-09-292-7/+43
| | | | | | | | | | | | | | 1.1. Use case is SSE recommended configuration: http://www.w3.org/TR/eventsource/#notes Removes a TODO. LGTM=bradfitz R=golang-codereviews, bradfitz, tommi.virtanen CC=golang-codereviews https://codereview.appspot.com/100000044 Committer: Brad Fitzpatrick <bradfitz@golang.org>
* net/http: clarify Request.FormValue docsBrad Fitzpatrick2014-09-291-1/+2
| | | | | | | | | Fixes Issue 8067 LGTM=r R=r CC=golang-codereviews https://codereview.appspot.com/146480043
* net: fix misleading package comment exampleBrad Fitzpatrick2014-09-291-1/+0
| | | | | | | | | Fixes Issue 8607 LGTM=r R=r CC=golang-codereviews https://codereview.appspot.com/146470043
* net/http: update ProxyFromEnvironment docs for HTTPS_PROXY additionBrad Fitzpatrick2014-09-241-3/+10
| | | | | | | LGTM=adg R=adg CC=golang-codereviews https://codereview.appspot.com/142650043
* net/http: allow double-quotes only on cookie values, not cookieNigel Tao2014-09-252-5/+37
| | | | | | | | | | | attribute values, a la RFC 6265 section 4.1.1 "Syntax". Fixes issue 7751. LGTM=dr.volker.dobler R=dr.volker.dobler CC=bradfitz, golang-codereviews https://codereview.appspot.com/148890043
* net/http: check for CloseWrite interface, not TCPConn implementationBrad Fitzpatrick2014-09-243-2/+35
| | | | | | | | | Fixes Issue 8724 LGTM=adg R=adg CC=golang-codereviews https://codereview.appspot.com/148040043
* net/http: support https_proxy in ProxyFromEnvironmentBrad Fitzpatrick2014-09-243-6/+39
| | | | | | | | | Fixes Issue 6181 LGTM=adg R=adg CC=golang-codereviews https://codereview.appspot.com/148980043
* cmd/go: fix bytes and net the right wayRuss Cox2014-09-241-10/+0
| | | | | | | | | | | | | | | | | | | Not sure why they used empty.s and all these other packages were special cased in cmd/go instead. Add them to the list. This avoids problems with net .s files being compiled with gcc in cgo mode and gcc not supporting // comments on ARM. Not a problem with bytes, but be consistent. The last change fixed the ARM build but broke the Windows build. Maybe *this* will make everyone happy. Sigh. TBR=iant CC=golang-codereviews https://codereview.appspot.com/144530046
* net: only "build" empty.s in non-cgo modeRuss Cox2014-09-241-0/+2
| | | | | | | | | In cgo mode it gets passed to gcc, and on ARM it appears that gcc does not support // comments. TBR=iant CC=golang-codereviews https://codereview.appspot.com/142640043
* cmd/go: prohibit C sources files unless using cgoRuss Cox2014-09-241-0/+0
| | | | | | | | | | | | | | Those C files would have been compiled with 6c. It's close to impossible to use C correctly anymore, and the C compilers are going away eventually. Make them unavailable now. go1.4.txt change in CL 145890046 LGTM=iant R=iant CC=golang-codereviews, r https://codereview.appspot.com/149720043
* net/http: replace z_last_test hack with testing.MainBrad Fitzpatrick2014-09-221-9/+21
| | | | | | | LGTM=adg R=rsc, adg CC=golang-codereviews https://codereview.appspot.com/144240043
* net/http: document server recovering panicsRuss Cox2014-09-191-0/+6
| | | | | | | | | Fixes issue 8594. LGTM=bradfitz R=bradfitz CC=golang-codereviews https://codereview.appspot.com/145760043
* net/http: ensured that proxy errors are returned by Transport.RoundTrip.John Tuley2014-09-192-1/+19
| | | | | | | | | | | Fixes issue 8755. LGTM=bradfitz R=bradfitz CC=golang-codereviews, jtuley https://codereview.appspot.com/136710044 Committer: Brad Fitzpatrick <bradfitz@golang.org>
* net: disable TestDialMultiFDLeakRuss Cox2014-09-181-0/+2
| | | | | | | | | | | It fails about 25% of the time on OS X. I don't know what it's trying to do. Created issue 8764 to correct this, but for now disable. LGTM=bradfitz, mikioh.mikioh R=bradfitz, mikioh.mikioh CC=golang-codereviews https://codereview.appspot.com/144070044
* net: separate NaCl dependent placeholders from BSD'sMikio Hara2014-09-1822-22/+182
| | | | | | | | | To clarify the dependency of NaCl platform. LGTM=adg R=golang-codereviews, adg CC=golang-codereviews https://codereview.appspot.com/143830044
* net/mail: allow us-ascii encodingRuss Cox2014-09-162-1/+22
| | | | | | | | | Fixes issue 6611. LGTM=bradfitz R=bradfitz CC=golang-codereviews https://codereview.appspot.com/14990045
* net: make TestSelfConnect less fragileRuss Cox2014-09-161-1/+6
| | | | | | | | | | | | We believe TestSelfConnect can accidentally connect to something else listening on or dialing from that port. Fixes issue 8680. LGTM=bradfitz R=bradfitz CC=golang-codereviews, rlh https://codereview.appspot.com/136700043
* net/http: don't call FileSystem.Open with unclean index.html pathBrad Fitzpatrick2014-09-152-1/+38
| | | | | | | | | Fixes Issue 8722 LGTM=adg R=adg CC=golang-codereviews https://codereview.appspot.com/142090043
* net: fix inconsistent behavior across platforms in SetKeepAlivePeriodMikio Hara2014-09-116-57/+25
| | | | | | | | | | | | | | | The previous implementation used per-socket TCP keepalive options wrong. For example, it used another level socket option to control TCP and it didn't use TCP_KEEPINTVL option when possible. Fixes issue 8683. Fixes issue 8701. Update issue 8679 LGTM=iant R=golang-codereviews, iant CC=golang-codereviews https://codereview.appspot.com/136480043
* net: don't set wrong option for controlling tcp keepalive on openbsdMikio Hara2014-09-091-14/+3
| | | | | | | | | Fixes issue 8679. LGTM=iant R=golang-codereviews, iant CC=golang-codereviews https://codereview.appspot.com/141730043
* build: move package sources from src/pkg to srcRuss Cox2014-09-08240-0/+54136
Preparation was in CL 134570043. This CL contains only the effect of 'hg mv src/pkg/* src'. For more about the move, see golang.org/s/go14nopkg.