diff options
Diffstat (limited to 'src/tcp_connecter.cpp')
-rw-r--r-- | src/tcp_connecter.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/tcp_connecter.cpp b/src/tcp_connecter.cpp index d1c04db..de105bb 100644 --- a/src/tcp_connecter.cpp +++ b/src/tcp_connecter.cpp @@ -307,7 +307,7 @@ void xs::tcp_connecter_t::close () wsa_assert (rc != SOCKET_ERROR); #else int rc = ::close (s); - errno_assert (rc == 0); + errno_assert (rc == 0 || errno == ECONNRESET); #endif s = retired_fd; } |