1
0
mirror of https://github.com/apache/httpd.git synced 2026-10-23 22:49:01 +03:00
Files
apache/server
Arturo Bernal 5e3efd75a1 core: Propagate make_sock() failures when duplicating listeners
ap_duplicate_listeners() ignored the return value of make_sock() for a
duplicated listener. On failure make_sock() logs the error and closes
the socket, but the loop carried on with the closed listener: with one
Listen the server started or restarted with fewer listeners, and with
several it failed on the closed descriptor with a misleading "Bad file
descriptor". Return the error so that the MPM reports "could not
duplicate listeners" with the original status.

PR: 70106
Submitted by: Xuqing Yang
GitHub: closes #861


git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1939304 13f79535-47bb-0310-9956-ffa450edef68
2026-10-21 05:12:42 +00:00
..
…
2022-04-04 08:24:09 +00:00
2024-01-24 14:44:49 +00:00
2020-11-07 18:59:15 +00:00
2021-04-17 20:13:28 +00:00