summaryrefslogtreecommitdiff
path: root/doc/go1.3.html
diff options
context:
space:
mode:
authorBrad Fitzpatrick <bradfitz@golang.org>2014-04-14 10:19:10 -0700
committerBrad Fitzpatrick <bradfitz@golang.org>2014-04-14 10:19:10 -0700
commit9c0a443addeabd4e80564bda880b383ab7cae02e (patch)
tree02e36959af2ea18c0a0c37981d5f2002ddfcc658 /doc/go1.3.html
parent89fc1f62b4d1410c3f3462e57e1e61250f073b63 (diff)
downloadgo-9c0a443addeabd4e80564bda880b383ab7cae02e.tar.gz
doc: add go1.3 note about the http Transport closing Request.Body
LGTM=rsc R=rsc, r CC=golang-codereviews https://codereview.appspot.com/87620043
Diffstat (limited to 'doc/go1.3.html')
-rw-r--r--doc/go1.3.html8
1 files changed, 8 insertions, 0 deletions
diff --git a/doc/go1.3.html b/doc/go1.3.html
index 07e695124..c628763ad 100644
--- a/doc/go1.3.html
+++ b/doc/go1.3.html
@@ -350,6 +350,14 @@ the <a href="/pkg/net/#Dialer"><code>Dialer</code></a> struct now
has a <code>KeepAlive</code> option to specify a keep-alive period for the connection.
</li>
+<li>
+The <a href="/pkg/net/http/"><code>net/http</code></a> package's
+<a href="/pkg/net/http/#Transport"><code>Transport</code></a>
+now closes <a href="/pkg/net/http/#Request"><code>Request.Body</code></a>
+consistently, even on errors. Previously it was closed on success and
+closed on some errors, sometimes depending on timing.
+</li>
+
<li> TODO: net: enable fast socket creation using SOCK_CLOEXEC and Accept4 on FreeBSD 10 (69100043)</li>
<li>