Mercurial > hg > nginx-vendor-current
annotate src/os/unix/ngx_errno.h @ 650:4d05413aebad NGINX_1_1_9
nginx 1.1.9
*) Change: now double quotes are encoded in an "echo" SSI-command
output.
Thanks to Zaur Abasmirzoev.
*) Feature: the "valid" parameter of the "resolver" directive. By
default TTL returned by a DNS server is used.
Thanks to Kirill A. Korinskiy.
*) Bugfix: nginx might hang after a worker process abnormal termination.
*) Bugfix: a segmentation fault might occur in a worker process if SNI
was used; the bug had appeared in 1.1.2.
*) Bugfix: in the "keepalive_disable" directive; the bug had appeared in
1.1.8.
Thanks to Alexander Usov.
*) Bugfix: SIGWINCH signal did not work after first binary upgrade; the
bug had appeared in 1.1.1.
*) Bugfix: backend responses with length not matching "Content-Length"
header line are no longer cached.
*) Bugfix: in the "scgi_param" directive, if complex parameters were
used.
*) Bugfix: in the "epoll" event method.
Thanks to Yichun Zhang.
*) Bugfix: in the ngx_http_flv_module.
Thanks to Piotr Sikora.
*) Bugfix: in the ngx_http_mp4_module.
*) Bugfix: IPv6 addresses are now handled properly in a request line and
in a "Host" request header line.
*) Bugfix: "add_header" and "expires" directives did not work if a
request was proxied and response status code was 206.
*) Bugfix: nginx could not be built on FreeBSD 10.
*) Bugfix: nginx could not be built on AIX.
author | Igor Sysoev <http://sysoev.ru> |
---|---|
date | Mon, 28 Nov 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_ */ |