From eb25b54dd4e83d8160b61836d345fbfb04a398c0 Mon Sep 17 00:00:00 2001 From: "William A. Rowe Jr" Date: Wed, 27 Jun 2001 16:58:14 +0000 Subject: [PATCH] Win32/OS2 require APR_STATUS_IS_EFOO() tests, not == EFOO, since our socket error codes vary. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@89430 13f79535-47bb-0310-9956-ffa450edef68 --- modules/tls/mod_tls.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/tls/mod_tls.c b/modules/tls/mod_tls.c index de7f8ece2c..2e84e57760 100644 --- a/modules/tls/mod_tls.c +++ b/modules/tls/mod_tls.c @@ -221,7 +221,7 @@ static apr_status_t churn(TLSFilterCtx *pCtx,apr_read_type_e eReadType,apr_size_ if(len == 0) { /* Lazy frickin browsers just reset instead of shutting down. */ - if(ret == APR_EOF || ret == APR_ECONNRESET) { + if(ret == APR_EOF || APR_STATUS_IS_ECONNRESET(ret)) if(APR_BRIGADE_EMPTY(pCtx->pbbPendingInput)) return APR_EOF; else -- 2.50.1