add debugging version
This commit is contained in:
6
ntlm.go
6
ntlm.go
@@ -7,13 +7,13 @@ import (
|
||||
"encoding/base64"
|
||||
"errors"
|
||||
"fmt"
|
||||
"io/ioutil"
|
||||
"io"
|
||||
"net"
|
||||
"net/http"
|
||||
"net/url"
|
||||
"strings"
|
||||
|
||||
ntlmssp "github.com/launchdarkly/go-ntlmssp"
|
||||
ntlmssp "git.coadcorp.com/nathan/go-ntlmssp"
|
||||
)
|
||||
|
||||
// DialContext is the DialContext function that should be wrapped with a
|
||||
@@ -86,7 +86,7 @@ func dialAndNegotiate(addr, proxyUsername, proxyPassword, proxyDomain string, ba
|
||||
debugf("ntlm> Could not read response from proxy: %s", err)
|
||||
return conn, err
|
||||
}
|
||||
_, err = ioutil.ReadAll(resp.Body)
|
||||
_, err = io.ReadAll(resp.Body)
|
||||
if err != nil {
|
||||
debugf("ntlm> Could not read response body from proxy: %s", err)
|
||||
return conn, err
|
||||
|
Reference in New Issue
Block a user