Valentin Bartenev | 2686cb4 | 2013-03-20 10:36:57 +0000 | [diff] [blame] | 1 | |
| 2 | /* |
| 3 | * Copyright (C) Nginx, Inc. |
| 4 | * Copyright (C) Valentin V. Bartenev |
| 5 | */ |
| 6 | |
| 7 | |
| 8 | #ifndef _NGX_HTTP_SPDY_MODULE_H_INCLUDED_ |
| 9 | #define _NGX_HTTP_SPDY_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_spdy_main_conf_t; |
| 21 | |
| 22 | |
| 23 | typedef struct { |
| 24 | size_t pool_size; |
| 25 | ngx_uint_t concurrent_streams; |
| 26 | ngx_uint_t streams_index_mask; |
| 27 | ngx_msec_t recv_timeout; |
| 28 | ngx_msec_t keepalive_timeout; |
| 29 | ngx_int_t headers_comp; |
| 30 | } ngx_http_spdy_srv_conf_t; |
| 31 | |
| 32 | |
Valentin Bartenev | 8323f31 | 2014-01-14 16:24:45 +0400 | [diff] [blame] | 33 | typedef struct { |
| 34 | size_t chunk_size; |
| 35 | } ngx_http_spdy_loc_conf_t; |
| 36 | |
| 37 | |
Valentin Bartenev | 2686cb4 | 2013-03-20 10:36:57 +0000 | [diff] [blame] | 38 | extern ngx_module_t ngx_http_spdy_module; |
| 39 | |
| 40 | |
| 41 | #endif /* _NGX_HTTP_SPDY_MODULE_H_INCLUDED_ */ |