Commit 0b885f72 authored by Paul Monson's avatar Paul Monson Committed by Matt Caswell
Browse files

conn_is_closed should return 1 if get_last_sys_error is WSAECONNRESET

parent a3c62426
Loading
Loading
Loading
Loading
+4 −0
Original line number Diff line number Diff line
@@ -775,6 +775,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;