Support setting send/receive buffers for the IP sockets

This commit is contained in:
Bolke de Bruin 2020-09-11 22:01:40 +02:00
parent 8876b04466
commit 505eafdc1e
6 changed files with 89 additions and 0 deletions

View file

@ -39,6 +39,8 @@ type ServerConf struct {
IdleTimeout int
SmartCardAuth bool
TokenAuth bool
ReceiveBuf int
SendBuf int
}
func NewServer(s *SessionInfo, conf *ServerConf) *Server {