diff options
author | Bill Stoddard <stoddard@apache.org> | 2002-05-20 13:22:36 +0000 |
---|---|---|
committer | Bill Stoddard <stoddard@apache.org> | 2002-05-20 13:22:36 +0000 |
commit | 435b95dcea82acfda162ee94a8c0d125b964b917 (patch) | |
tree | ed0401a08fe714b04614133dba04e05958d0b103 | |
parent | ab863a9be6a1906bc86a4d18a4a3c2253bde0ee7 (diff) | |
download | apr-435b95dcea82acfda162ee94a8c0d125b964b917.tar.gz |
Win32:
Netware/OS2 folks, do you need this too?
TransmitFile() returns ERROR_NETNAME_DELETED when the client closes
the connection. Subsequent calls to TransmitFile (on the same connection)
get th eexpected WSACONNRESET.
git-svn-id: https://svn.apache.org/repos/asf/apr/apr/trunk@63415 13f79535-47bb-0310-9956-ffa450edef68
-rw-r--r-- | include/apr_errno.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/apr_errno.h b/include/apr_errno.h index b4fe5d1bc..12cdf35a9 100644 --- a/include/apr_errno.h +++ b/include/apr_errno.h @@ -972,6 +972,7 @@ APR_DECLARE(char *) apr_strerror(apr_status_t statcode, char *buf, #define APR_STATUS_IS_ECONNABORTED(s) ((s) == APR_ECONNABORTED \ || (s) == APR_OS_START_SYSERR + WSAECONNABORTED) #define APR_STATUS_IS_ECONNRESET(s) ((s) == APR_ECONNRESET \ + || (s) == APR_OS_START_SYSERR + ERROR_NETNAME_DELETED \ || (s) == APR_OS_START_SYSERR + WSAECONNRESET) #define APR_STATUS_IS_ETIMEDOUT(s) ((s) == APR_ETIMEDOUT \ || (s) == APR_OS_START_SYSERR + WSAETIMEDOUT \ |