Hi,

On WIN32, APR by default comes with IPV6 disabled.
Enabling IPV6 brings in the completely different
behavior for NULL Listen address.
While on unixes regardless of the address being
NULL or 0.0.0.0 the socket will always accept
the connection to 127.0.0.1.
On Windows, if IPV6 is enabled the connection to
127.0.0.1 will be enabled *only* if address is 0.0.0.0
In case it is NULL, it'll default to ::0 and all IPV4
connections will be rejected.

Now, this is completely platform dependent, and makes
the same config behaving differently depending on the OS.

I'm not sure what is the exact reason, but if I
make "0.0.0.0" default when address is NULL for IPV6
enabled Win32/Win64, then it behaves like it behaves
on *nixes.

Any comments?

Regards,
Mladen.



Reply via email to