summaryrefslogtreecommitdiff
path: root/src/http/ngx_http.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.h
parent2641022229fc7375996cfbbe84ec31e27dd376af (diff)
downloadnginx-a7f80ec354dd470a1da09585f8a74dd73d3ce883.tar.gz
Modules compatibility: http2.
HTTP/2-specific fields in structures are now available unconditionally. Removed NGX_HTTP_V2 from the signature accordingly.
Diffstat (limited to 'src/http/ngx_http.h')
-rw-r--r--src/http/ngx_http.h3
1 files changed, 0 insertions, 3 deletions
diff --git a/src/http/ngx_http.h b/src/http/ngx_http.h
index 19cb680c8..afab4f645 100644
--- a/src/http/ngx_http.h
+++ b/src/http/ngx_http.h
@@ -19,10 +19,7 @@ typedef struct ngx_http_cache_s ngx_http_cache_t;
typedef struct ngx_http_file_cache_s ngx_http_file_cache_t;
typedef struct ngx_http_log_ctx_s ngx_http_log_ctx_t;
typedef struct ngx_http_chunked_s ngx_http_chunked_t;
-
-#if (NGX_HTTP_V2)
typedef struct ngx_http_v2_stream_s ngx_http_v2_stream_t;
-#endif
typedef ngx_int_t (*ngx_http_header_handler_pt)(ngx_http_request_t *r,
ngx_table_elt_t *h, ngx_uint_t offset);