From: Brad Fitzpatrick Date: Mon, 14 Apr 2014 17:19:10 +0000 (-0700) Subject: doc: add go1.3 note about the http Transport closing Request.Body X-Git-Tag: go1.3beta1~96 X-Git-Url: http://www.git.cypherpunks.su/?a=commitdiff_plain;h=071a0f4d18c5b5869bdcb6b0ca0e396cfa4506c6;p=gostls13.git doc: add go1.3 note about the http Transport closing Request.Body LGTM=rsc R=rsc, r CC=golang-codereviews https://golang.org/cl/87620043 --- diff --git a/doc/go1.3.html b/doc/go1.3.html index 07e695124d..c628763ad5 100644 --- a/doc/go1.3.html +++ b/doc/go1.3.html @@ -350,6 +350,14 @@ the Dialer struct now has a KeepAlive option to specify a keep-alive period for the connection. +
  • +The net/http package's +Transport +now closes Request.Body +consistently, even on errors. Previously it was closed on success and +closed on some errors, sometimes depending on timing. +
  • +
  • TODO: net: enable fast socket creation using SOCK_CLOEXEC and Accept4 on FreeBSD 10 (69100043)