diff 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
line wrap: on
line diff
--- a/src/http/modules/ngx_http_proxy_module.c
+++ b/src/http/modules/ngx_http_proxy_module.c
@@ -2105,32 +2105,6 @@ peers:
         return NGX_CONF_ERROR;
     }
 
-
-#if 0
-    conf->headers_set_hash = ngx_pcalloc(cf->pool, sizeof(ngx_hash0_t));
-    if (conf->headers_set_hash == NULL) {
-        return NGX_CONF_ERROR;
-    }
-
-    conf->headers_set_hash->max_size = 100;
-    conf->headers_set_hash->bucket_limit = 1;
-    conf->headers_set_hash->bucket_size = sizeof(ngx_str_t);
-    conf->headers_set_hash->name = "proxy_headers";
-
-    if (ngx_hash0_init(conf->headers_set_hash, cf->pool,
-                       conf->headers_names->elts, conf->headers_names->nelts)
-        != NGX_OK)
-    {
-        return NGX_CONF_ERROR;
-    }
-
-    ngx_log_debug2(NGX_LOG_DEBUG_HTTP, cf->log, 0,
-                   "proxy_headers hash size: %ui, "
-                   "max buckets per entry: %ui",
-                   conf->headers_set_hash->hash_size,
-                   conf->headers_set_hash->min_buckets);
-#endif
-
     return NGX_CONF_OK;
 }