fix: added Keep-Alive header
This commit is contained in:
committed by
Marcel Gebhardt
parent
3b62ca2637
commit
93e5be72ed
1
ntlm.go
1
ntlm.go
@@ -40,6 +40,7 @@ func WrapDialContext(dialContext DialContext, proxyAddress, proxyUsername, proxy
|
||||
debugf("ntlm> NTLM negotiate message: '%s'", base64.StdEncoding.EncodeToString(negotiateMessage))
|
||||
header := make(http.Header)
|
||||
header.Set("Proxy-Authorization", fmt.Sprintf("NTLM %s", base64.StdEncoding.EncodeToString(negotiateMessage)))
|
||||
header.Set("Proxy-Connection", "Keep-Alive")
|
||||
connect := &http.Request{
|
||||
Method: "CONNECT",
|
||||
URL: &url.URL{Opaque: addr},
|
||||
|
Reference in New Issue
Block a user