httpd-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Ryan Bloom" <...@covalent.net>
Subject RE: Discarding bodies multiple times
Date Sat, 01 Jun 2002 00:50:31 GMT
> From: Cliff Woolley [mailto:jwoolley@virginia.edu]
> 
> On Fri, 31 May 2002, Ryan Bloom wrote:
> 
> > The default handler discards the body, because it can't handle a
body.
> > The assumption is that if the request gets to default_handler, then
no
> > body will be allowed.  There are only two options as I see it.  1)
Keep
> > a record of having received an EOS in the request_rec.  2)  Only
call
> > ap_discard_request_body if the default_handler will succeed.
> 
> You two are agreeing.. it's scaring me.  ;)
> 
> As for option #2... it seems cleaner, but can't a filter call
ap_die()?
> What then?

A filter should NEVER call ap_die.  At the very worst, it should create
an error bucket and send it down the stack.

Ryan




Mime
View raw message