https://bz.apache.org/bugzilla/show_bug.cgi?id=69585

            Bug ID: 69585
           Summary: Add connection counts and bytes for event like modules
                    and http2 in mod_status
           Product: Apache httpd-2
           Version: 2.4.63
          Hardware: PC
                OS: Linux
            Status: NEW
          Severity: normal
          Priority: P2
         Component: All
          Assignee: [email protected]
          Reporter: [email protected]
  Target Milestone: ---

When using mod_status, The connection counts and bytes columns (acc and conn
columns are set to 0 when in event mpm in http 1.1 or http 2.

It is because that connection can change slot between request, or inside a
request if the event mpm give back the connection to the listener thread.

I have done a little patch to solve this by tracking bytes and count at the
connection level and worker thread level with arrays.

I have put a define to protect the changes which should be binary compatible
for external binary modules.

I have tested on my system with event mpm, worker mpm with or without http2 and
I can see the counts and bytes column for connections. They appear to be in
sync with child and slot columns.

-- 
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]

Reply via email to