comparison src/http/ngx_http_special_response.c @ 2037:aee889ff25ea

fix debug logging
author Igor Sysoev <igor@sysoev.ru>
date Mon, 26 May 2008 18:49:36 +0000
parents 7018254cc006
children eba265857dc2
comparison
equal deleted inserted replaced
2036:1c009c5a163b 2037:aee889ff25ea
331 ngx_uint_t i, err; 331 ngx_uint_t i, err;
332 ngx_http_err_page_t *err_page; 332 ngx_http_err_page_t *err_page;
333 ngx_http_core_loc_conf_t *clcf; 333 ngx_http_core_loc_conf_t *clcf;
334 334
335 ngx_log_debug2(NGX_LOG_DEBUG_HTTP, r->connection->log, 0, 335 ngx_log_debug2(NGX_LOG_DEBUG_HTTP, r->connection->log, 0,
336 "http special response: %d, \"%V\"", error, &r->uri); 336 "http special response: %d, \"%V?%V\"",
337 error, &r->uri, &r->args);
337 338
338 rc = ngx_http_discard_request_body(r); 339 rc = ngx_http_discard_request_body(r);
339 340
340 if (rc == NGX_HTTP_INTERNAL_SERVER_ERROR) { 341 if (rc == NGX_HTTP_INTERNAL_SERVER_ERROR) {
341 error = NGX_HTTP_INTERNAL_SERVER_ERROR; 342 error = NGX_HTTP_INTERNAL_SERVER_ERROR;