blob: 5242322b3d663c31d0d83088f297a6dba195d4a6 [file] [log] [blame]
Valentin Bartenev2686cb42013-03-20 10:36:57 +00001
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
17typedef struct {
18 size_t recv_buffer_size;
19 u_char *recv_buffer;
20} ngx_http_spdy_main_conf_t;
21
22
23typedef 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 Bartenev8323f312014-01-14 16:24:45 +040033typedef struct {
34 size_t chunk_size;
35} ngx_http_spdy_loc_conf_t;
36
37
Valentin Bartenev2686cb42013-03-20 10:36:57 +000038extern ngx_module_t ngx_http_spdy_module;
39
40
41#endif /* _NGX_HTTP_SPDY_MODULE_H_INCLUDED_ */