Mercurial > hg > nginx-ranges
annotate src/os/unix/ngx_setproctitle.h @ 475:9eda3153223b NGINX_0_7_45
nginx 0.7.45
*) Change: now the "proxy_cache" and the "proxy_cache_valid" can be set
on different levels.
*) Change: the "clean_time" parameter of the "proxy_cache_path"
directive is canceled.
*) Feature: the "max_size" parameter of the "proxy_cache_path"
directive.
*) Feature: the ngx_http_fastcgi_module preliminary cache support.
*) Feature: now on shared memory allocation errors directive and zone
names are logged.
*) Bugfix: the directive "add_header last-modified ''" did not delete a
"Last-Modified" response header line; the bug had appeared in 0.7.44.
*) Bugfix: a relative path in the "auth_basic_user_file" directive
given without variables did not work; the bug had appeared in
0.7.44.
Thanks to Jerome Loyet.
*) Bugfix: in an "alias" directive given using variables without
references to captures of regular expressions; the bug had appeared
in 0.7.42.
author | Igor Sysoev <http://sysoev.ru> |
---|---|
date | Mon, 30 Mar 2009 00:00:00 +0400 |
parents | 5db440287648 |
children | c04fa65fe604 |
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_ */ |