[EOSIO/eos] crash due to remote_endpoint query (#3657)

The recently added feature of limiting total number of client connections from a given ip address has a failure scenario where a socket is considered open but the connection isn’t yet complete so a call to remote_endpoint() results in an uncaught exception. The fix is to use the second form of the call which takes an error code holder as an argument.

Alternatively, we can back out the client connection limiting.

Добавить комментарий