conn_is_closed should return 1 if get_last_sys_error is WSAECONNRESET
CLA: trivial
Reviewed-by: Paul Dale <paul.dale@oracle.com>
Reviewed-by: Matt Caswell <matt@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/8590)
(cherry picked from commit 0b885f72c2
)
This commit is contained in:
parent
0db8f86a18
commit
c7ea47b1f9
1 changed files with 4 additions and 0 deletions
|
@ -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;
|
||||
|
|
Loading…
Reference in a new issue