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:58:20 PDT 2011
- Previous message: EHOSTUNREACH should not be considered as an exception when send on a loopback network interface.
- Next message: hg: jdk8/tl/jdk: 7082971: More performance tuning of BigDecimal and other java.math classes
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
On 09/02/2011 12:50 PM, Charles Lee wrote:
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? Sorry, I attached a wrong diff. Here is the right one.
-- Yours Charles
-------------- next part -------------- An embedded and charset-unspecified text was scrubbed... Name: patch.new Url: http://mail.openjdk.java.net/pipermail/net-dev/attachments/20110902/ffa9245b/patch.new
- Previous message: EHOSTUNREACH should not be considered as an exception when send on a loopback network interface.
- Next message: hg: jdk8/tl/jdk: 7082971: More performance tuning of BigDecimal and other java.math classes
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]