hprose / hprose-java

Hprose is a cross-language RPC. This project is Hprose 2.0 for Java
MIT License
550 stars 187 forks source link

Fixed wait until timeout for invalid ip and fixed finishConnect() exception #25

Closed xiaoyur347 closed 7 years ago

xiaoyur347 commented 7 years ago
  1. Fixed wait until timeout for invalid ip. This commit close the Connection immediately and call errorClose.
  2. Fixed finishConnect() exception will lead to key.cancel() uncalled which makes select() = 0 and make the connector thread call too much.