Skip to content

Conversation

@rpluem
Copy link
Collaborator

@rpluem rpluem commented Aug 27, 2025

Merge r1927885, r1927916, r1928022 from trunk

rpluem added 3 commits August 27, 2025 11:53
* 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
(cherry picked from commit 713100c)
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1927916 13f79535-47bb-0310-9956-ffa450edef68
(cherry picked from commit 078449e)
asf-gitbox-commits pushed a commit that referenced this pull request Nov 7, 2025
Make the value set for the socket option TCP_DEFER_ACCEPT configurable

* include/ap_listen.h:
  - Add prototype for ap_set_listentcpdeferaccept
  - 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



* Follow up to r1927885: Use correct configuration variable. Thanks to @ylavic
  for finding this.


* Follow up to r1927885: Changelog entry and documentation

Reviewed by: rpluem, jorton, covener

Github: closes #555


git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/branches/2.4.x@1929574 13f79535-47bb-0310-9956-ffa450edef68
@rpluem rpluem closed this Nov 7, 2025
@rpluem rpluem deleted the 1927885_1927916_1928022 branch November 7, 2025 08:34
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant