mirror of
https://github.com/nginx/nginx.git
synced 2025-06-10 11:38:36 +08:00
use local variable and fix debug log message
This commit is contained in:
parent
61b09e59d7
commit
d11fa717f0
@ -89,7 +89,7 @@ ngx_http_copy_filter(ngx_http_request_t *r, ngx_chain_t *in)
|
|||||||
}
|
}
|
||||||
|
|
||||||
ngx_log_debug2(NGX_LOG_DEBUG_HTTP, c->log, 0,
|
ngx_log_debug2(NGX_LOG_DEBUG_HTTP, c->log, 0,
|
||||||
"copy filter: \"%V?%V\"", &r->uri, &r->args);
|
"http copy filter: \"%V?%V\"", &r->uri, &r->args);
|
||||||
|
|
||||||
ctx = ngx_http_get_module_ctx(r, ngx_http_copy_filter_module);
|
ctx = ngx_http_get_module_ctx(r, ngx_http_copy_filter_module);
|
||||||
|
|
||||||
@ -136,8 +136,8 @@ ngx_http_copy_filter(ngx_http_request_t *r, ngx_chain_t *in)
|
|||||||
r->buffered |= NGX_HTTP_COPY_BUFFERED;
|
r->buffered |= NGX_HTTP_COPY_BUFFERED;
|
||||||
}
|
}
|
||||||
|
|
||||||
ngx_log_debug3(NGX_LOG_DEBUG_HTTP, r->connection->log, 0,
|
ngx_log_debug3(NGX_LOG_DEBUG_HTTP, c->log, 0,
|
||||||
"copy filter: %i \"%V?%V\"", rc, &r->uri, &r->args);
|
"http copy filter: %i \"%V?%V\"", rc, &r->uri, &r->args);
|
||||||
|
|
||||||
return rc;
|
return rc;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user