Add WSAECONNRESET to conn_is_closed (#13)

This commit is contained in:
Paul Monson
2019-04-29 15:04:24 -07:00
committed by Steve Dower
parent 8f99635588
commit cf34d7b72e

View File

@@ -774,6 +774,10 @@ static ossl_inline int conn_is_closed(void)
#if defined(ECONNRESET)
case ECONNRESET:
return 1;
#endif
#if defined(WSAECONNRESET)
case WSAECONNRESET:
return 1;
#endif
default:
return 0;