comparison src/http/modules/ngx_http_empty_gif_module.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 c136df6c5ff0
children aabbf66b61ea
comparison
equal deleted inserted replaced
1369:6254b90eea4b 1370:cc114c85be0f
114 114
115 if (!(r->method & (NGX_HTTP_GET|NGX_HTTP_HEAD))) { 115 if (!(r->method & (NGX_HTTP_GET|NGX_HTTP_HEAD))) {
116 return NGX_HTTP_NOT_ALLOWED; 116 return NGX_HTTP_NOT_ALLOWED;
117 } 117 }
118 118
119 rc = ngx_http_discard_body(r); 119 rc = ngx_http_discard_request_body(r);
120 120
121 if (rc != NGX_OK && rc != NGX_AGAIN) { 121 if (rc != NGX_OK && rc != NGX_AGAIN) {
122 return rc; 122 return rc;
123 } 123 }
124 124