diff --git a/doc/go1.21.html b/doc/go1.21.html index f7ffc19117152..daaa3444b7830 100644 --- a/doc/go1.21.html +++ b/doc/go1.21.html @@ -740,12 +740,18 @@

Minor changes to the library

net/http
-

- The new ErrSchemeMismatch error is returned by Client and Transport when the server responds to an HTTPS request with an HTTP response. +

+ The new ResponseController.EnableFullDuplex + method allows server handlers to concurrently read from an HTTP/1 + request body while writing the response. Normally, the HTTP/1 server + automatically consumes any remaining request body before starting to + write the response, to avoid deadlocking clients which attempt to + write a complete request before reading the response. The + EnableFullDuplex method disables this behavior.

-

- TODO: https://go.dev/cl/472636: net/http: support full-duplex HTTP/1 responses; modified api/next/57786.txt +

+ The new ErrSchemeMismatch error is returned by Client and Transport when the server responds to an HTTPS request with an HTTP response.