diff --git a/doc/go1.3.html b/doc/go1.3.html index 601bf0acc4..3caea84d8b 100644 --- a/doc/go1.3.html +++ b/doc/go1.3.html @@ -278,7 +278,7 @@ as a synonym for %f when printing floating-point values.
  • The net/http package now exposes the -the properties of a TLS connection used to make a client request in the new +properties of a TLS connection used to make a client request in the new Response.TLS field.
  • @@ -289,15 +289,61 @@ with Server.ErrorLog. The default is still that all errors go to stderr. -
  • TODO: net/http: add Server.SetKeepAlivesEnabled (CL 69670043)
  • +
  • +The net/http package now +supports disabling HTTP keep-alive connections on the server +with Server.SetKeepAlivesEnabled. +The default continues to be that the server does keep-alive (reuses +connections for multiple requests) by default. Only +resource-constrained servers or those in the process of graceful +shutdown will want to disable them. +
  • -
  • TODO: net/http: add Transport.TLSHandshakeTimeout; set it by default (CL 68150045)
  • +
  • +The net/http package adds an optional +Transport.TLSHandshakeTimeout +setting to cap the amount of time HTTP client requests will wait for +TLS handshakes to complete. It's now also set by default +on DefaultTransport. +
  • -
  • TODO: net/http: add optional Server.ConnState callback (CL 69260044)
  • +
  • +The net/http package's +DefaultTransport, +used by the HTTP client code, now +enables TCP +keep-alives by +default. Other Transport +values with a nil Dial field continue to function the same +as before: no TCP keep-alives are used. +
  • -
  • TODO: net/http: use TCP Keep-Alives on DefaultTransport's connections (CL 68330046)
  • +
  • +The net/http package +now enables TCP +keep-alives for incoming server requests when +ListenAndServe +or +ListenAndServeTLS +are used. When a server is started otherwise, TCP keep-alives are not enabled. +
  • -
  • TODO: net/http: use TCP keep-alives for ListenAndServe and ListenAndServeTLS (CL 48300043)
  • +
  • +The net/http package now +provides an +optional Server.ConnState +callback to hook various phases of a server connection's lifecycle +(see ConnState). This +can be used to implement rate limiting or graceful shutdown. +
  • + +
  • +The net/http package's HTTP +client now has an +optional Client.Timeout +field to specify an end-to-end timeout on requests made using the +client. +
  • In the net package, the Dialer struct now