Skip to content

Commit 93e5be7

Browse files
Marcel GebhardtMarcel Gebhardt
authored andcommitted
fix: added Keep-Alive header
1 parent 3b62ca2 commit 93e5be7

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

ntlm.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -40,6 +40,7 @@ func WrapDialContext(dialContext DialContext, proxyAddress, proxyUsername, proxy
4040
debugf("ntlm> NTLM negotiate message: '%s'", base64.StdEncoding.EncodeToString(negotiateMessage))
4141
header := make(http.Header)
4242
header.Set("Proxy-Authorization", fmt.Sprintf("NTLM %s", base64.StdEncoding.EncodeToString(negotiateMessage)))
43+
header.Set("Proxy-Connection", "Keep-Alive")
4344
connect := &http.Request{
4445
Method: "CONNECT",
4546
URL: &url.URL{Opaque: addr},

0 commit comments

Comments
 (0)