mashupbots / socko

A Scala web server powered by Netty networking and AKKA processing.
Other
255 stars 51 forks source link

Set correct value for 'child.backlog' in bootstrap #29

Closed tovbinm closed 12 years ago

tovbinm commented 12 years ago

Now WebServer.scala has:

Line 121: if (config.tcp.trafficClass.isDefined) { bootstrap.setOption("child.backlog", config.tcp.trafficClass.get); }

It should be: if (config.tcp.acceptBackLog.isDefined) { bootstrap.setOption("child.backlog", config.tcp.acceptBackLog.get); }

veebs commented 12 years ago

Thanks @tovbinm. Fixed now.