httpd-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From grega...@apache.org
Subject Re: cvs commit: httpd-2.0/server protocol.c
Date Tue, 17 Feb 2004 19:43:59 GMT
Jeff Trawick wrote:
> William A. Rowe, Jr. wrote:
> 
>> At 10:22 AM 11/1/2003, trawick@apache.org wrote:
>>
>>> trawick     2003/11/01 08:22:16
>>>
>>> backport this from Apache 2.1-dev:
>>>
>>>     Set the scoreboard state to indicate logging prior to running
>>>     logging hooks so that server-status will show 'L' for hung loggers
>>>     instead of 'W'.
>>
>>
>>
>> Ya know - this is such a cool idea I'm thinking we aught to do the 
>> same for
>> local CGI and backend proxy transmissions.  Something like 'G' while we
>> are processing cgi (stdin/out piping) and 'P' while connecting, 
>> reading and writing with the backend proxy box.  Comments?

something like 'G', fine.  But not actually 'G' which stands for Gracefully 
restarting (still serving a request using older generation config).

> There is a great value in allowing arbitrary modules to be able to 
> specify a more granular representation of the processing phase.  'G' and 
> 'P' sound great when we're talking about a chummy set of Apache modules, 
> but it will get confusing if all sorts of modules get into the act.
> 
> Maybe arbitrary modules could be allowed to update another piece of 
> scoreboard memory for formatting in the extendedstatus table?  Storing 
> the module index (to display module name) and a two-char code specified 
> by the module would be nice.

I like the idea of being able to identify which arbitrary module is the handler 
and what it thinks the current state of the request is.

Greg



Mime
View raw message