* server/listen.c (ap_apply_accept_filter): Bump TCP_DEFER_ACCEPT
argument to 30 units-of-unspecified-nature.
Submitted by: Dean Gaudet <dean arctic.org>
Reviewed by: ylavic, trawick, covener
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/branches/2.2.x@
1608298 13f79535-47bb-0310-9956-
ffa450edef68
Changes with Apache 2.2.28
+ *) core: Increase TCP_DEFER_ACCEPT socket option to from 1 to 30 seconds.
+ PR 41270. [Dean Gaudet <dean arctic org>]
Changes with Apache 2.2.27
PATCHES ACCEPTED TO BACKPORT FROM TRUNK:
[ start all new proposals below, under PATCHES PROPOSED. ]
- * core: Increase TCP_DEFER_ACCEPT socket option from 1 to 30 seconds. PR 41270.
- trunk patch: http://svn.apache.org/r501364
- 2.2.x patch: trunk works
- +1: ylavic, trawick, covener
-
* mod_cache: Don't remove stale cache entries that cannot be conditionally
revalidated. This prevents the thundring herd protection from serving
stale during a revalidation. Reverts most of r572626 which is also gone
}
#else
#ifdef APR_TCP_DEFER_ACCEPT
- rv = apr_socket_opt_set(s, APR_TCP_DEFER_ACCEPT, 1);
+ rv = apr_socket_opt_set(s, APR_TCP_DEFER_ACCEPT, 30);
if (rv != APR_SUCCESS && !APR_STATUS_IS_ENOTIMPL(rv)) {
ap_log_perror(APLOG_MARK, APLOG_WARNING, rv, p,
"Failed to enable APR_TCP_DEFER_ACCEPT");