]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
casperd: bump default socket queue length to SOMAXCONN; make length configurable.
authorAdrian Chadd <adrian@FreeBSD.org>
Tue, 13 Oct 2015 02:34:41 +0000 (02:34 +0000)
committerAdrian Chadd <adrian@FreeBSD.org>
Tue, 13 Oct 2015 02:34:41 +0000 (02:34 +0000)
commit4052b8bc34ecbb582f338f2fd5e01a2dca657fe3
tree7f8e4265a5658025456b3cc816fcd4538826a76d
parenta08b904c5e3a4722e6d0fde092d6d23f8d82d697
casperd: bump default socket queue length to SOMAXCONN; make length configurable.

The current default listen queue for casperd is too small (8) and
hard-coded.

This patch increases the default to SOMAXCONN, and introduces a command
line flag that can used to further increase or decrease the queue length.

PR: bin/202147
Submitted by: <lidl@pix.net>
sbin/casperd/casperd.8
sbin/casperd/casperd.c