[monero-project/monero] abstract_tcp_server2: restart async accept on error (#3997)

ahook commented on this pull request.

> @@ -1003,8 +1003,23 @@ POP_WARNINGS
_erro(“Some problems at accept: ” (io_service_, m_config, m_sock_count, m_sock_number, m_pfilter, m_connection_type));

Since we now do this reset/accept in all three of these if/else/catch blocks, would it make sense to de-dupe those and just do it at the end of the function, once?

This post was last modified on June 14, 2018, 1:50 am