You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@httpd.apache.org by Justin Erenkrantz <je...@apache.org> on 2002/05/29 00:35:41 UTC

ap_discard_request_body on subrequests was Re: cvs commit: httpd-2.0 STATUS

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