httpd-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Alexei Kosut <ako...@organic.com>
Subject Re: SET_BYTES_SENT (problem with run_sub_req())
Date Wed, 26 Jun 1996 22:08:05 GMT
On Wed, 26 Jun 1996, Robert S. Thau wrote:

>   The problem is that using run_sub_req() causes a SEGV because
>   sub->main is not being initialized.
> 
> In what circumstances is sub->main not being initialized?
> (sub_req_lookup_{uri,file} both call sub_req_set_protocol, which
> initializes sub->main, among many other things).

I think he's calling run_sub_req() himself, on the main request_rec, with
some modified members.

Random thought:

r->main = r;

-- Alexei Kosut <akosut@organic.com>            The Apache HTTP Server 
   http://www.nueva.pvt.k12.ca.us/~akosut/      http://www.apache.org/


Mime
View raw message