ngx_http_v2_module.h revision e18a033b
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
17typedef struct {
18    size_t                          recv_buffer_size;
19    u_char                         *recv_buffer;
20} ngx_http_v2_main_conf_t;
21
22
23typedef struct {
24    size_t                          pool_size;
25    ngx_uint_t                      concurrent_streams;
26    ngx_uint_t                      max_requests;
27    size_t                          max_field_size;
28    size_t                          max_header_size;
29    size_t                          preread_size;
30    ngx_uint_t                      streams_index_mask;
31    ngx_msec_t                      recv_timeout;
32    ngx_msec_t                      idle_timeout;
33} ngx_http_v2_srv_conf_t;
34
35
36typedef struct {
37    size_t                          chunk_size;
38} ngx_http_v2_loc_conf_t;
39
40
41extern ngx_module_t  ngx_http_v2_module;
42
43
44#endif /* _NGX_HTTP_V2_MODULE_H_INCLUDED_ */
45