/[Apache-SVN]
ViewVC logotype

Revision 1894171


Jump to revision: Previous Next
Author: ylavic
Date: Tue Oct 12 16:48:18 2021 UTC (2 years, 6 months ago)
Changed paths: 2
Log Message:
*) core: Be safe with ap_lingering_close() called with a socket NULL-ed.

PR 65627. 

mod_itk seems to:
  ap_set_core_module_config(c->conn_config, NULL)
before calling ap_lingering_close(), causing a crash after r1891721.
Until we have an API to no-op ap_lingering_close(), let's be safe.

* server/connection.c(ap_start_lingering_close):
  The socket should not be NULL here, add an assertion.

* server/connection.c(ap_lingering_close):
  Set c->aborted if the socket is NULL, and give up.

Submitted by: acmondor <bz.apache.org acmondor.ca>, ylavic



Changed paths

Path Details
Directoryhttpd/httpd/trunk/changes-entries/ap_lingering_close-NULL.txt added
Directoryhttpd/httpd/trunk/server/connection.c modified , text changed

infrastructure at apache.org
ViewVC Help
Powered by ViewVC 1.1.26