Status: New
Owner: ----
Labels: Type-Defect Priority-Medium
New issue 48 by [email protected]: Fix TCPTransportClient for all OS's
http://code.google.com/p/jdiameter/issues/detail?id=48
1) it seems that the socketChannel API works differently in different OS's
(Maybe a JDK error?) - we found that socketChannel.isConnected() sometimes
returns true even though socketChannel.isOpen() returns false. This means
that TCPTransportClient.java: isConnected() sometimes returns true even
though the socketChannel is not open - this results in
org.jdiameter.server.impl.PeerImpl.java:215 not finding the correct
connection as it think the old connection is still open.
Suggested fix is to change TCPTransportClient.java: isConnected():
- return socketChannel != null && socketChannel.isConnected();
+ return socketChannel != null && socketChannel.isConnected() &&
socketChannel.isOpen();
--
You received this message because this project is configured to send all
issue notifications to this address.
You may adjust your notification preferences at:
https://code.google.com/hosting/settings
--
---
You received this message because you are subscribed to the Google Groups "mobicents-all-issues-changes" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
For more options, visit https://groups.google.com/groups/opt_out.