mirror of
https://github.com/nginx/nginx.git
synced 2025-01-05 21:53:01 -06:00
update debug logging
This commit is contained in:
parent
b47aed9005
commit
ca824f3cfa
@ -88,6 +88,10 @@ ngx_hash_find_wc_head(ngx_hash_wildcard_t *hwc, u_char *name, size_t len)
|
|||||||
|
|
||||||
value = ngx_hash_find(&hwc->hash, key, &name[n], len - n);
|
value = ngx_hash_find(&hwc->hash, key, &name[n], len - n);
|
||||||
|
|
||||||
|
#if 0
|
||||||
|
ngx_log_error(NGX_LOG_ALERT, ngx_cycle->log, 0, "value:\"%p\"", value);
|
||||||
|
#endif
|
||||||
|
|
||||||
if (value) {
|
if (value) {
|
||||||
|
|
||||||
/*
|
/*
|
||||||
@ -569,10 +573,6 @@ ngx_hash_wildcard_init(ngx_hash_init_t *hinit, ngx_hash_key_t *names,
|
|||||||
|
|
||||||
if (names[n].key.len == len) {
|
if (names[n].key.len == len) {
|
||||||
wdc->value = names[n].value;
|
wdc->value = names[n].value;
|
||||||
#if 0
|
|
||||||
ngx_log_error(NGX_LOG_ALERT, hinit->pool->log, 0,
|
|
||||||
"wdc: \"%V\"", wdc->value);
|
|
||||||
#endif
|
|
||||||
}
|
}
|
||||||
|
|
||||||
name->value = (void *) ((uintptr_t) wdc | (dot ? 1 : 3));
|
name->value = (void *) ((uintptr_t) wdc | (dot ? 1 : 3));
|
||||||
|
Loading…
Reference in New Issue
Block a user