Mercurial > hg > nginx
comparison src/http/ngx_http_request.h @ 6718:bdf64ae3376b
Modules compatibility: http2.
HTTP/2-specific fields in structures are now available unconditionally.
Removed NGX_HTTP_V2 from the signature accordingly.
author | Maxim Dounin <mdounin@mdounin.ru> |
---|---|
date | Mon, 03 Oct 2016 15:58:22 +0300 |
parents | 90a03b1dc4db |
children | e38e9c50a40e |
comparison
equal
deleted
inserted
replaced
6717:3b522d7a5b34 | 6718:bdf64ae3376b |
---|---|
284 typedef struct { | 284 typedef struct { |
285 ngx_temp_file_t *temp_file; | 285 ngx_temp_file_t *temp_file; |
286 ngx_chain_t *bufs; | 286 ngx_chain_t *bufs; |
287 ngx_buf_t *buf; | 287 ngx_buf_t *buf; |
288 off_t rest; | 288 off_t rest; |
289 #if (NGX_HTTP_V2) | |
290 off_t received; | 289 off_t received; |
291 #endif | |
292 ngx_chain_t *free; | 290 ngx_chain_t *free; |
293 ngx_chain_t *busy; | 291 ngx_chain_t *busy; |
294 ngx_http_chunked_t *chunked; | 292 ngx_http_chunked_t *chunked; |
295 ngx_http_client_body_handler_pt post_handler; | 293 ngx_http_client_body_handler_pt post_handler; |
296 } ngx_http_request_body_t; | 294 } ngx_http_request_body_t; |
436 off_t request_length; | 434 off_t request_length; |
437 | 435 |
438 ngx_uint_t err_status; | 436 ngx_uint_t err_status; |
439 | 437 |
440 ngx_http_connection_t *http_connection; | 438 ngx_http_connection_t *http_connection; |
441 #if (NGX_HTTP_V2) | |
442 ngx_http_v2_stream_t *stream; | 439 ngx_http_v2_stream_t *stream; |
443 #endif | |
444 | 440 |
445 ngx_http_log_handler_pt log_handler; | 441 ngx_http_log_handler_pt log_handler; |
446 | 442 |
447 ngx_http_cleanup_t *cleanup; | 443 ngx_http_cleanup_t *cleanup; |
448 | 444 |