https://bz.apache.org/bugzilla/show_bug.cgi?id=60647
Bug ID: 60647
Summary: "access this connection" wrong with event MPM
Product: Apache httpd-2
Version: 2.5-HEAD
Hardware: PC
OS: Linux
Status: NEW
Severity: normal
Priority: P2
Component: Core
Assignee: [email protected]
Reporter: [email protected]
Target Milestone: ---
Created attachment 34676
--> https://bz.apache.org/bugzilla/attachment.cgi?id=34676&action=edit
keep conn_count more accurate
The first field of ACC in /server-status is requests on the current connection.
With event, a connection hops from slot to slot, only visible while it's being
processed.
These values are currently always zero w/ trunk and 2.4 under event.
ap_increment_counts() tracks this stuff per-slot and event causes it to be
blown away in worker_thread() right before process_socket.
I have a patch that just allows ap_process_http_async_connection to push a new
"requests on current connection" onto the scoreboard handle for the slot its
currently using. This is a bit of an odd place to fix up the connection count,
but the ap_increment_counts is currently only called by the eor_bucket and I
didn't want to put async vs. not async logic there.
--
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]