httpd-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jess M. Holle" <>
Subject Apache 2 Win32 Socket Opt: send buffer size?
Date Tue, 04 Mar 2003 22:32:41 GMT
Apache 2 (2.0.43 and 2.0.44 at least) ignores attempts to set the send 
buffer size on a socket in apr_socket_opt_set 

Addition of:

        case APR_SO_SNDBUF:
                if (setsockopt(sock->socketdes, SOL_SOCKET, SO_SNDBUF,
    (void *)&on,
                    sizeof(int)) == -1) {
                       return apr_get_netos_error();

to the switch on 'opt' makes Apache 2 on Windows obey the send buffer 
size configuration options -- which seems to make a big performance 
difference in some cases.

Is there any reason not to include this?  Could someone commit such a 
change to Apache 2?

Jess Holle

View raw message