summaryrefslogtreecommitdiff
path: root/modules/tls
diff options
context:
space:
mode:
authorWilliam A. Rowe Jr <wrowe@apache.org>2001-06-27 16:58:14 +0000
committerWilliam A. Rowe Jr <wrowe@apache.org>2001-06-27 16:58:14 +0000
commiteb25b54dd4e83d8160b61836d345fbfb04a398c0 (patch)
tree28fa2dd84b79fcc761ac83b2e3c71ba598d6656a /modules/tls
parent6ee771ecbd780b547c4f4ca75ce73ba94f12d090 (diff)
downloadhttpd-eb25b54dd4e83d8160b61836d345fbfb04a398c0.tar.gz
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
Diffstat (limited to 'modules/tls')
-rw-r--r--modules/tls/mod_tls.c2
1 files changed, 1 insertions, 1 deletions
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