/[Apache-SVN]
ViewVC logotype

Revision 1895555


Jump to revision: Previous Next
Author: ylavic
Date: Fri Dec 3 15:34:16 2021 UTC (2 years, 5 months ago)
Changed paths: 3
Log Message:
Merge r1894171 from trunk:

*) 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
Reviewed by: ylavic, icing, rpluem
Github: closes #277


Changed paths

Path Details
Directoryhttpd/httpd/branches/2.4.x/ modified , props changed
Directoryhttpd/httpd/branches/2.4.x/CHANGES modified , text changed
Directoryhttpd/httpd/branches/2.4.x/server/connection.c modified , text changed

infrastructure at apache.org
ViewVC Help
Powered by ViewVC 1.1.26