]> Cypherpunks repositories - gostls13.git/commit
Revert "net/http/httputil: allow ReverseProxy to call ModifyResponse on failed requests"
authorBrad Fitzpatrick <bradfitz@golang.org>
Fri, 5 Jan 2018 21:35:51 +0000 (21:35 +0000)
committerBrad Fitzpatrick <bradfitz@golang.org>
Sat, 6 Jan 2018 01:14:49 +0000 (01:14 +0000)
commit24df1d06bc1544f096c484b30d50914f9d1d7c81
tree443799feecfe29ae75228d462ac6c4479f411094
parent91f99852f638c249007a5a80277f75aa7cc9e0e8
Revert "net/http/httputil: allow ReverseProxy to call ModifyResponse on failed requests"

This reverts commit https://golang.org/cl/54030

Reason for revert: to not paint ourselves into a corner.
See https://github.com/golang/go/issues/23009

Fixes #23009
Updates #21255

Change-Id: I68caab078839b9d2bf645a7bbed8405a5a30cd22
Reviewed-on: https://go-review.googlesource.com/86435
Reviewed-by: Ian Lance Taylor <iant@golang.org>
src/net/http/httputil/reverseproxy.go
src/net/http/httputil/reverseproxy_test.go