diff options
| author | Valentin Bartenev <vbart@nginx.com> | 2017-04-24 14:17:13 +0300 |
|---|---|---|
| committer | Valentin Bartenev <vbart@nginx.com> | 2017-04-24 14:17:13 +0300 |
| commit | 55b37eff8f700ea1dd279368d5a4a7b00f3c1344 (patch) | |
| tree | 652b05a1c5092b7817fe206db3d7cb7b1bf00559 /src/http/v2/ngx_http_v2.h | |
| parent | d35c83a3250bedaa85971ddf2cfcd9b703a256ea (diff) | |
| download | nginx-55b37eff8f700ea1dd279368d5a4a7b00f3c1344.tar.gz nginx-55b37eff8f700ea1dd279368d5a4a7b00f3c1344.tar.bz2 | |
HTTP/2: reduced difference to HTTP/1.x in reading request body.
Particularly, this eliminates difference in behavior for requests without body
and deduplicates code.
Prodded by Piotr Sikora.
Diffstat (limited to 'src/http/v2/ngx_http_v2.h')
| -rw-r--r-- | src/http/v2/ngx_http_v2.h | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/http/v2/ngx_http_v2.h b/src/http/v2/ngx_http_v2.h index 7d2a2ea0f..be34a0933 100644 --- a/src/http/v2/ngx_http_v2.h +++ b/src/http/v2/ngx_http_v2.h @@ -264,8 +264,7 @@ ngx_http_v2_queue_blocked_frame(ngx_http_v2_connection_t *h2c, void ngx_http_v2_init(ngx_event_t *rev); void ngx_http_v2_request_headers_init(void); -ngx_int_t ngx_http_v2_read_request_body(ngx_http_request_t *r, - ngx_http_client_body_handler_pt post_handler); +ngx_int_t ngx_http_v2_read_request_body(ngx_http_request_t *r); ngx_int_t ngx_http_v2_read_unbuffered_request_body(ngx_http_request_t *r); void ngx_http_v2_close_stream(ngx_http_v2_stream_t *stream, ngx_int_t rc); |
