- deprecate sockets.GetProxyEnv, sockets.DialerFromEnvironment - add support for unix sockets on Windows - remove legacy CBC cipher suites from client config - align client and server defaults to be the same. - remove support for encrypted TLS private keys. - nat: optimize ParsePortSpec full diff: https://github.com/docker/go-connections/compare/v0.5.0...v0.6.0 Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
19 lines
297 B
Go
19 lines
297 B
Go
//go:build !windows
|
|
|
|
package sockets
|
|
|
|
import (
|
|
"net"
|
|
"net/http"
|
|
"syscall"
|
|
"time"
|
|
)
|
|
|
|
func configureNpipeTransport(tr *http.Transport, proto, addr string) error {
|
|
return ErrProtocolNotAvailable
|
|
}
|
|
|
|
func dialPipe(_ string, _ time.Duration) (net.Conn, error) {
|
|
return nil, syscall.EAFNOSUPPORT
|
|
}
|