Details
-
Bug
-
Status: Resolved
-
Critical
-
Resolution: Not A Problem
-
2.1.4
-
None
-
None
-
Java 1.8, Unix/Windows
Description
Hi guys,
My intention is to send udp package to a specific ip and port (even if there is not receiver). Me - as the sender - do not have any knowledge about (existing) receivers. After receiving a "unreachable port" package back to myself (because no receiver exists), the session was closed automatically.
In your class AbstractPollingIoProcessor from lines 1108ff. in such a case a UnreachablePortException was thrown, catched and therefore in line 1112 the session was closed.
In contrast to this, while reading from a socket (lines 560ff.), you are distinguishing cases with and without the flag CloseOnPortUnreachable from the sessionConfig. [I am not quite sure about my statement here]
Can you explain, why this was not done at the "writing"-process? Or was there anything I missunderstood?
Thanks
Alex