diff options
| author | Julien Salleyron <julien.salleyron@gmail.com> | 2017-11-13 23:32:07 +0100 |
|---|---|---|
| committer | Brad Fitzpatrick <bradfitz@golang.org> | 2018-07-13 16:45:34 +0000 |
| commit | 5201b1ad225e7503e368386ae3ad4f94d7b04d8b (patch) | |
| tree | 0a3378db078c45481c82404171ab355163a5e8d2 /src/runtime/export_debug_test.go | |
| parent | 86a0e67a03370601956133119982167ffadd526d (diff) | |
| download | go-5201b1ad225e7503e368386ae3ad4f94d7b04d8b.tar.xz | |
http/http/httputil: add ReverseProxy.ErrorHandler
This permits specifying an ErrorHandler to customize the RoundTrip
error handling if the backend fails to return a response.
Fixes #22700
Fixes #21255
Change-Id: I8879f0956e2472a07f584660afa10105ef23bf11
Reviewed-on: https://go-review.googlesource.com/77410
Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org>
Diffstat (limited to 'src/runtime/export_debug_test.go')
0 files changed, 0 insertions, 0 deletions
