1
0
mirror of https://github.com/golang/go synced 2024-10-07 03:21:21 -06:00
go/src/pkg/net/http
James Gray ccd63c3c19 net/http: non-keepalive connections close successfully
Connections did not close if Request.Close or Response.Close was true. This meant that if the user wanted the connection to close, or if the server requested it via "Connection: close", the connection would not be closed.

Fixes #1967.

R=golang-dev, rsc, bradfitz
CC=golang-dev
https://golang.org/cl/6201044
2012-05-18 10:34:37 -07:00
..
cgi net/http/cgi: add an empty response test 2012-02-26 14:46:22 -08:00
fcgi net/http/fcgi: don't mention threads in docs 2012-02-10 10:29:57 +11:00
httptest net/http/httptest: make Server.Close wait for outstanding requests to finish 2012-02-29 12:18:26 -08:00
httputil net/http/httputil: Made reverseproxy test less flaky. 2012-04-20 09:31:23 -07:00
pprof pprof: add Profile type 2012-02-22 21:46:12 -05:00
testdata
chunked_test.go http: make httputil's chunked reader/writer code a direct copy 2011-11-09 14:55:52 +11:00
chunked.go use new strconv API 2011-12-05 15:48:46 -05:00
client_test.go all: gofmt -w -s src misc 2012-03-08 10:48:51 -08:00
client.go std: add struct field tags to untagged literals. 2012-02-03 10:12:25 +11:00
cookie_test.go net/http: some more cookie tests 2012-02-23 15:51:53 +11:00
cookie.go net/http: lex cleanup 2012-04-23 10:26:10 -07:00
doc.go net/http: fix reference to URL.RawPath in docs 2012-02-10 22:39:57 -02:00
example_test.go net/http: add example for FileServer to mention StripPrefix 2012-04-20 00:41:10 +08:00
export_test.go use new time API 2011-11-30 12:01:46 -05:00
filetransport_test.go net/http: make test remove temporary file and directory 2011-12-12 10:40:15 -08:00
filetransport.go
fs_test.go net/http: make a test more paranoid & reliable on Windows, maybe. 2012-02-29 09:53:20 -08:00
fs.go net/http: use mtime < t+1s to check for unmodified 2012-02-12 23:45:19 -05:00
header_test.go
header.go http: doc nits 2011-11-03 20:37:02 -07:00
jar.go net/http: Added interface for a cookie jar. 2011-12-16 10:48:41 -05:00
lex_test.go net/http: lex cleanup 2012-04-23 10:26:10 -07:00
lex.go net/http: lex cleanup 2012-04-23 10:26:10 -07:00
proxy_test.go
range_test.go
readrequest_test.go net/http: add Request.RequestURI field 2012-01-26 14:37:14 -08:00
request_test.go net/http: return appropriate errors from ReadRequest 2012-03-12 10:42:25 -07:00
request.go net/http: revert 97d027b3aa68 2012-04-25 02:32:51 -03:00
requestwrite_test.go net/url: cleaned up URL interface (v2) 2012-01-17 00:49:05 -02:00
response_test.go compress: make flate, gzip and zlib's NewWriterXxx functions all return 2012-02-10 18:49:19 +11:00
response.go doc: use consistent receiver names, when it makes sense. 2012-01-30 11:58:49 -08:00
responsewrite_test.go
serve_test.go net/http: revert 97d027b3aa68 2012-04-25 02:32:51 -03:00
server.go net/http: ignore paths on CONNECT requests in ServeMux 2012-04-25 12:46:16 -07:00
sniff_test.go net/http/httptest: make Server.Close wait for outstanding requests to finish 2012-02-29 12:18:26 -08:00
sniff.go net/http: document use of DetectContentType 2012-02-12 23:14:48 -05:00
status.go net/http: add overlooked 418 status code, per RFC 2324. 2012-02-24 11:55:31 +11:00
transfer.go all: fixed various typos 2012-03-01 14:56:05 -08:00
transport_test.go net/http: non-keepalive connections close successfully 2012-05-18 10:34:37 -07:00
transport.go net/http: non-keepalive connections close successfully 2012-05-18 10:34:37 -07:00
triv.go net/http: couple more triv.go modernizations 2012-03-15 10:06:25 -07:00