[windows] fix ntlm usage with tcp socket and buffers setting

This commit is contained in:
R4SAS 2024-09-05 04:51:48 +00:00 committed by Max Sum
parent 0d74a8c5a3
commit a3efd43bf1
4 changed files with 15 additions and 5 deletions

View File

@ -7,4 +7,4 @@ import (
// the fd arg to syscall.SetsockoptInt on Windows is of type syscall.Handle
func int64ToFd(n int64) syscall.Handle {
return syscall.Handle(n)
}
}

View File

@ -12,10 +12,6 @@ import (
"time"
)
const (
protocolGrpc = "unix"
)
type BasicAuthHandler struct {
SocketAddress string
Timeout int

View File

@ -0,0 +1,7 @@
// +build !windows
package web
const (
protocolGrpc = "unix"
)

View File

@ -0,0 +1,7 @@
// +build windows
package web
const (
protocolGrpc = "tcp"
)