Mercurial > hg > nginx-vendor-0-8
annotate src/os/unix/ngx_errno.h @ 78:9db7e0b5b27f NGINX_0_1_39
nginx 0.1.39
*) The changes in the ngx_http_charset_module: the "default_charset"
directive was canceled; the "charset" directive sets the response
charset; the "source_charset" directive sets the source charset only.
*) Bugfix: the backend "WWW-Authenticate" header line did not
transferred while the 401 response code redirecting.
*) Bugfix: the ngx_http_proxy_module and ngx_http_fastcgi_module may
close a connection before anything was transferred to a client; bug
appeared in 0.1.38.
*) Workaround: the Linux glibc crypt_r() initialization bug.
*) Bugfix: the ngx_http_ssi_module did not support the relative URI in
the "include virtual" command.
*) Bugfix: if the backend response had the "Location" header line and
nginx should not rewrite this line, then the 500 code response body
was transferred; bug appeared in 0.1.29.
*) Bugfix: some directives of the ngx_http_proxy_module and
ngx_http_fastcgi_module were not inherited from the server to the
location level; bug appeared in 0.1.29.
*) Bugfix: the ngx_http_ssl_module did not support the certificate
chain.
*) Bugfix: the ngx_http_autoindex_module did not show correctly the
long file names; bug appeared in 0.1.38.
*) Bugfixes in IMAP/POP3 proxy in interaction with a backend at the
login state.
author | Igor Sysoev <http://sysoev.ru> |
---|---|
date | Thu, 14 Jul 2005 00:00:00 +0400 |
parents | 818201e5a553 |
children | 45945fa8b8ba |
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 | |
17 #define NGX_ENOENT ENOENT | |
18 #define NGX_ESRCH ESRCH | |
19 #define NGX_EINTR EINTR | |
20 #define NGX_ECHILD ECHILD | |
21 #define NGX_ENOMEM ENOMEM | |
22 #define NGX_EACCES EACCES | |
23 #define NGX_EBUSY EBUSY | |
24 #define NGX_EEXIST EEXIST | |
25 #define NGX_ENOTDIR ENOTDIR | |
26 #define NGX_EINVAL EINVAL | |
27 #define NGX_EPIPE EPIPE | |
50 | 28 #define NGX_EAGAIN EAGAIN |
0 | 29 #define NGX_EINPROGRESS EINPROGRESS |
30 #define NGX_EADDRINUSE EADDRINUSE | |
31 #define NGX_ECONNABORTED ECONNABORTED | |
32 #define NGX_ECONNRESET ECONNRESET | |
33 #define NGX_ENOTCONN ENOTCONN | |
34 #define NGX_ETIMEDOUT ETIMEDOUT | |
35 #define NGX_ECONNREFUSED ECONNREFUSED | |
36 #define NGX_EHOSTUNREACH EHOSTUNREACH | |
16 | 37 #define NGX_ENOSYS ENOSYS |
0 | 38 #define NGX_ECANCELED ECANCELED |
39 #define NGX_ENOMOREFILES 0 | |
40 | |
41 | |
42 | |
43 #define ngx_errno errno | |
44 #define ngx_socket_errno errno | |
45 #define ngx_set_errno(err) errno = err | |
46 #define ngx_set_socket_errno(err) errno = err | |
47 | |
48 | |
18 | 49 #if (NGX_HAVE_STRERROR_R || NGX_HAVE_GNU_STRERROR_R) |
0 | 50 |
10 | 51 u_char *ngx_strerror_r(int err, u_char *errstr, size_t size); |
0 | 52 |
53 #else | |
54 | |
66 | 55 /* Solaris and Tru64 UNIX have thread-safe strerror() */ |
6 | 56 |
0 | 57 #define ngx_strerror_r(err, errstr, size) \ |
50 | 58 ngx_cpystrn(errstr, (u_char *) strerror(err), size) |
0 | 59 |
60 #endif | |
61 | |
62 | |
63 #endif /* _NGX_ERRNO_H_INCLUDED_ */ |