You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@httpd.apache.org by Cliff Woolley <JW...@wlu.edu> on 2000/01/05 15:58:10 UTC

Re: [PATCH] vhost hostname in scoreboard not useful when usingmod_vhost_alias

>>> Tony Finch <do...@dotat.at> 01/05/00 07:59AM >>>

>The real fix here would be to have mod_status use
>ap_get_server_name so that it reflects how the server
>has been configured. This requires adding a reference
>to the request_req to the scoreboard (perhaps instead
>of the server_req).

But wait a minute... doesn't the scoreboard entry (hopefully) outlive
the request_rec?  So that part of the scoreboard information would only
last until the request_rec's lifetime ended.  I assume that's why a
string copy is done already for the similar situation of storing the
client's address...

???

--Cliff

Cliff Woolley
Central Systems Software Administrator
Washington and Lee University
http://www.wlu.edu/~jwoolley/

Work: (540) 463-8089
Pager: (540) 462-2303

Re: [PATCH] vhost hostname in scoreboard not useful when usingmod_vhost_alias

Posted by Tony Finch <do...@dotat.at>.
"Cliff Woolley" <JW...@wlu.edu> wrote:
>Tony Finch <do...@dotat.at> wrote:
>>
>>The real fix here would be to have mod_status use
>>ap_get_server_name so that it reflects how the server
>>has been configured. This requires adding a reference
>>to the request_req to the scoreboard (perhaps instead
>>of the server_req).
>
>But wait a minute... doesn't the scoreboard entry (hopefully) outlive
>the request_rec?

Yes, but when a request isn't in progress the request_req and the
associated server name become irrelevant; ap_update_child_status
will have been called with a NULL request_rec.

Tony.
-- 
let it be dot at