Mercurial > hg > nginx-vendor-0-6
annotate src/core/ngx_queue.h @ 376:d13234035cad NGINX_0_6_32
nginx 0.6.32
*) Change: the "none" parameter in the "ssl_session_cache" directive;
now this is default parameter.
Thanks to Rob Mueller.
*) Change: now the 0x00-0x1F, '"' and '\' characters are escaped as
\xXX in an access_log.
Thanks to Maxim Dounin.
*) Change: now nginx allows several "Host" request header line.
*) Feature: the "modified" flag in the "expires" directive.
*) Feature: the $uid_got and $uid_set variables may be used at any
request processing stage.
*) Feature: the $hostname variable.
Thanks to Andrei Nigmatulin.
*) Feature: DESTDIR support.
Thanks to Todd A. Fisher and Andras Voroskoi.
*) Bugfix: if sub_filter and SSI were used together, then responses
might were transferred incorrectly.
*) Bugfix: large SSI inclusions might be truncated.
*) Bugfix: the "proxy_pass" directive did not work with the HTTPS
protocol; the bug had appeared in 0.6.9.
*) Bugfix: worker processes might not catch reconfiguration and log
rotation signals.
*) Bugfix: nginx could not be built on latest Fedora 9 Linux.
Thanks to Roxis.
*) Bugfix: a segmentation fault might occur in worker process on Linux,
if keepalive was enabled.
author | Igor Sysoev <http://sysoev.ru> |
---|---|
date | Mon, 07 Jul 2008 00:00:00 +0400 |
parents | 9121a0a91f47 |
children |
rev | line source |
---|---|
348 | 1 |
2 /* | |
3 * Copyright (C) Igor Sysoev | |
4 */ | |
5 | |
6 | |
7 #include <ngx_config.h> | |
8 #include <ngx_core.h> | |
9 | |
10 | |
11 #ifndef _NGX_QUEUE_H_INCLUDED_ | |
12 #define _NGX_QUEUE_H_INCLUDED_ | |
13 | |
14 | |
15 typedef struct ngx_queue_s ngx_queue_t; | |
16 | |
17 struct ngx_queue_s { | |
18 ngx_queue_t *prev; | |
19 ngx_queue_t *next; | |
20 }; | |
21 | |
22 | |
354 | 23 #define ngx_queue_init(q) \ |
24 (q)->prev = q; \ | |
358 | 25 (q)->next = q |
354 | 26 |
27 | |
348 | 28 #define ngx_queue_empty(h) \ |
29 (h == (h)->prev) | |
30 | |
31 | |
32 #define ngx_queue_insert_head(h, x) \ | |
33 (x)->next = (h)->next; \ | |
34 (x)->next->prev = x; \ | |
35 (x)->prev = h; \ | |
36 (h)->next = x | |
37 | |
38 | |
39 #define ngx_queue_head(h) \ | |
40 (h)->next | |
41 | |
42 | |
43 #define ngx_queue_last(h) \ | |
44 (h)->prev | |
45 | |
46 | |
47 #if (NGX_DEBUG) | |
48 | |
49 #define ngx_queue_remove(x) \ | |
50 (x)->next->prev = (x)->prev; \ | |
51 (x)->prev->next = (x)->next; \ | |
52 (x)->prev = NULL; \ | |
53 (x)->next = NULL | |
54 | |
55 #else | |
56 | |
57 #define ngx_queue_remove(x) \ | |
58 (x)->next->prev = (x)->prev; \ | |
59 (x)->prev->next = (x)->next | |
60 | |
61 #endif | |
62 | |
63 | |
64 #define ngx_queue_data(q, type, link) \ | |
65 (type *) ((u_char *) q - offsetof(type, link)) | |
66 | |
67 | |
68 #endif /* _NGX_QUEUE_H_INCLUDED_ */ |