comparison src/http/ngx_http.h @ 3214:798a7f1d3b2f

restore discard body handler after ngx_http_set_writer() set it to ngx_http_test_reading(), the bug was introduced in r3050
author Igor Sysoev <igor@sysoev.ru>
date Mon, 19 Oct 2009 16:12:13 +0000
parents 23e6f26fb4bd
children a22bf524a456
comparison
equal deleted inserted replaced
3213:7fc06314c684 3214:798a7f1d3b2f
116 size_t ngx_http_get_time(char *buf, time_t t); 116 size_t ngx_http_get_time(char *buf, time_t t);
117 117
118 118
119 119
120 ngx_int_t ngx_http_discard_request_body(ngx_http_request_t *r); 120 ngx_int_t ngx_http_discard_request_body(ngx_http_request_t *r);
121 void ngx_http_discarded_request_body_handler(ngx_http_request_t *r);
121 void ngx_http_block_reading(ngx_http_request_t *r); 122 void ngx_http_block_reading(ngx_http_request_t *r);
122 void ngx_http_test_reading(ngx_http_request_t *r); 123 void ngx_http_test_reading(ngx_http_request_t *r);
123 124
124 125
125 char *ngx_http_types_slot(ngx_conf_t *cf, ngx_command_t *cmd, void *conf); 126 char *ngx_http_types_slot(ngx_conf_t *cf, ngx_command_t *cmd, void *conf);