From: Andrew Bonventre Date: Thu, 19 Jul 2018 20:31:12 +0000 (-0400) Subject: api: add ErrorHandler function to httputil.ReverseProxy X-Git-Tag: go1.11beta2~1 X-Git-Url: http://www.git.cypherpunks.su/?a=commitdiff_plain;h=d365890ba6b7b51f69e65d32dd76d3e59f83ece9;p=gostls13.git api: add ErrorHandler function to httputil.ReverseProxy Change-Id: Ie706c43c9a11cf30ca0f2139a4e9eabac8c75c75 Reviewed-on: https://go-review.googlesource.com/125096 Run-TryBot: Andrew Bonventre Reviewed-by: Brad Fitzpatrick --- diff --git a/api/go1.11.txt b/api/go1.11.txt index b0a7f64c52..4c0bcc7479 100644 --- a/api/go1.11.txt +++ b/api/go1.11.txt @@ -458,6 +458,7 @@ pkg net/http, type SameSite int pkg net/http, type Transport struct, MaxConnsPerHost int pkg net/http/httptrace, type ClientTrace struct, Got1xxResponse func(int, textproto.MIMEHeader) error pkg net/http/httptrace, type ClientTrace struct, WroteHeaderField func(string, []string) +pkg net/http/httputil, type ReverseProxy struct, ErrorHandler func(http.ResponseWriter, *http.Request, error) pkg os, const ModeIrregular = 524288 pkg os, const ModeIrregular FileMode pkg os, const ModeType = 2399666176