comparison src/http/ngx_http_spdy_module.h @ 5121:c0f7b94e88ba

Preliminary experimental support for SPDY draft 2.
author Valentin Bartenev <vbart@nginx.com>
date Wed, 20 Mar 2013 10:36:57 +0000
parents
children e5fb14e85040
comparison
equal deleted inserted replaced
5120:7956af6b6a02 5121:c0f7b94e88ba
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
33 extern ngx_module_t ngx_http_spdy_module;
34
35
36 #endif /* _NGX_HTTP_SPDY_MODULE_H_INCLUDED_ */