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

@ -128,6 +128,8 @@ func main() {
},
VerifyTunnelCreate: security.VerifyPAAToken,
VerifyServerFunc: security.VerifyServerFunc,
SendBuf: conf.Server.SendBuf,
ReceiveBuf: conf.Server.ReceiveBuf,
}
gw := protocol.Gateway{
ServerConf: &handlerConfig,