httpd-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Justin Erenkrantz <jerenkra...@apache.org>
Subject ap_discard_request_body on subrequests was Re: cvs commit: httpd-2.0 STATUS
Date Tue, 28 May 2002 22:35:41 GMT
On Tue, May 28, 2002 at 03:33:13PM -0700, Roy T. Fielding wrote:
> Hmm, I may not be remembering this correctly, but is there any situation
> in which a subrequest would be allowed to call discard_body?  If not,
> it can simply check
> 
>     if (r->main || ap_status_drops_connection(r->status)) {
>         return OK;
>     }

That's exactly what I'm thinking right now.  I'm not sure if this
allowed, but I really think calling ap_discard_request_body is a
no-op on a subreq.  You just beat me to the email.  =)

Anyone disagree?  -- justin

Mime
View raw message