/[Apache-SVN]
ViewVC logotype

Revision 1900100


Jump to revision: Previous Next
Author: ylavic
Date: Thu Apr 21 10:02:29 2022 UTC (2 years ago)
Changed paths: 2
Log Message:
core: Disable TCP_NOPUSH optimization on OSX. BZ 66019.

OSX supports TCP_NOPUSH but does not release the data retained (in TCP stack)
when the option is unset. It seems that unsetting it before the last write
does not help either so just disable the optimization for OSX in the core
output filter to avoid uncontrollable transmission delays.

* server/core_filters.c():
  Add the sock_nopush() helper that does nothing on OSX and platforms not
  supporting TCP_NOPUSH or TCP_CORK.

* server/core_filters.c(send_brigade_nonblocking):
  Use sock_nopush() instead of apr_socket_opt_set() for APR_TCP_NOPUSH option.



Changed paths

Path Details
Directoryhttpd/httpd/trunk/changes-entries/osx_nopush.txt added
Directoryhttpd/httpd/trunk/server/core_filters.c modified , text changed

infrastructure at apache.org
ViewVC Help
Powered by ViewVC 1.1.26