elecharny commented on PR #74:
URL: https://github.com/apache/mina/pull/74#issuecomment-5946931684

   I'm a bit annoyed with the proposed patch... The idea was to be sure we can 
bind twice on the *same* address (host:port). Calling the `tryBind() `a second 
time will change the port, so it's not testing the same thing.
   
   Here, what seems to happen is that even if the `unbind()` method is called, 
the socket remains in TIME_WAIT and can't be reused. It works just fine on mac, 
it fails on Linux.
   
   I wonder if setting the SO_REUSEPORT wouldn't be a better solution. 


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to