aboutsummaryrefslogtreecommitdiff
path: root/src/net/http/transport_test.go
diff options
context:
space:
mode:
authorShang Ding <shangjian.ding@gmail.com>2023-02-15 21:04:33 -0600
committerGopher Robot <gobot@golang.org>2023-03-17 15:23:38 +0000
commit2449bbb5e614954ce9e99c8a481ea2ee73d72d61 (patch)
treed8970ce184b0c0470614345225b0b98f830ba801 /src/net/http/transport_test.go
parent602e6aa97965c0c14d469c46370b76c0f276edbb (diff)
downloadgo-2449bbb5e614954ce9e99c8a481ea2ee73d72d61.tar.xz
net/http/httputil: use response controller in reverse proxy
Previously, the reverse proxy is unable to detect the support for hijack or flush if those things are residing in the response writer in a wrapped manner. The reverse proxy now makes use of the new http response controller as the means to discover the underlying flusher and hijacker associated with the response writer, allowing wrapped flusher and hijacker become discoverable. Change-Id: I53acbb12315c3897be068e8c00598ef42fc74649 Reviewed-on: https://go-review.googlesource.com/c/go/+/468755 Run-TryBot: Damien Neil <dneil@google.com> Auto-Submit: Damien Neil <dneil@google.com> TryBot-Result: Gopher Robot <gobot@golang.org> Reviewed-by: Damien Neil <dneil@google.com> Reviewed-by: Cherry Mui <cherryyz@google.com>
Diffstat (limited to 'src/net/http/transport_test.go')
0 files changed, 0 insertions, 0 deletions