comparison src/http/ngx_http_request.h @ 6246:257b51c37c5a

The HTTP/2 implementation (RFC 7240, 7241). The SPDY support is removed, as it's incompatible with the new module.
author Valentin Bartenev <vbart@nginx.com>
date Fri, 11 Sep 2015 20:13:06 +0300
parents 281863981d0b
children 29f35e60840b
comparison
equal deleted inserted replaced
6245:3cf25d33886a 6246:257b51c37c5a
21 21
22 22
23 #define NGX_HTTP_VERSION_9 9 23 #define NGX_HTTP_VERSION_9 9
24 #define NGX_HTTP_VERSION_10 1000 24 #define NGX_HTTP_VERSION_10 1000
25 #define NGX_HTTP_VERSION_11 1001 25 #define NGX_HTTP_VERSION_11 1001
26 #define NGX_HTTP_VERSION_20 2000
26 27
27 #define NGX_HTTP_UNKNOWN 0x0001 28 #define NGX_HTTP_UNKNOWN 0x0001
28 #define NGX_HTTP_GET 0x0002 29 #define NGX_HTTP_GET 0x0002
29 #define NGX_HTTP_HEAD 0x0004 30 #define NGX_HTTP_HEAD 0x0004
30 #define NGX_HTTP_POST 0x0008 31 #define NGX_HTTP_POST 0x0008
429 off_t request_length; 430 off_t request_length;
430 431
431 ngx_uint_t err_status; 432 ngx_uint_t err_status;
432 433
433 ngx_http_connection_t *http_connection; 434 ngx_http_connection_t *http_connection;
434 #if (NGX_HTTP_SPDY) 435 #if (NGX_HTTP_V2)
435 ngx_http_spdy_stream_t *spdy_stream; 436 ngx_http_v2_stream_t *stream;
436 #endif 437 #endif
437 438
438 ngx_http_log_handler_pt log_handler; 439 ngx_http_log_handler_pt log_handler;
439 440
440 ngx_http_cleanup_t *cleanup; 441 ngx_http_cleanup_t *cleanup;