Mercurial > hg > nginx
comparison src/http/v2/ngx_http_v2_module.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 | |
children | ce94f07d5082 |
comparison
equal
deleted
inserted
replaced
6245:3cf25d33886a | 6246:257b51c37c5a |
---|---|
1 | |
2 /* | |
3 * Copyright (C) Nginx, Inc. | |
4 * Copyright (C) Valentin V. Bartenev | |
5 */ | |
6 | |
7 | |
8 #ifndef _NGX_HTTP_V2_MODULE_H_INCLUDED_ | |
9 #define _NGX_HTTP_V2_MODULE_H_INCLUDED_ | |
10 | |
11 | |
12 #include <ngx_config.h> | |
13 #include <ngx_core.h> | |
14 #include <ngx_http.h> | |
15 | |
16 | |
17 typedef struct { | |
18 size_t recv_buffer_size; | |
19 u_char *recv_buffer; | |
20 } ngx_http_v2_main_conf_t; | |
21 | |
22 | |
23 typedef struct { | |
24 size_t pool_size; | |
25 ngx_uint_t concurrent_streams; | |
26 size_t max_field_size; | |
27 size_t max_header_size; | |
28 ngx_uint_t streams_index_mask; | |
29 ngx_msec_t recv_timeout; | |
30 ngx_msec_t idle_timeout; | |
31 } ngx_http_v2_srv_conf_t; | |
32 | |
33 | |
34 typedef struct { | |
35 size_t chunk_size; | |
36 } ngx_http_v2_loc_conf_t; | |
37 | |
38 | |
39 extern ngx_module_t ngx_http_v2_module; | |
40 | |
41 | |
42 #endif /* _NGX_HTTP_V2_MODULE_H_INCLUDED_ */ |