ngx_http_chunked_filter_module:ngx_http_chunked_body_filter ngx_http_write_filter_module:ngx_http_write_filter 1.1 ngx_http_range_body_filter staticngx_int_tngx_http_range_body_filter(ngx_http_request_t*r,ngx_chain_t*in){ngx_http_range_filter_ctx_t*ctx;if(in ==NULL) {returnngx_http...
此时ngx_http_next_header_filter 回调的函数为 ngx_http_headers_filter。 1.2 ngx_http_headers_filter staticngx_int_tngx_http_headers_filter(ngx_http_request_t*r){ngx_str_tvalue;ngx_uint_ti, safe_status;ngx_http_header_val_t*h;ngx_http_headers_conf_t*conf;if(r != r->main) {returnn...
//通过ngx_http_top_request_body_filter调用ngx_int_tngx_http_request_body_save_filter(ngx_http_request_t*r,ngx_chain_t*in) {#if(NGX_DEBUG)ngx_chain_t*cl;#endifngx_http_request_body_t*rb; rb = r->request_body;#if(NGX_DEBUG)for(cl = rb->bufs; cl; cl = cl->next) {ngx_log...
/* Handler function that processes incoming requests destined for the Mobwrite daemon */staticngx_int_tngx_http_mobwrite_handler(ngx_http_request_t*r){ngx_int_trc;ngx_http_upstream_t*upstream;ngx_http_mobwrite_loc_conf_t*mobwrite_conf;/* Create an "upstream" object that tells nginx how ...
解析proxy_redirect配置部分,注册了ngx_http_proxy_redirect_t结构的handler:pr->handler = ngx_http_proxy_rewrite_redirect_text(或者ngx_http_proxy_rewrite_redirect_text); 10.ngx_http_charset_filter_module模块的set钩子 ngx_http_charset_map_block注册了cf->handler = ...
‘ngx_http_top_write_filter’ undeclared (first use in this function) ../ngx_req_status-master//ngx_http_req_status_module.c:1035: error: (Each undeclared identifier is reported only once ../ngx_req_status-master//ngx_http_req_status_module.c:1035: error: for each function it appears...
An official read-only mirror of http://hg.nginx.org/nginx/ which is updated hourly. Pull requests on GitHub cannot be accepted and will be automatically closed. The proper way to submit changes to nginx is via the nginx development mailing list, see http
ngx_http_copy_filter ngx_output_chain ngx_http_lua_capture_body_filter ngx_http_image_body_filter ngx_http_charset_body_filter ngx_http_ssi_body_filter ngx_http_postpone_filter ngx_http_gzip_body_filter ngx_http_chunked_body_filter ngx_http_write_filter 113 microseconds elapsed in the probe...
上下文: http, server, location 为名字解析设置超时,比如: resolver_timeout 5s; 语法: root path; 默认值: root html; 上下文: http, server, location, if in location 为请求设置根目录。比如,如果配置如下 location /i/ { root /data/w3; } 那么nginx将使用文件/data/w3/i/top.gif响应...
subrequests formed by the “include virtual” command of thengx_http_ssi_modulemodule, by thengx_http_addition_modulemodule directives, and byauth_requestandmirrordirectives; requests changed by therewritedirective. Example: error_page 404 /404.html; ...