Summary: | RFE: httpd, add IP_FREEBIND support for Listen | ||
---|---|---|---|
Product: | Apache httpd-2 | Reporter: | Lubos Uhliarik <luhliari> |
Component: | Core | Assignee: | Apache HTTPD Bugs Mailing List <bugs> |
Status: | RESOLVED FIXED | ||
Severity: | normal | ||
Priority: | P2 | ||
Version: | 2.4.29 | ||
Target Milestone: | --- | ||
Hardware: | PC | ||
OS: | Linux | ||
Attachments: | Initial patch against trunk |
Adapted slightly and PR filed - https://github.com/apache/httpd/pull/114 |
Created attachment 35590 [details] Initial patch against trunk Currently the user behaviour for httpd enabled at boot is sub-optimal; if enabled, httpd may start before dependent network interfaces. Steps to Reproduce: 1. add Listen 10.23.4.5:80 to httpd.conf 2. systemctl enable httpd 3. reboot Actual results: httpd will fail to start if 10.23.4.5 is not up I created patch, which introduces new directive ListenFree. When using this directive, IP_FREEBIND option is set.