在ngx_http_wait_request_handler 的最后调用了 ngx_http_process_request_line 函数用来处理和解析这次请求的全文 在读事件被触发时,内核套接字缓冲区的大小未必足够接收到全部的HTTP请求行;所以可能多次调用ngx_http_process_request_line方法去做完这项工作----- ---ngx_htt
在ngx_http_wait_request_handler 的最后调用了 ngx_http_process_request_line 函数用来处理和解析这次请求的全文 在读事件被触发时,内核套接字缓冲区的大小未必足够接收到全部的HTTP请求行;所以可能多次调用ngx_http_process_request_line方法去做完这项工作--- ---ngx_http_process_request_line方法也会作为读事...
"http process request line"); // 若当前读事件已经超时 if (rev->timedout) { ngx_log_error(NGX_LOG_INFO, c->log, NGX_ETIMEDOUT, "client timed out"); c->timedout = 1; // 设置当前连接的超时标志位为1 ngx_http_close_request(r, NGX_HTTP_REQUEST_TIME_OUT); return; } // NGX_AGAI...
"http process request line"); // 若当前读事件已经超时 if (rev->timedout) { ngx_log_error(NGX_LOG_INFO, c->log, NGX_ETIMEDOUT, "client timed out"); c->timedout = 1; // 设置当前连接的超时标志位为1 ngx_http_close_request(r, NGX_HTTP_REQUEST_TIME_OUT); return; } // NGX_AGAI...