]> git.ipfire.org Git - thirdparty/apache/httpd.git/commit
Make the value set for the socket option TCP_DEFER_ACCEPT configurable
authorRuediger Pluem <rpluem@apache.org>
Tue, 19 Aug 2025 12:45:15 +0000 (12:45 +0000)
committerRuediger Pluem <rpluem@apache.org>
Tue, 19 Aug 2025 12:45:15 +0000 (12:45 +0000)
commit713100ca6a88eaf270285f50e56af070bb9feed2
tree4289674e60a1a02c6e2af39e087a6bf3ec82b62c
parentb83273006040db93e412f3f81497ecb4051872d8
Make the value set for the socket option TCP_DEFER_ACCEPT configurable

* include/ap_listen.h:
  - Add prototype for include/ap_listen.heraccept
  - Wire in new directive ListenTCPDeferAccept

* include/mpm_common.h:
  Define the previous static value as default value via DEFAULT_TCP_DEFER_ACCEPT

* server/listen.c:
  - Add static int ap_listentcpdeferaccept
  - ap_apply_accept_filter: Use value of ap_listenbacklog for setting TCP_DEFER_ACCEPT
  - ap_listen_pre_config: Set default value
  - Add ap_set_listentcpdeferaccept

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1927885 13f79535-47bb-0310-9956-ffa450edef68
include/ap_listen.h
include/mpm_common.h
server/listen.c