1structngx_http_request_s {2uint32_t signature;/*"HTTP"*/3/*4与连接有关的内容5*/6ngx_connection_t *connection;7/*8以下四个保存的是模块所对应的上下文结构体的指针。9其中ctx对应于自定义的上下文结构体指针10main_conf对应于main的上下文结构体指针11loc_conf对应于loc的上下文结构体指针12src_conf...
//ngx_http_process_request_headers在接收、解析完http请求的头部后,会把解析完的每一个http头部加入到headers_in的headers链表中,同时会构造headers_in中的其他成员 ngx_http_headers_in_t headers_in; //http模块会把想要发送的http相应信息放到headers_out中,期望http框架将headers_out中的成员序列化为http响应...
ngx_http_cache_t *cache; #endif //upstream机制用到的结构体 ngx_http_upstream_t *upstream; ngx_array_t *upstream_states; /* of ngx_http_upstream_state_t */ //这个请求的内存池 ngx_pool_t *pool; //用于接收http请求内容的缓冲区,主要接收http头部 ngx_buf_t *header_in; ...
We read every piece of feedback, and take your input very seriously. Include my email address so I can be contacted Cancel Submit feedback Saved searches Use saved searches to filter your results more quickly Cancel Create saved search Sign in Sign up Reseting focus {...
ngx_http_cache_t *cache; #endif //upstream机制用到的结构体 ngx_http_upstream_t *upstream; ngx_array_t *upstream_states; /* of ngx_http_upstream_state_t */ //这个请求的内存池 ngx_pool_t *pool; //用于接收http请求内容的缓冲区,主要接收http头部 ...
ngx_http_event_handler_pt read_event_handler; ngx_http_event_handler_pt write_event_handler; #if(NGX_HTTP_CACHE) ngx_http_cache_t * cache; #endif /* 与upstream模块相关的结构体 */ ngx_http_upstream_t * upstream;/*用于upstream模块*/ ...
ngx_http_cache_t *cache; #endif //upstream机制用到的结构体 ngx_http_upstream_t *upstream; ngx_array_t *upstream_states; /* of ngx_http_upstream_state_t */ //这个请求的内存池 ngx_pool_t *pool; //用于接收http请求内容的缓冲区,主要接收http头部 ngx_buf_t *header_in; ...
typedef union ngx_http_lua_srv_conf_u ngx_http_lua_srv_conf_t;typedef struct ngx_http_lua_main_conf_s ngx_http_lua_main_conf_t;typedef struct ngx_http_lua_header_val_s ngx_http_lua_header_val_t;typedef struct ngx_http_lua_posted_thread_s ngx_http_lua_posted_thread...
#define NGX_HTTP_LC_HEADER_LEN 32 // 在丢弃请求体数据时使用的缓冲区长度,4k // 用在ngx_http_read_discarded_request_body #define NGX_HTTP_DISCARD_BUFFER_SIZE 4096 #define NGX_HTTP_LINGERING_BUFFER_SIZE 4096 // HTTP协议版本号标记 // nginx1.10支持HTTP2 #define NGX_HTTP_VERSION_...
static const u_char m3u8_file_ext[] = ".m3u8"; static const u_char key_file_ext[] = ".key"; // constants static ngx_str_t empty_string = ngx_null_string; ngx_conf_enum_t hls_encryption_methods[] = { { ngx_string("none"), HLS_ENC_NONE }, ...