EHOSTUNREACH should not be considered as an exception when send on a loopback network interface. (original) (raw)
Charles Lee littlee at linux.vnet.ibm.com
Thu Sep 1 21:50:21 PDT 2011
- Previous message: hg: jdk8/tl/langtools: 7086071: tools/javac/7079713/TestCircularClassfile.java fails on windows
- Next message: EHOSTUNREACH should not be considered as an exception when send on a loopback network interface.
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Hi guys,
In some linuxes, when you bind on a loopback network interface, sendto will be fail and errono will be set to EHOSTUNREACH. In this situation, EHOSTUNREACH maybe need treat as INVAL: return false, not throw an exception.
Patch is attached.
Does anyone interested in this issue?
-- Yours Charles
-------------- next part -------------- An embedded and charset-unspecified text was scrubbed... Name: patch.v1 Url: http://mail.openjdk.java.net/pipermail/net-dev/attachments/20110902/78a785a5/patch.v1
- Previous message: hg: jdk8/tl/langtools: 7086071: tools/javac/7079713/TestCircularClassfile.java fails on windows
- Next message: EHOSTUNREACH should not be considered as an exception when send on a loopback network interface.
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]