www-apache-bugdb mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Mike Abbott <...@sgi.com>
Subject general/6531: 2.0a6 doesn't disable Nagle algorithm
Date Thu, 14 Sep 2000 00:08:57 GMT

>Number:         6531
>Category:       general
>Synopsis:       2.0a6 doesn't disable Nagle algorithm
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    apache
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   apache
>Arrival-Date:   Wed Sep 13 17:10:00 PDT 2000
>Closed-Date:
>Last-Modified:
>Originator:     mja@sgi.com
>Release:        2.0a6
>Organization:
apache
>Environment:
Irix 6.5
>Description:
Apache/2.0a6 doesn't disable the Nagle algorithm on listening
sockets like Apache/1.3 does.  It is still disabled on accepted sockets
(returned by accept()) but not listening sockets (passed to accept()).
Compare make_sock() in 1.3 and 2.0.

This affects performance at least on Irix, where setsockopt(TCP_NODELAY)
is not necessary on the accepted socket if the listening socket has
TCP_NODELAY set.
>How-To-Repeat:

>Fix:
Restore the call to ap_sock_disable_nagle() to make_sock() ala 1.3 --
except that ap_sock_disable_nagle() is part of the MPM API (for some MPMs),
so maybe instead make every MPM do it after calling ap_listen_open() or
ap_setup_listeners().
>Release-Note:
>Audit-Trail:
>Unformatted:
 [In order for any reply to be added to the PR database, you need]
 [to include <apbugs@Apache.Org> in the Cc line and make sure the]
 [subject line starts with the report component and number, with ]
 [or without any 'Re:' prefixes (such as "general/1098:" or      ]
 ["Re: general/1098:").  If the subject doesn't match this       ]
 [pattern, your message will be misfiled and ignored.  The       ]
 ["apbugs" address is not added to the Cc line of messages from  ]
 [the database automatically because of the potential for mail   ]
 [loops.  If you do not include this Cc, your reply may be ig-   ]
 [nored unless you are responding to an explicit request from a  ]
 [developer.  Reply only with text; DO NOT SEND ATTACHMENTS!     ]
 
 


Mime
View raw message