Mercurial > hg > nginx
comparison src/http/modules/ngx_http_stub_status_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 | 63a820b0bc6c |
children | aabbf66b61ea |
comparison
equal
deleted
inserted
replaced
1369:6254b90eea4b | 1370:cc114c85be0f |
---|---|
67 | 67 |
68 if (r->method != NGX_HTTP_GET && r->method != NGX_HTTP_HEAD) { | 68 if (r->method != NGX_HTTP_GET && r->method != NGX_HTTP_HEAD) { |
69 return NGX_HTTP_NOT_ALLOWED; | 69 return NGX_HTTP_NOT_ALLOWED; |
70 } | 70 } |
71 | 71 |
72 rc = ngx_http_discard_body(r); | 72 rc = ngx_http_discard_request_body(r); |
73 | 73 |
74 if (rc != NGX_OK && rc != NGX_AGAIN) { | 74 if (rc != NGX_OK && rc != NGX_AGAIN) { |
75 return rc; | 75 return rc; |
76 } | 76 } |
77 | 77 |