https://bz.apache.org/bugzilla/show_bug.cgi?id=56188
Luca Toscano <[email protected]> changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #34560|0 |1 is obsolete| | --- Comment #15 from Luca Toscano <[email protected]> --- Created attachment 34572 --> https://bz.apache.org/bugzilla/attachment.cgi?id=34572&action=edit Send FCGI_ABORT to the backend when the client disconnects Explicitly added the code to instruct httpd that the r->connection is aborted. In trunk I can see the following strange log: [Fri Dec 30 19:08:52.950149 2016] [proxy_fcgi:trace1] [pid 3966:tid 139835091949312] mod_proxy_fcgi.c(597): [client 127.0.0.1:57840] EOF detected from the main client connection. [Fri Dec 30 19:08:52.950180 2016] [proxy_fcgi:trace1] [pid 3966:tid 139835091949312] mod_proxy_fcgi.c(893): (70014)End of file found: [client 127.0.0.1:57840] The client aborted the connection. [Fri Dec 30 19:08:52.950186 2016] [proxy:debug] [pid 3966:tid 139835091949312] proxy_util.c(2232): AH00943: FCGI: has released connection for (127.0.0.1) [Fri Dec 30 19:08:52.950210 2016] [headers:trace2] [pid 3966:tid 139835091949312] mod_headers.c(875): AH01502: headers: ap_headers_output_filter() [Fri Dec 30 19:08:52.950242 2016] [http:trace3] [pid 3966:tid 139835091949312] http_filters.c(1034): [client 127.0.0.1:57840] Response sent with status 200, headers: [Fri Dec 30 19:08:52.950245 2016] [http:trace5] [pid 3966:tid 139835091949312] http_filters.c(1041): [client 127.0.0.1:57840] Date: Fri, 30 Dec 2016 19:08:51 GMT [Fri Dec 30 19:08:52.950247 2016] [http:trace5] [pid 3966:tid 139835091949312] http_filters.c(1044): [client 127.0.0.1:57840] Server: Apache/2.5.0-dev (Unix) [Fri Dec 30 19:08:52.950253 2016] [http:trace4] [pid 3966:tid 139835091949312] http_filters.c(863): [client 127.0.0.1:57840] Vary: User-Agent [Fri Dec 30 19:08:52.950256 2016] [http:trace4] [pid 3966:tid 139835091949312] http_filters.c(863): [client 127.0.0.1:57840] Content-Length: 0 [Fri Dec 30 19:08:52.950257 2016] [http:trace4] [pid 3966:tid 139835091949312] http_filters.c(863): [client 127.0.0.1:57840] Connection: close [Fri Dec 30 19:08:52.950261 2016] [core:trace6] [pid 3966:tid 139835091949312] util_filter.c(803): [client 127.0.0.1:57840] reinstate empty brigade to full brigade in 'req_core' output filter [Fri Dec 30 19:08:52.950264 2016] [core:trace8] [pid 3966:tid 139835091949312] util_filter.c(914): [client 127.0.0.1:57840] brigade contains: bytes: 145, non-file bytes: 145, eor buckets: 0, morphing buckets: 0 [Fri Dec 30 19:08:52.950272 2016] [http:trace3] [pid 3966:tid 139835091949312] http_filters.c(1034): [client 127.0.0.1:57840] Response sent with status 200, headers: [Fri Dec 30 19:08:52.950274 2016] [http:trace5] [pid 3966:tid 139835091949312] http_filters.c(1041): [client 127.0.0.1:57840] Date: Fri, 30 Dec 2016 19:08:51 GMT [Fri Dec 30 19:08:52.950276 2016] [http:trace5] [pid 3966:tid 139835091949312] http_filters.c(1044): [client 127.0.0.1:57840] Server: Apache/2.5.0-dev (Unix) [Fri Dec 30 19:08:52.950278 2016] [http:trace4] [pid 3966:tid 139835091949312] http_filters.c(863): [client 127.0.0.1:57840] Vary: User-Agent [Fri Dec 30 19:08:52.950280 2016] [http:trace4] [pid 3966:tid 139835091949312] http_filters.c(863): [client 127.0.0.1:57840] Content-Length: 0 [Fri Dec 30 19:08:52.950282 2016] [http:trace4] [pid 3966:tid 139835091949312] http_filters.c(863): [client 127.0.0.1:57840] Connection: close [Fri Dec 30 19:08:52.950284 2016] [core:trace6] [pid 3966:tid 139835091949312] util_filter.c(803): [client 127.0.0.1:57840] reinstate empty brigade to full brigade in 'req_core' output filter [Fri Dec 30 19:08:52.950285 2016] [core:trace8] [pid 3966:tid 139835091949312] util_filter.c(914): [client 127.0.0.1:57840] brigade contains: bytes: 145, non-file bytes: 145, eor buckets: 0, morphing buckets: 0 [Fri Dec 30 19:08:53.895646 2016] [core:trace4] [pid 3964:tid 139835914131200] mpm_common.c(557): mpm child 3966 (gen 0/slot 0) exited [Fri Dec 30 19:08:53.895721 2016] [core:trace4] [pid 3964:tid 139835914131200] mpm_common.c(557): mpm child 3969 (gen 0/slot 3) exited So there is a double "HTTP 200 logged", meanwhile in 2.4.x this issue does not appear (only one 200 logged as expected). I'll try to run gdb to find what is the difference, but from a first glance it seems async conn handling. -- You are receiving this mail because: You are the assignee for the bug. --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
