From d365890ba6b7b51f69e65d32dd76d3e59f83ece9 Mon Sep 17 00:00:00 2001 From: Andrew Bonventre Date: Thu, 19 Jul 2018 16:31:12 -0400 Subject: [PATCH] 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 --- api/go1.11.txt | 1 + 1 file changed, 1 insertion(+) diff --git a/api/go1.11.txt b/api/go1.11.txt index b0a7f64c5237a..4c0bcc74795d0 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