httpd-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Roy T. Fielding" <field...@kiwi.ICS.UCI.EDU>
Subject Re: lingering_close and performance
Date Tue, 18 Feb 1997 08:21:09 GMT
>Also, earlier I said I'd work on a generalized way to avoid multiple calls
>to mod_browser's parse_headers_browser_module -- I believe the attatched
>patch does so.  Other modules should be able to make use of the same
>functionality as described in the comments; this should also work when
>Apache runs as an inetd daemon.  I've tested it an it appears to work

Global variables are not reliable.  I prefer Doug's method of determining
if the request is the initial one.  Using my code, it would be

int is_initial_req(request_rec *r)
    return ((r->main == NULL) && (r->prev == NULL));

Is there some condition we are missing?


View raw message