Skip to content

Commit cd8f802

Browse files
committed
doc/go1.15: add remaining release notes for net/http and net/http/httputil
Updates #37419 Change-Id: I3e37b650475aad4430aacd4655c02e5081ca6f5e Reviewed-on: https://go-review.googlesource.com/c/go/+/237019 Reviewed-by: Dmitri Shuralyov <[email protected]>
1 parent e5e3869 commit cd8f802

File tree

1 file changed

+7
-3
lines changed

1 file changed

+7
-3
lines changed

doc/go1.15.html

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -639,8 +639,10 @@ <h3 id="minor_library_changes">Minor changes to the library</h3>
639639

640640
<dl id="net/http"><dt><a href="/pkg/net/http/">net/http</a></dt>
641641
<dd>
642-
<p><!-- CL 231418 -->
643-
TODO: <a href="https://golang.org/cl/231418">https://golang.org/cl/231418</a>: only support &#34;chunked&#34; in inbound Transfer-Encoding headers
642+
<p><!-- CL 231418, CL 231419 -->
643+
Parsing is now stricter as a hardening measure against request smuggling attacks:
644+
non-ASCII white space is no longer trimmed like SP and HTAB, and support for the
645+
"<code>identity</code>" <code>Transfer-Encoding</code> was dropped.
644646
</p>
645647
</dd>
646648
</dl><!-- net/http -->
@@ -655,7 +657,9 @@ <h3 id="minor_library_changes">Minor changes to the library</h3>
655657
</p>
656658

657659
<p><!-- CL 224897 -->
658-
TODO: <a href="https://golang.org/cl/224897">https://golang.org/cl/224897</a>: make Switching Protocol requests (e.g. Websockets) cancelable
660+
When a Switching Protocol (like WebSocket) request handled by
661+
<a href="/pkg/net/http/httputil/#ReverseProxy"><code>ReverseProxy</code></a>
662+
is canceled, the backend connection is now correctly closed.
659663
</p>
660664
</dd>
661665
</dl>

0 commit comments

Comments
 (0)