if start_lingering_close_blocking() returns 0, notify_suspend() will
write a 1 into some potentially recently free'd memory from
ptrans (cs->suspended).
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@
1638691 13f79535-47bb-0310-9956-
ffa450edef68
-*- coding: utf-8 -*-
Changes with Apache 2.5.0
+
+ *) event: Resolve potential crashes under load after r1604350. [Eric Covener]
*) mod_authnz_ldap: Resolve crashes with LDAP authz and non-LDAP authn since
r1608202. [Eric Covener]
}
if (cs->pub.state == CONN_STATE_LINGER) {
- start_lingering_close_blocking(cs);
- notify_suspend(cs);
+ if (start_lingering_close_blocking(cs)) {
+ notify_suspend(cs);
+ }
}
else if (cs->pub.state == CONN_STATE_CHECK_REQUEST_LINE_READABLE) {
/* It greatly simplifies the logic to use a single timeout value here