Mercurial > hg > nginx
comparison src/http/ngx_http.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 | 8b6fa4842133 |
children | bdf64ae3376b |
comparison
equal
deleted
inserted
replaced
6245:3cf25d33886a | 6246:257b51c37c5a |
---|---|
18 typedef struct ngx_http_cache_s ngx_http_cache_t; | 18 typedef struct ngx_http_cache_s ngx_http_cache_t; |
19 typedef struct ngx_http_file_cache_s ngx_http_file_cache_t; | 19 typedef struct ngx_http_file_cache_s ngx_http_file_cache_t; |
20 typedef struct ngx_http_log_ctx_s ngx_http_log_ctx_t; | 20 typedef struct ngx_http_log_ctx_s ngx_http_log_ctx_t; |
21 typedef struct ngx_http_chunked_s ngx_http_chunked_t; | 21 typedef struct ngx_http_chunked_s ngx_http_chunked_t; |
22 | 22 |
23 #if (NGX_HTTP_SPDY) | 23 #if (NGX_HTTP_V2) |
24 typedef struct ngx_http_spdy_stream_s ngx_http_spdy_stream_t; | 24 typedef struct ngx_http_v2_stream_s ngx_http_v2_stream_t; |
25 #endif | 25 #endif |
26 | 26 |
27 typedef ngx_int_t (*ngx_http_header_handler_pt)(ngx_http_request_t *r, | 27 typedef ngx_int_t (*ngx_http_header_handler_pt)(ngx_http_request_t *r, |
28 ngx_table_elt_t *h, ngx_uint_t offset); | 28 ngx_table_elt_t *h, ngx_uint_t offset); |
29 typedef u_char *(*ngx_http_log_handler_pt)(ngx_http_request_t *r, | 29 typedef u_char *(*ngx_http_log_handler_pt)(ngx_http_request_t *r, |
36 #include <ngx_http_script.h> | 36 #include <ngx_http_script.h> |
37 #include <ngx_http_upstream.h> | 37 #include <ngx_http_upstream.h> |
38 #include <ngx_http_upstream_round_robin.h> | 38 #include <ngx_http_upstream_round_robin.h> |
39 #include <ngx_http_core_module.h> | 39 #include <ngx_http_core_module.h> |
40 | 40 |
41 #if (NGX_HTTP_SPDY) | 41 #if (NGX_HTTP_V2) |
42 #include <ngx_http_spdy.h> | 42 #include <ngx_http_v2.h> |
43 #endif | 43 #endif |
44 #if (NGX_HTTP_CACHE) | 44 #if (NGX_HTTP_CACHE) |
45 #include <ngx_http_cache.h> | 45 #include <ngx_http_cache.h> |
46 #endif | 46 #endif |
47 #if (NGX_HTTP_SSI) | 47 #if (NGX_HTTP_SSI) |