httpd-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Rob Hartill <r...@imdb.com>
Subject Re: CGI -> ErrorDocument bug with POSTed data
Date Sun, 12 Jan 1997 03:35:21 GMT
On Sat, 11 Jan 1997, Alexei Kosut wrote:

> On Sat, 11 Jan 1997, Rob Hartill wrote:
> 
> >  int should_client_block (request_rec *r)
> >  {
> > +    if (is_HTTP_ERROR(r->status))
> > +       return 0;
> > +
> >      if (!r->read_chunked && (r->remaining <= 0))
> >          return 0;
> 
> How about checking r->main instead? Wouldn't that have the same
> effect, but be more inclusive?

Will that break if a script redirects to another script ?

r->main is what I thought of first, but decided it should act only on
errors where the original script had gone kaboom.



Mime
View raw message