apr-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jan Kalu┼ża <jkal...@redhat.com>
Subject [PATCH] Add support for IP_FREEBIND sockopt (PR58725)
Date Thu, 25 Feb 2016 12:12:52 GMT
Hi,

the IP_FREEBIND option allows binding to an IP address that is nonlocal 
or does not (yet) exist.

This is useful, for example, for daemons integration with systemd [1]. 
When daemon wants to bind to particular IP address during system start, 
there is no way how to determine that the network interface is really 
configured and the IP address is available.

Patch in the PR58725 adds support for IP_FREEBIND to APR.

As I said in the bug, I'm not sure if we need to change also win32/os2 
implementation of apr_socket_opt_set - more opinions are welcome.

Could you please review that patch and write me your thoughts?

[1] https://www.freedesktop.org/wiki/Software/systemd/NetworkTarget/
[2] https://bz.apache.org/bugzilla/show_bug.cgi?id=58725

Regards,
Jan Kaluza

Mime
View raw message