Back to home page

Nginx displayed by LXR

Source navigation ]
Diff markup ]
Identifier search ]
general search ]
 
 
Version: nginx-1.13.12 ]​[ nginx-1.12.2 ]​

0001 
0002 /*
0003  * Copyright (C) Nginx, Inc.
0004  * Copyright (C) Valentin V. Bartenev
0005  */
0006 
0007 
0008 #ifndef _NGX_HTTP_V2_MODULE_H_INCLUDED_
0009 #define _NGX_HTTP_V2_MODULE_H_INCLUDED_
0010 
0011 
0012 #include <ngx_config.h>
0013 #include <ngx_core.h>
0014 #include <ngx_http.h>
0015 
0016 
0017 typedef struct {
0018     size_t                          recv_buffer_size;
0019     u_char                         *recv_buffer;
0020 } ngx_http_v2_main_conf_t;
0021 
0022 
0023 typedef struct {
0024     size_t                          pool_size;
0025     ngx_uint_t                      concurrent_streams;
0026     ngx_uint_t                      concurrent_pushes;
0027     ngx_uint_t                      max_requests;
0028     size_t                          max_field_size;
0029     size_t                          max_header_size;
0030     size_t                          preread_size;
0031     ngx_uint_t                      streams_index_mask;
0032     ngx_msec_t                      recv_timeout;
0033     ngx_msec_t                      idle_timeout;
0034 } ngx_http_v2_srv_conf_t;
0035 
0036 
0037 typedef struct {
0038     size_t                          chunk_size;
0039 
0040     ngx_flag_t                      push_preload;
0041 
0042     ngx_flag_t                      push;
0043     ngx_array_t                    *pushes;
0044 } ngx_http_v2_loc_conf_t;
0045 
0046 
0047 extern ngx_module_t  ngx_http_v2_module;
0048 
0049 
0050 #endif /* _NGX_HTTP_V2_MODULE_H_INCLUDED_ */