summaryrefslogtreecommitdiffhomepage
path: root/src/http/ngx_http_request.h
diff options
context:
space:
mode:
authorMaxim Dounin <mdounin@mdounin.ru>2016-10-03 15:58:22 +0300
committerMaxim Dounin <mdounin@mdounin.ru>2016-10-03 15:58:22 +0300
commita7f80ec354dd470a1da09585f8a74dd73d3ce883 (patch)
tree9b8b32260024089b71bb1b289494c81fab66f9c1 /src/http/ngx_http_request.h
parent2641022229fc7375996cfbbe84ec31e27dd376af (diff)
downloadnginx-a7f80ec354dd470a1da09585f8a74dd73d3ce883.tar.gz
nginx-a7f80ec354dd470a1da09585f8a74dd73d3ce883.tar.bz2
Modules compatibility: http2.
HTTP/2-specific fields in structures are now available unconditionally. Removed NGX_HTTP_V2 from the signature accordingly.
Diffstat (limited to '')
-rw-r--r--src/http/ngx_http_request.h4
1 files changed, 0 insertions, 4 deletions
diff --git a/src/http/ngx_http_request.h b/src/http/ngx_http_request.h
index e4a1cf059..ee609adbb 100644
--- a/src/http/ngx_http_request.h
+++ b/src/http/ngx_http_request.h
@@ -286,9 +286,7 @@ typedef struct {
ngx_chain_t *bufs;
ngx_buf_t *buf;
off_t rest;
-#if (NGX_HTTP_V2)
off_t received;
-#endif
ngx_chain_t *free;
ngx_chain_t *busy;
ngx_http_chunked_t *chunked;
@@ -438,9 +436,7 @@ struct ngx_http_request_s {
ngx_uint_t err_status;
ngx_http_connection_t *http_connection;
-#if (NGX_HTTP_V2)
ngx_http_v2_stream_t *stream;
-#endif
ngx_http_log_handler_pt log_handler;