From: Brad Fitzpatrick Date: Tue, 5 Jan 2016 17:29:16 +0000 (+0000) Subject: doc: note the net/http CloseNotifier changes in go1.6.html X-Git-Tag: go1.6beta2~138 X-Git-Url: http://www.git.cypherpunks.su/?a=commitdiff_plain;h=ed52e552aa9f3debe0e743e9840219a42dbd1216;p=gostls13.git doc: note the net/http CloseNotifier changes in go1.6.html Also reference the new Transport.ExpectContinueTimeout after the mention of 100-continue. Fixes #13721 Change-Id: I3445c011ed20f29128092c801c7a4bb4dd2b8351 Reviewed-on: https://go-review.googlesource.com/18281 Reviewed-by: Andrew Gerrand --- diff --git a/doc/go1.6.html b/doc/go1.6.html index b4ac96ef96..fe079301cd 100644 --- a/doc/go1.6.html +++ b/doc/go1.6.html @@ -685,7 +685,8 @@ First, the FileServer now sorts its generated directory listings by file name. Second, the Client now allows user code to set the -Expect: 100-continue header. +Expect: 100-continue header (see +Transport.ExpectContinueTimeout). Third, there are four new error codes from RFC 6585: StatusPreconditionRequired (428), @@ -693,6 +694,14 @@ Third, there are StatusRequestHeaderFieldsTooLarge (431), and StatusNetworkAuthenticationRequired (511). +Fourth, the implementation and documentation of +CloseNotifier +has been substantially changed. +The Hijacker +interface now works correctly on connections that have previously +been used with CloseNotifier. +The documentation now describes when CloseNotifier +is expected to work.