Bug 61865 - RFE: httpd, add IP_FREEBIND support for Listen
Summary: RFE: httpd, add IP_FREEBIND support for Listen
Status: NEW
Alias: None
Product: Apache httpd-2
Classification: Unclassified
Component: Core (show other bugs)
Version: 2.4.29
Hardware: PC Linux
: P2 normal (vote)
Target Milestone: ---
Assignee: Apache HTTPD Bugs Mailing List
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2017-12-06 12:06 UTC by Lubos Uhliarik
Modified: 2017-12-06 12:06 UTC (History)
0 users



Attachments
Initial patch against trunk (3.45 KB, patch)
2017-12-06 12:06 UTC, Lubos Uhliarik
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Lubos Uhliarik 2017-12-06 12:06:05 UTC
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.