Commit ececbe89 authored by Peter Waller's avatar Peter Waller Committed by Brad Fitzpatrick
Browse files

net/http/httputil: ReverseProxy request cancellation



If an inbound connection is closed, cancel the outbound http request.

This is particularly useful if the outbound request may consume resources
unnecessarily until it is cancelled.

Fixes #8406

Change-Id: I738c4489186ce342f7e21d0ea3f529722c5b443a
Signed-off-by: default avatarPeter Waller <p@pwaller.net>
Reviewed-on: https://go-review.googlesource.com/2320


Reviewed-by: default avatarBrad Fitzpatrick <bradfitz@golang.org>
parent 3aba41d6
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment