Skip to content

Commit 5f52967

Browse files
authored
fix auth remote proxy in cascadeproxy (#664)
fix auth remote proxy in cascadeproxy
1 parent b81733c commit 5f52967

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

examples/cascadeproxy/main.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -35,6 +35,7 @@ func main() {
3535
// Start middle proxy server
3636
middleProxy := goproxy.NewProxyHttpServer()
3737
middleProxy.Verbose = true
38+
middleProxy.KeepHeader = true
3839
middleProxy.Tr.Proxy = func(req *http.Request) (*url.URL, error) {
3940
// Here we specify the proxy URL of the other server.
4041
// If it was a socks5 proxy, we would have used an url like

0 commit comments

Comments
 (0)