comparison src/http/v2/ngx_http_v2.h @ 6497:9d66d7ed2abb

HTTP/2: support for unbuffered upload of request body.
author Valentin Bartenev <vbart@nginx.com>
date Fri, 01 Apr 2016 15:57:10 +0300
parents 887cca40ba6a
children 0aa07850922f
comparison
equal deleted inserted replaced
6496:887cca40ba6a 6497:9d66d7ed2abb
258 void ngx_http_v2_init(ngx_event_t *rev); 258 void ngx_http_v2_init(ngx_event_t *rev);
259 void ngx_http_v2_request_headers_init(void); 259 void ngx_http_v2_request_headers_init(void);
260 260
261 ngx_int_t ngx_http_v2_read_request_body(ngx_http_request_t *r, 261 ngx_int_t ngx_http_v2_read_request_body(ngx_http_request_t *r,
262 ngx_http_client_body_handler_pt post_handler); 262 ngx_http_client_body_handler_pt post_handler);
263 ngx_int_t ngx_http_v2_read_unbuffered_request_body(ngx_http_request_t *r);
263 264
264 void ngx_http_v2_close_stream(ngx_http_v2_stream_t *stream, ngx_int_t rc); 265 void ngx_http_v2_close_stream(ngx_http_v2_stream_t *stream, ngx_int_t rc);
265 266
266 ngx_int_t ngx_http_v2_send_output_queue(ngx_http_v2_connection_t *h2c); 267 ngx_int_t ngx_http_v2_send_output_queue(ngx_http_v2_connection_t *h2c);
267 268