svn commit: r245696 - head/usr.sbin/inetd

Andrey Zonov zont at FreeBSD.org
Mon Jan 21 08:54:40 UTC 2013


On 1/21/13 12:49 PM, Pawel Jakub Dawidek wrote:
> On Sun, Jan 20, 2013 at 07:44:34PM +0000, Andrey Zonov wrote:
>> Author: zont
>> Date: Sun Jan 20 19:44:33 2013
>> New Revision: 245696
>> URL: http://svnweb.freebsd.org/changeset/base/245696
>>
>> Log:
>>   - Force inetd to have listen queue size to be set to the value of
>>     kern.ipc.somaxconn instead of hardcoded value 64.
> 
> Hmm, I didn't know -1 can be provided to use default limit.
> Would you mind documenting it in listen(2)?
> 

It's already documented there:

     The sysctl(3) MIB variable kern.ipc.soacceptqueue specifies a hard
limit
     on backlog; if a value greater than kern.ipc.soacceptqueue or less than
     zero is specified, backlog is silently forced to
kern.ipc.soacceptqueue.

Note that kern.ipc.soacceptqueue is the same as kern.ipc.somaxconn.

-- 
Andrey Zonov

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 535 bytes
Desc: OpenPGP digital signature
URL: <http://lists.freebsd.org/pipermail/svn-src-all/attachments/20130121/3afafb8c/attachment.sig>


More information about the svn-src-all mailing list