Add WSAECONNRESET to conn_is_closed (#13)
This commit is contained in:
@@ -774,6 +774,10 @@ static ossl_inline int conn_is_closed(void)
|
|||||||
#if defined(ECONNRESET)
|
#if defined(ECONNRESET)
|
||||||
case ECONNRESET:
|
case ECONNRESET:
|
||||||
return 1;
|
return 1;
|
||||||
|
#endif
|
||||||
|
#if defined(WSAECONNRESET)
|
||||||
|
case WSAECONNRESET:
|
||||||
|
return 1;
|
||||||
#endif
|
#endif
|
||||||
default:
|
default:
|
||||||
return 0;
|
return 0;
|
||||||
|
|||||||
Reference in New Issue
Block a user