httpd-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Ed Korthof ...@organic.com>
Subject Re: lingering_close and performance
Date Wed, 19 Feb 1997 06:52:09 GMT
On Tue, 18 Feb 1997, Roy T. Fielding wrote:
[snip note about global varialbes... not relevant in light of the code
below.]

> int is_initial_req(request_rec *r)
> {
>     return ((r->main == NULL) && (r->prev == NULL));
> }
> 
> Is there some condition we are missing?

Nope. +1.  The only thing I'd suggest is that this be made inline
or a macro. 

Heh.  Hadn't seen the 'prev' member... I seem to remember walking through
execution and seeing more calls to parse_headers_browser_module than I am
with the current code base, but regardless, this works fine now. 

     -- Ed Korthof        |  Web Server Engineer --
     -- ed@organic.com    |  Organic Online, Inc --
     -- (415) 278-5676    |  Fax: (415) 284-6891 --





Mime
View raw message