File tree 1 file changed +7
-3
lines changed 1 file changed +7
-3
lines changed Original file line number Diff line number Diff line change @@ -639,8 +639,10 @@ <h3 id="minor_library_changes">Minor changes to the library</h3>
639
639
640
640
< dl id ="net/http "> < dt > < a href ="/pkg/net/http/ "> net/http</ a > </ dt >
641
641
< dd >
642
- < p > <!-- CL 231418 -->
643
- TODO: < a href ="https://golang.org/cl/231418 "> https://golang.org/cl/231418</ a > : only support "chunked" 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.
644
646
</ p >
645
647
</ dd >
646
648
</ dl > <!-- net/http -->
@@ -655,7 +657,9 @@ <h3 id="minor_library_changes">Minor changes to the library</h3>
655
657
</ p >
656
658
657
659
< 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.
659
663
</ p >
660
664
</ dd >
661
665
</ dl >
You can’t perform that action at this time.
0 commit comments