Skip to content

Commit cf34d7b

Browse files
paulmonzooba
authored andcommitted
Add WSAECONNRESET to conn_is_closed (#13)
1 parent 8f99635 commit cf34d7b

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

ssl/statem/statem_srvr.c

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -774,6 +774,10 @@ static ossl_inline int conn_is_closed(void)
774774
#if defined(ECONNRESET)
775775
case ECONNRESET:
776776
return 1;
777+
#endif
778+
#if defined(WSAECONNRESET)
779+
case WSAECONNRESET:
780+
return 1;
777781
#endif
778782
default:
779783
return 0;

0 commit comments

Comments
 (0)