Re: mod_proxy and HTTP 302 response

Peter Van Biesen <[email protected]>
Newsgroups gmane.comp.apache.mod-proxy
Organization VFSIPH
Message-ID <[email protected]>
Thank you ! Could you also add a line that prints a warning in the log
when the space after the status code is not present, so sysadmins can
bug the webmasters who run defective servers ?

Peter.

Ian Holsman wrote:
> 
> Graham Leggett wrote:
> 
> > Brett Hutley wrote:
> >
> >> Yup. Note that the way 2.0.40 handles this, it strdups WHATEVER is
> >> pushed through afterwards to the status_line member of the
> >> request_rec structure.
> >
> >
> > Looking at this, it does this:
> >
> >             r->status_line = apr_pstrdup(p, &buffer[9]);
> >
> > apr_pstrdup is not strdup as far as I am aware. Can someone check this
> > for me?
> >
> > Regards,
> > Graham
> 
> Ok.. I put a patch through in Apache 2.0 which will fix the case where
> the server status line isn't present.
> and yes apr_pstrdup is the equivalent of strdup.
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.