Mercurial > hg > nginx
annotate src/core/ngx_hash.h @ 563:9c2f3ed7a247 release-0.3.3
nginx-0.3.3-RELEASE import
*) Change: the "bl" and "af" parameters of the "listen" directive was
renamed to the "backlog" and "accept_filter".
*) Feature: the "rcvbuf" and "sndbuf" parameters of the "listen"
directive.
*) Change: the "$msec" log parameter does not require now the
additional the gettimeofday() system call.
*) Feature: the -t switch now tests the "listen" directives.
*) Bugfix: if the invalid address was specified in the "listen"
directive, then after the -HUP signal nginx left an open socket in
the CLOSED state.
*) Bugfix: the mime type may be incorrectly set to default value for
index file with variable in the name; the bug had appeared in 0.3.0.
*) Feature: the "timer_resolution" directive.
*) Feature: the millisecond "$upstream_response_time" log parameter.
*) Bugfix: a temporary file with client request body now is removed
just after the response header was transferred to a client.
*) Bugfix: OpenSSL 0.9.6 compatibility.
*) Bugfix: the SSL certificate and key file paths could not be relative.
*) Bugfix: the "ssl_prefer_server_ciphers" directive did not work in
the ngx_imap_ssl_module.
*) Bugfix: the "ssl_protocols" directive allowed to specify the single
protocol only.
author | Igor Sysoev <igor@sysoev.ru> |
---|---|
date | Wed, 19 Oct 2005 12:33:58 +0000 |
parents | 9b8c906f6e63 |
children | d4e858a5751a |
rev | line source |
---|---|
507 | 1 |
2 /* | |
3 * Copyright (C) Igor Sysoev | |
4 */ | |
5 | |
6 | |
7 #ifndef _NGX_HASH_H_INCLUDED_ | |
8 #define _NGX_HASH_H_INCLUDED_ | |
9 | |
10 | |
11 #include <ngx_config.h> | |
12 #include <ngx_core.h> | |
13 | |
14 | |
15 typedef struct { | |
16 void **buckets; | |
17 ngx_uint_t hash_size; | |
18 | |
19 ngx_uint_t max_size; | |
20 ngx_uint_t bucket_limit; | |
21 size_t bucket_size; | |
22 char *name; | |
23 ngx_uint_t min_buckets; | |
24 } ngx_hash_t; | |
25 | |
26 | |
27 typedef struct { | |
28 ngx_uint_t hash; | |
29 ngx_str_t key; | |
30 ngx_str_t value; | |
31 } ngx_table_elt_t; | |
32 | |
33 | |
509 | 34 ngx_int_t ngx_hash_init(ngx_hash_t *hash, ngx_pool_t *pool, void *names, |
35 ngx_uint_t nelts); | |
507 | 36 |
37 | |
38 #endif /* _NGX_HASH_H_INCLUDED_ */ |