aboutsummaryrefslogtreecommitdiff
path: root/src/http/ngx_http_request.h
diff options
context:
space:
mode:
authorValentin Bartenev <vbart@nginx.com>2015-09-11 20:13:06 +0300
committerValentin Bartenev <vbart@nginx.com>2015-09-11 20:13:06 +0300
commitee37ff613fe2a746e23040a7a8aba64063123175 (patch)
tree1277a631ca6e5d1581cb366afd63bbb474ab1c46 /src/http/ngx_http_request.h
parent2c9691431229bfe33e81c5a03a70792548b28e22 (diff)
downloadnginx-ee37ff613fe2a746e23040a7a8aba64063123175.tar.gz
nginx-ee37ff613fe2a746e23040a7a8aba64063123175.zip
The HTTP/2 implementation (RFC 7240, 7241).
The SPDY support is removed, as it's incompatible with the new module.
Diffstat (limited to 'src/http/ngx_http_request.h')
-rw-r--r--src/http/ngx_http_request.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/http/ngx_http_request.h b/src/http/ngx_http_request.h
index eac8b6d0b..967032aa1 100644
--- a/src/http/ngx_http_request.h
+++ b/src/http/ngx_http_request.h
@@ -23,6 +23,7 @@
#define NGX_HTTP_VERSION_9 9
#define NGX_HTTP_VERSION_10 1000
#define NGX_HTTP_VERSION_11 1001
+#define NGX_HTTP_VERSION_20 2000
#define NGX_HTTP_UNKNOWN 0x0001
#define NGX_HTTP_GET 0x0002
@@ -431,8 +432,8 @@ struct ngx_http_request_s {
ngx_uint_t err_status;
ngx_http_connection_t *http_connection;
-#if (NGX_HTTP_SPDY)
- ngx_http_spdy_stream_t *spdy_stream;
+#if (NGX_HTTP_V2)
+ ngx_http_v2_stream_t *stream;
#endif
ngx_http_log_handler_pt log_handler;