You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@httpd.apache.org by Manoj Kasichainula <ma...@raleigh.ibm.com> on 1999/09/29 23:02:07 UTC

[PATCH] 2nd cut of status table stuff

I implemented Roy's suggestion of storing key-value pairs instead of
using a big table for the Dexter MPM. Now mod_status looks much uglier
(because we don't have an actual table anymore), but someone can come
up with a way of prettifying it if that's important.

The server now will keep track of the status, protocol, and method of
every HTTP request. Adding new data is easy:

ap_update_connection_status(conn_id, key, value);

One problem that's left is that when a new request starts within a
keepalive connection, the data for the old connection isn't trashed.
I'm not quite sure what to do about this yet. I could reset_connection
and re-add any per-connection stats, I guess. I don't like that
solution much though.

Two files are attached: the patch to implement the support in the
server, and a mod_status that uses it.

-- 
Manoj Kasichainula - manojk@raleigh.ibm.com
IBM, Apache Development

Re: [PATCH] 2nd cut of status table stuff

Posted by Manoj Kasichainula <ma...@io.com>.
I'll commit a cleaned up version of this in a day or two if no one has
any objections to the basic concepts here.

-- 
Manoj Kasichainula - manojk at io dot com - http://www.io.com/~manojk/