Mercurial > hg > nginx-mail
annotate src/os/unix/ngx_setproctitle.h @ 60:df7d3fff122b NGINX_0_1_30
nginx 0.1.30
*) Bugfix: the worker process may got caught in an endless loop if the
SSI was used.
*) Bugfix: the response encrypted by SSL may not transferred complete.
*) Bugfix: if the length of the response part received at once from
proxied or FastCGI server was equal to 500, then nginx returns the
500 response code; in proxy mode the bug appeared in 0.1.29 only.
*) Bugfix: nginx did not consider the directives with 8 or 9 parameters
as invalid.
*) Feature: the "return" directive can return the 204 response code.
*) Feature: the "ignore_invalid_headers" directive.
author | Igor Sysoev <http://sysoev.ru> |
---|---|
date | Sat, 14 May 2005 00:00:00 +0400 |
parents | b55cbf18157e |
children | 5db440287648 |
rev | line source |
---|---|
58 | 1 |
2 /* | |
3 * Copyright (C) Igor Sysoev | |
4 */ | |
5 | |
6 | |
7 #ifndef _NGX_SETPROCTITLE_H_INCLUDED_ | |
8 #define _NGX_SETPROCTITLE_H_INCLUDED_ | |
9 | |
10 | |
11 #if (NGX_HAVE_SETPROCTITLE) | |
12 | |
13 /* FreeBSD, NetBSD, OpenBSD */ | |
14 | |
15 #define ngx_init_setproctitle(log) | |
16 #define ngx_setproctitle setproctitle | |
17 | |
18 | |
19 #elif !defined NGX_SETPROCTITLE_USES_ENV | |
20 | |
21 #define NGX_SETPROCTITLE_USES_ENV 1 | |
22 | |
23 #if (NGX_SOLARIS) | |
24 | |
25 #define NGX_SETPROCTITLE_PAD ' ' | |
26 | |
27 #elif (NGX_LINUX) || (NGX_DARWIN) | |
28 | |
29 #define NGX_SETPROCTITLE_PAD '\0' | |
30 | |
31 #endif | |
32 | |
33 ngx_int_t ngx_init_setproctitle(ngx_log_t *log); | |
34 void ngx_setproctitle(char *title); | |
35 | |
36 | |
37 #else /* !NGX_SETPROCTITLE_USES_ENV */ | |
38 | |
39 #define ngx_init_setproctitle(log) | |
40 #define ngx_setproctitle(title) | |
41 | |
42 #endif | |
43 | |
44 | |
45 #endif /* _NGX_SETPROCTITLE_H_INCLUDED_ */ |