From 3646a1669df23e2dcfb7cc8c940abeb822d8f010 Mon Sep 17 00:00:00 2001 From: Igor Sysoev Date: Sun, 14 Mar 2004 20:46:25 +0000 Subject: nginx-0.0.2-2004-03-14-23:46:25 import --- src/os/unix/ngx_errno.h | 2 ++ src/os/win32/ngx_errno.h | 2 ++ 2 files changed, 4 insertions(+) (limited to 'src/os') diff --git a/src/os/unix/ngx_errno.h b/src/os/unix/ngx_errno.h index 7ead602f7..cbfc98bb6 100644 --- a/src/os/unix/ngx_errno.h +++ b/src/os/unix/ngx_errno.h @@ -23,6 +23,8 @@ typedef int ngx_err_t; #define NGX_ECONNRESET ECONNRESET #define NGX_ENOTCONN ENOTCONN #define NGX_ETIMEDOUT ETIMEDOUT +#define NGX_ECONNREFUSED ECONNREFUSED +#define NGX_EHOSTUNREACH EHOSTUNREACH #define NGX_ECANCELED ECANCELED #define NGX_ENOMOREFILES 0 diff --git a/src/os/win32/ngx_errno.h b/src/os/win32/ngx_errno.h index a7acf53a2..d55b3956d 100644 --- a/src/os/win32/ngx_errno.h +++ b/src/os/win32/ngx_errno.h @@ -25,6 +25,8 @@ typedef DWORD ngx_err_t; #define NGX_ECONNRESET WSAECONNRESET #define NGX_ENOTCONN WSAENOTCONN #define NGX_ETIMEDOUT WSAETIMEDOUT +#define NGX_ECONNREFUSED WSAECONNREFUSED +#define NGX_EHOSTUNREACH WSAEHOSTUNREACH #define NGX_ENOMOREFILES ERROR_NO_MORE_FILES #define NGX_EALREADY WSAEALREADY -- cgit