8211842 IPv6_supported wrongly returns false when unix domainsocket is bound to fd 0
ecki at zusammenkunft.net
Thu Nov 29 18:04:41 UTC 2018
I wonder if that conclusion „stdin = tcp4 -> disable tcp6“ is correct at all. The started program might serve a v4 connection but it still could want to do ipv6 client connections.
If somebody wants to disable v4 they can do it regularly with the System property.
Von: Michael McMahon
Gesendet: Mittwoch, 28. November 2018 17:22
An: OpenJDK Network Dev list
Betreff: RFR: 8211842 IPv6_supported wrongly returns false when unix domainsocket is bound to fd 0
Could I get the following fix reviewed please?
The fix is pretty simple, but the test a bit more involved
since the issue occurs when the JVM is launched in unusual circumstances
where its stdin,out,err are connected to a UNIX domain socket.
This occurs when java is launched by a node.js or Python script.
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the net-dev