comparison src/http/ngx_http_special_response.c @ 1370:cc114c85be0f

rename ngx_http_discard_body() to ngx_http_discard_request_body()
author Igor Sysoev <igor@sysoev.ru>
date Mon, 06 Aug 2007 15:37:22 +0000
parents 7443fbe0b013
children 128ea9efb824
comparison
equal deleted inserted replaced
1369:6254b90eea4b 1370:cc114c85be0f
325 ngx_http_core_loc_conf_t *clcf; 325 ngx_http_core_loc_conf_t *clcf;
326 326
327 ngx_log_debug2(NGX_LOG_DEBUG_HTTP, r->connection->log, 0, 327 ngx_log_debug2(NGX_LOG_DEBUG_HTTP, r->connection->log, 0,
328 "http special response: %d, \"%V\"", error, &r->uri); 328 "http special response: %d, \"%V\"", error, &r->uri);
329 329
330 rc = ngx_http_discard_body(r); 330 rc = ngx_http_discard_request_body(r);
331 331
332 if (rc == NGX_HTTP_INTERNAL_SERVER_ERROR) { 332 if (rc == NGX_HTTP_INTERNAL_SERVER_ERROR) {
333 error = NGX_HTTP_INTERNAL_SERVER_ERROR; 333 error = NGX_HTTP_INTERNAL_SERVER_ERROR;
334 } 334 }
335 335