Mercurial > hg > nginx-vendor-0-7
annotate src/os/unix/ngx_setproctitle.h @ 362:54fad6c4b555 NGINX_0_6_25
nginx 0.6.25
*) Change: now the "server_name_in_redirect" directive is used instead
of the "server_name" directive's special "*" parameter.
*) Change: now wildcard and regex names can be used as main name in a
"server_name" directive.
*) Change: the "satisfy_any" directive was replaced by the "satisfy"
directive.
*) Workaround: old worker processes might hog CPU after reconfiguration
if they was run under Linux OpenVZ.
*) Feature: the "min_delete_depth" directive.
*) Bugfix: the COPY and MOVE methods did not work with single files.
*) Bugfix: the ngx_http_gzip_static_module did not allow the
ngx_http_dav_module to work; bug appeared in 0.6.23.
*) Bugfix: socket leak in HTTPS mode if deferred accept was used.
Thanks to Ben Maurer.
*) Bugfix: nginx could not be built without PCRE library; bug appeared
in 0.6.23.
author | Igor Sysoev <http://sysoev.ru> |
---|---|
date | Tue, 08 Jan 2008 00:00:00 +0300 |
parents | 5db440287648 |
children | b9fdcaf2062b |
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 | |
64 | 19 #else /* !NGX_HAVE_SETPROCTITLE */ |
58 | 20 |
64 | 21 #if !defined NGX_SETPROCTITLE_USES_ENV |
58 | 22 |
23 #if (NGX_SOLARIS) | |
24 | |
64 | 25 #define NGX_SETPROCTITLE_USES_ENV 1 |
58 | 26 #define NGX_SETPROCTITLE_PAD ' ' |
27 | |
28 ngx_int_t ngx_init_setproctitle(ngx_log_t *log); | |
29 void ngx_setproctitle(char *title); | |
30 | |
64 | 31 #elif (NGX_LINUX) || (NGX_DARWIN) |
58 | 32 |
64 | 33 #define NGX_SETPROCTITLE_USES_ENV 1 |
34 #define NGX_SETPROCTITLE_PAD '\0' | |
35 | |
36 ngx_int_t ngx_init_setproctitle(ngx_log_t *log); | |
37 void ngx_setproctitle(char *title); | |
38 | |
39 #else | |
58 | 40 |
41 #define ngx_init_setproctitle(log) | |
42 #define ngx_setproctitle(title) | |
43 | |
64 | 44 #endif /* OSes */ |
45 | |
46 #endif /* NGX_SETPROCTITLE_USES_ENV */ | |
47 | |
48 #endif /* NGX_HAVE_SETPROCTITLE */ | |
58 | 49 |
50 | |
51 #endif /* _NGX_SETPROCTITLE_H_INCLUDED_ */ |