"Bill Stoddard" <[EMAIL PROTECTED]> writes:
> -#ifdef AP_MPM_DISABLE_NAGLE_ACCEPTED_SOCK
> - /* BillS says perhaps this should be moved to the MPMs. Some OSes
> - * allow listening socket attributes to be inherited by the
> - * accept sockets which means this call only needs to be made
> - * once on the listener
> - */
> - ap_sock_disable_nagle(csd);
> -#endif
(This text just got moved around so I'll feel free to comment on it
here.)
For Unix it is handled in APR. Apache does the apr_set_option()
and APR knows whether or not it has to make the syscall. The Unix
MPMs run on some OSs that inherit it and some OSs that don't.
Nothing necessarily breaks if you move this to the MPM, but on the
other hand it is easy to optimize away for other OSs down in APR such
that no apps have to worry about such an optimization.
--
Jeff Trawick | [EMAIL PROTECTED] | PGP public key at web site:
http://www.geocities.com/SiliconValley/Park/9289/
Born in Roswell... married an alien...