comparison src/http/modules/ngx_http_proxy_module.c @ 252:644510700914 NGINX_0_4_11

nginx 0.4.11 *) Feature: the POP3 proxy supports the AUTH LOGIN PLAIN and CRAM-MD5. *) Feature: the ngx_http_perl_module supports the $r->allow_ranges method. *) Bugfix: if the APOP was enabled in the POP3 proxy, then the USER/PASS commands might not work; bug appeared in 0.4.10.
author Igor Sysoev <http://sysoev.ru>
date Wed, 25 Oct 2006 00:00:00 +0400
parents 500a3242dff6
children 2e9c57a5e50a
comparison
equal deleted inserted replaced
251:16ffa8ae5759 252:644510700914
2103 != NGX_OK) 2103 != NGX_OK)
2104 { 2104 {
2105 return NGX_CONF_ERROR; 2105 return NGX_CONF_ERROR;
2106 } 2106 }
2107 2107
2108
2109 #if 0
2110 conf->headers_set_hash = ngx_pcalloc(cf->pool, sizeof(ngx_hash0_t));
2111 if (conf->headers_set_hash == NULL) {
2112 return NGX_CONF_ERROR;
2113 }
2114
2115 conf->headers_set_hash->max_size = 100;
2116 conf->headers_set_hash->bucket_limit = 1;
2117 conf->headers_set_hash->bucket_size = sizeof(ngx_str_t);
2118 conf->headers_set_hash->name = "proxy_headers";
2119
2120 if (ngx_hash0_init(conf->headers_set_hash, cf->pool,
2121 conf->headers_names->elts, conf->headers_names->nelts)
2122 != NGX_OK)
2123 {
2124 return NGX_CONF_ERROR;
2125 }
2126
2127 ngx_log_debug2(NGX_LOG_DEBUG_HTTP, cf->log, 0,
2128 "proxy_headers hash size: %ui, "
2129 "max buckets per entry: %ui",
2130 conf->headers_set_hash->hash_size,
2131 conf->headers_set_hash->min_buckets);
2132 #endif
2133
2134 return NGX_CONF_OK; 2108 return NGX_CONF_OK;
2135 } 2109 }
2136 2110
2137 2111
2138 static char * 2112 static char *