Mercurial > hg > nginx
comparison src/http/ngx_http.c @ 2020:248a376403b0
delete outdated debug logging that only causes segfault if enabled
author | Igor Sysoev <igor@sysoev.ru> |
---|---|
date | Thu, 22 May 2008 07:10:36 +0000 |
parents | cb8c0c8e0c27 |
children | 2022e71d26d2 |
comparison
equal
deleted
inserted
replaced
2019:e720be7bc195 | 2020:248a376403b0 |
---|---|
926 | 926 |
927 a = 0; | 927 a = 0; |
928 } | 928 } |
929 } | 929 } |
930 | 930 |
931 #if 0 | |
932 { | |
933 u_char address[20]; | |
934 ngx_uint_t p, a; | |
935 | |
936 in_port = in_ports.elts; | |
937 for (p = 0; p < in_ports.nelts; p++) { | |
938 ngx_log_debug2(NGX_LOG_DEBUG_HTTP, cf->log, 0, | |
939 "port: %d %p", in_port[p].port, &in_port[p]); | |
940 in_addr = in_port[p].addrs.elts; | |
941 for (a = 0; a < in_port[p].addrs.nelts; a++) { | |
942 ngx_inet_ntop(AF_INET, &in_addr[a].addr, address, 20); | |
943 ngx_log_debug3(NGX_LOG_DEBUG_HTTP, cf->log, 0, | |
944 "%s:%d %p", | |
945 address, in_port[p].port, in_addr[a].core_srv_conf); | |
946 name = in_addr[a].names.elts; | |
947 for (n = 0; n < in_addr[a].names.nelts; n++) { | |
948 ngx_log_debug4(NGX_LOG_DEBUG_HTTP, cf->log, 0, | |
949 "%s:%d %V %p", | |
950 address, in_port[p].port, &name[n].name, | |
951 name[n].core_srv_conf); | |
952 } | |
953 } | |
954 } | |
955 } | |
956 #endif | |
957 | |
958 return NGX_CONF_OK; | 931 return NGX_CONF_OK; |
959 } | 932 } |
960 | 933 |
961 | 934 |
962 /* | 935 /* |