From 071a0f4d18c5b5869bdcb6b0ca0e396cfa4506c6 Mon Sep 17 00:00:00 2001 From: Brad Fitzpatrick Date: Mon, 14 Apr 2014 10:19:10 -0700 Subject: [PATCH] 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 --- doc/go1.3.html | 8 ++++++++ 1 file changed, 8 insertions(+) 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)
  • -- 2.50.0