Mercurial > hg > nginx-vendor-current
annotate src/os/unix/ngx_errno.h @ 634:23ef0645ea57 NGINX_1_1_1
nginx 1.1.1
*) Change: now cache loader processes either as many files as specified
by "loader_files" parameter or works no more than time specified by
"loader_threshold" parameter during each iteration.
*) Change: now SIGWINCH signal works only in deamon mode.
*) Feature: now shared zones and caches use POSIX semaphores on
Solaris.
Thanks to Den Ivanov.
*) Feature: accept filters are now supported on NetBSD.
*) Bugfix: nginx could not be build on Linux 3.0.
*) Bugfix: nginx did not use gzipping in some cases; the bug had
appeared in 1.1.0.
*) Bugfix: request body might be incorrectly processed if client used
pipelining.
*) Bugfix: in the "request_body_in_single_buf" directive.
*) Bugfix: in "proxy_set_body" and "proxy_pass_request_body" directives
if SSL connection to backend was used.
*) Bugfix: nginx hogged CPU if all servers in an upstream were marked
as "down".
*) Bugfix: a segmentation fault might occur during reconfiguration if
ssl_session_cache was defined but not used in a previous
configuration.
*) Bugfix: a segmentation fault might occur in a worker process if many
backup servers were used in an upstream.
*) Bugfix: a segmentation fault might occur in a worker process if
"fastcgi/scgi/uwsgi_param" directives were used with values starting
with "HTTP_"; the bug had appeared in 0.8.40.
author | Igor Sysoev <http://sysoev.ru> |
---|---|
date | Mon, 22 Aug 2011 00:00:00 +0400 |
parents | 428c6e58046a |
children | d0f7a625f27c |
rev | line source |
---|---|
0 | 1 |
2 /* | |
3 * Copyright (C) Igor Sysoev | |
4 */ | |
5 | |
6 | |
7 #ifndef _NGX_ERRNO_H_INCLUDED_ | |
8 #define _NGX_ERRNO_H_INCLUDED_ | |
9 | |
10 | |
11 #include <ngx_config.h> | |
12 #include <ngx_core.h> | |
13 | |
14 | |
15 typedef int ngx_err_t; | |
16 | |
186 | 17 #define NGX_EPERM EPERM |
0 | 18 #define NGX_ENOENT ENOENT |
514 | 19 #define NGX_ENOPATH ENOENT |
0 | 20 #define NGX_ESRCH ESRCH |
21 #define NGX_EINTR EINTR | |
22 #define NGX_ECHILD ECHILD | |
23 #define NGX_ENOMEM ENOMEM | |
24 #define NGX_EACCES EACCES | |
25 #define NGX_EBUSY EBUSY | |
26 #define NGX_EEXIST EEXIST | |
430 | 27 #define NGX_EXDEV EXDEV |
0 | 28 #define NGX_ENOTDIR ENOTDIR |
212 | 29 #define NGX_EISDIR EISDIR |
0 | 30 #define NGX_EINVAL EINVAL |
182 | 31 #define NGX_ENOSPC ENOSPC |
0 | 32 #define NGX_EPIPE EPIPE |
33 #define NGX_EINPROGRESS EINPROGRESS | |
34 #define NGX_EADDRINUSE EADDRINUSE | |
35 #define NGX_ECONNABORTED ECONNABORTED | |
36 #define NGX_ECONNRESET ECONNRESET | |
37 #define NGX_ENOTCONN ENOTCONN | |
38 #define NGX_ETIMEDOUT ETIMEDOUT | |
39 #define NGX_ECONNREFUSED ECONNREFUSED | |
92 | 40 #define NGX_ENAMETOOLONG ENAMETOOLONG |
364 | 41 #define NGX_ENETDOWN ENETDOWN |
42 #define NGX_ENETUNREACH ENETUNREACH | |
43 #define NGX_EHOSTDOWN EHOSTDOWN | |
0 | 44 #define NGX_EHOSTUNREACH EHOSTUNREACH |
16 | 45 #define NGX_ENOSYS ENOSYS |
0 | 46 #define NGX_ECANCELED ECANCELED |
470 | 47 #define NGX_EILSEQ EILSEQ |
0 | 48 #define NGX_ENOMOREFILES 0 |
49 | |
584 | 50 #if (__hpux__) |
51 #define NGX_EAGAIN EWOULDBLOCK | |
52 #else | |
53 #define NGX_EAGAIN EAGAIN | |
54 #endif | |
0 | 55 |
56 | |
57 #define ngx_errno errno | |
58 #define ngx_socket_errno errno | |
59 #define ngx_set_errno(err) errno = err | |
60 #define ngx_set_socket_errno(err) errno = err | |
61 | |
62 | |
604 | 63 u_char *ngx_strerror(ngx_err_t err, u_char *errstr, size_t size); |
64 ngx_uint_t ngx_strerror_init(void); | |
566 | 65 |
66 | |
0 | 67 #endif /* _NGX_ERRNO_H_INCLUDED_ */ |