.option(ChannelOption.SO_BACKLOG, 100)
is shown in the Netty 4 upgrade doc. Can you explain what it does?
Thanks!
It's a passed through socket option determining the number of connections queued.
The maximum queue length for incoming connection indications (a request to connect) is set to the backlog parameter. If a connection indication arrives when the queue is full, the connection is refused.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With