aboutsummaryrefslogtreecommitdiff
path: root/src/os/unix/ngx_errno.h
diff options
context:
space:
mode:
authorIgor Sysoev <igor@sysoev.ru>2003-03-11 20:38:13 +0000
committerIgor Sysoev <igor@sysoev.ru>2003-03-11 20:38:13 +0000
commitb738757f359a79b346bcc40895ed0a5ca697e8e2 (patch)
tree517f3cdbf30667c5183ba06f4d895acc78a308bf /src/os/unix/ngx_errno.h
parent0dad629f63e6bb8bc61314ba0c0aed5412353947 (diff)
downloadnginx-b738757f359a79b346bcc40895ed0a5ca697e8e2.tar.gz
nginx-b738757f359a79b346bcc40895ed0a5ca697e8e2.zip
nginx-0.0.1-2003-03-11-23:38:13 import
Diffstat (limited to 'src/os/unix/ngx_errno.h')
-rw-r--r--src/os/unix/ngx_errno.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/os/unix/ngx_errno.h b/src/os/unix/ngx_errno.h
index a5fccab59..391865724 100644
--- a/src/os/unix/ngx_errno.h
+++ b/src/os/unix/ngx_errno.h
@@ -14,9 +14,11 @@ typedef int ngx_err_t;
#define NGX_EAGAIN EWOULDBLOCK
#define NGX_EINPROGRESS EINPROGRESS
#define NGX_EADDRINUSE EADDRINUSE
+#define NGX_ECONNRESET ECONNRESET
#define NGX_ETIMEDOUT ETIMEDOUT
#define NGX_ECANCELED ECANCELED
+
#define ngx_errno errno
#define ngx_socket_errno errno
#define ngx_set_socket_errno(err) errno = err