- Sort Score
- Result 10 results
- Languages All
Results 1 - 2 of 2 for SendBufSize (0.05 sec)
-
internal/http/listener.go
} // ForWebsocket returns TCPOptions valid for websocket net.Conn func (t TCPOptions) ForWebsocket() TCPOptions { return TCPOptions{ UserTimeout: t.UserTimeout, Interface: t.Interface, SendBufSize: t.SendBufSize, RecvBufSize: t.RecvBufSize, NoDelay: true, } } // newHTTPListener - creates new httpListener object which is interface compatible to net.Listener. // httpListener is capable to
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Tue Jul 23 10:53:03 UTC 2024 - 5.6K bytes - Viewed (0) -
internal/http/dial_linux.go
_ = unix.SetsockoptInt(fd, unix.SOL_SOCKET, unix.SO_REUSEPORT, 1) // Enable custom socket send/recv buffers. if opts.SendBufSize > 0 { _ = unix.SetsockoptInt(fd, unix.SOL_SOCKET, unix.SO_SNDBUF, opts.SendBufSize) } if opts.RecvBufSize > 0 { _ = unix.SetsockoptInt(fd, unix.SOL_SOCKET, unix.SO_RCVBUF, opts.RecvBufSize) } if opts.NoDelay {
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Tue Jul 23 10:53:03 UTC 2024 - 5K bytes - Viewed (0)