comparison src/http/ngx_http.h @ 6718:bdf64ae3376b

Modules compatibility: http2. HTTP/2-specific fields in structures are now available unconditionally. Removed NGX_HTTP_V2 from the signature accordingly.
author Maxim Dounin <mdounin@mdounin.ru>
date Mon, 03 Oct 2016 15:58:22 +0300
parents 257b51c37c5a
children be2af41d3620
comparison
equal deleted inserted replaced
6717:3b522d7a5b34 6718:bdf64ae3376b
17 typedef struct ngx_http_upstream_s ngx_http_upstream_t; 17 typedef struct ngx_http_upstream_s ngx_http_upstream_t;
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
23 #if (NGX_HTTP_V2)
24 typedef struct ngx_http_v2_stream_s ngx_http_v2_stream_t; 22 typedef struct ngx_http_v2_stream_s ngx_http_v2_stream_t;
25 #endif
26 23
27 typedef ngx_int_t (*ngx_http_header_handler_pt)(ngx_http_request_t *r, 24 typedef ngx_int_t (*ngx_http_header_handler_pt)(ngx_http_request_t *r,
28 ngx_table_elt_t *h, ngx_uint_t offset); 25 ngx_table_elt_t *h, ngx_uint_t offset);
29 typedef u_char *(*ngx_http_log_handler_pt)(ngx_http_request_t *r, 26 typedef u_char *(*ngx_http_log_handler_pt)(ngx_http_request_t *r,
30 ngx_http_request_t *sr, u_char *buf, size_t len); 27 ngx_http_request_t *sr, u_char *buf, size_t len);