apr-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Yann Ylavic <ylavic....@gmail.com>
Subject Re: apr_socket_opt_set always sets TCP_DEFER_ACCEPT to 1
Date Wed, 30 Apr 2014 09:59:52 GMT
On Tue, Apr 29, 2014 at 5:41 PM, Jim Jagielski <jim@jagunet.com> wrote:
>
> On Apr 22, 2014, at 9:43 AM, Brian J. France <brian@brianfrance.com> wrote:
>>
>> Doh, this is my bad:  on != one
>>
>> http://svn.apache.org/viewvc/apr/apr/trunk/network_io/unix/sockopt.c?view=markup#l113
>>
>> For some reason I completely missed that.  APR is fine, but httpd needs updated as
it is hard coded to 1:
>>
>>  rv = apr_socket_opt_set(s, APR_TCP_DEFER_ACCEPT, 1);
>>
>> Will move to the httpd list.
>
>
> Did I miss this on dev@httpd?

I seems that httpd trunk and 2.4.x use "apr_socket_opt_set(s,
APR_TCP_DEFER_ACCEPT, 30);" whereas 2.2.x uses a value of 1.

Mime
View raw message