comparison src/http/ngx_http_upstream.c @ 589:d4e858a5751a release-0.3.16

nginx-0.3.16-RELEASE import *) Feature: the ngx_http_map_module. *) Feature: the "types_hash_max_size" and "types_hash_bucket_size" directives. *) Feature: the "ssi_value_length" directive. *) Feature: the "worker_rlimit_core" directive. *) Workaround: the connection number in logs was always 1 if nginx was built by the icc 8.1 or 9.0 compilers with optimization for Pentium 4. *) Bugfix: the "config timefmt" SSI command set incorrect time format. *) Bugfix: nginx did not close connection to IMAP/POP3 backend for the SSL connections; the bug had appeared in 0.3.13. Thanks to Rob Mueller. *) Bugfix: segmentation fault may occurred in at SSL shutdown; the bug had appeared in 0.3.13.
author Igor Sysoev <igor@sysoev.ru>
date Fri, 16 Dec 2005 15:07:08 +0000
parents 4e296b7d25bf
children 8c0cdd81580e
comparison
equal deleted inserted replaced
588:0a2c30f516e6 589:d4e858a5751a
2539 umcf->headers_in_hash.max_size = 100; 2539 umcf->headers_in_hash.max_size = 100;
2540 umcf->headers_in_hash.bucket_limit = 1; 2540 umcf->headers_in_hash.bucket_limit = 1;
2541 umcf->headers_in_hash.bucket_size = sizeof(ngx_http_upstream_header_t); 2541 umcf->headers_in_hash.bucket_size = sizeof(ngx_http_upstream_header_t);
2542 umcf->headers_in_hash.name = "upstream_headers_in"; 2542 umcf->headers_in_hash.name = "upstream_headers_in";
2543 2543
2544 if (ngx_hash_init(&umcf->headers_in_hash, cf->pool, 2544 if (ngx_hash0_init(&umcf->headers_in_hash, cf->pool,
2545 ngx_http_upstream_headers_in, 0) != NGX_OK) 2545 ngx_http_upstream_headers_in, 0) != NGX_OK)
2546 { 2546 {
2547 return NGX_CONF_ERROR; 2547 return NGX_CONF_ERROR;
2548 } 2548 }
2549 2549