Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nginx/nginx.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorIgor Sysoev <igor@sysoev.ru>2008-05-22 11:10:36 +0400
committerIgor Sysoev <igor@sysoev.ru>2008-05-22 11:10:36 +0400
commitf3be0b33c2516192f0352c65c6d5ea127231c894 (patch)
treeb3a5c7afe20d05f8c4b95f56c61dd71271576dd5 /src
parentcdd4354b496df873504c5500501542c6dfa49c07 (diff)
delete outdated debug logging that only causes segfault if enabled
Diffstat (limited to 'src')
-rw-r--r--src/http/ngx_http.c27
1 files changed, 0 insertions, 27 deletions
diff --git a/src/http/ngx_http.c b/src/http/ngx_http.c
index 3ef1dcbc8..043e96d45 100644
--- a/src/http/ngx_http.c
+++ b/src/http/ngx_http.c
@@ -928,33 +928,6 @@ ngx_http_block(ngx_conf_t *cf, ngx_command_t *cmd, void *conf)
}
}
-#if 0
- {
- u_char address[20];
- ngx_uint_t p, a;
-
- in_port = in_ports.elts;
- for (p = 0; p < in_ports.nelts; p++) {
- ngx_log_debug2(NGX_LOG_DEBUG_HTTP, cf->log, 0,
- "port: %d %p", in_port[p].port, &in_port[p]);
- in_addr = in_port[p].addrs.elts;
- for (a = 0; a < in_port[p].addrs.nelts; a++) {
- ngx_inet_ntop(AF_INET, &in_addr[a].addr, address, 20);
- ngx_log_debug3(NGX_LOG_DEBUG_HTTP, cf->log, 0,
- "%s:%d %p",
- address, in_port[p].port, in_addr[a].core_srv_conf);
- name = in_addr[a].names.elts;
- for (n = 0; n < in_addr[a].names.nelts; n++) {
- ngx_log_debug4(NGX_LOG_DEBUG_HTTP, cf->log, 0,
- "%s:%d %V %p",
- address, in_port[p].port, &name[n].name,
- name[n].core_srv_conf);
- }
- }
- }
- }
-#endif
-
return NGX_CONF_OK;
}