Can't accept more than one connection header

Eden Li eden at mojiti.com
Fri Sep 7 14:28:35 MSD 2007


That works.  Thanks so much for the quick response!

On 9/7/07, Igor Sysoev <is at rambler-co.ru> wrote:
> On Fri, Sep 07, 2007 at 03:33:10PM +0800, Eden Li wrote:
>
> > I'm setting nginx up behind a proxy which sends two Connection
> > headers, one for transfer encoding and one for keep-alive. So:
> >
> >        Connection: TE
> >        Connection: keep-alive
> >
> > causes nginx to return a 400 error.  Is there any way to fix nginx to
> > obey both headers rather than rejecting the request?
>
> Try the attached patch. It can be used for 0.5.x.
>
>
> --
> Igor Sysoev
> http://sysoev.ru/en/
>
>





More information about the nginx mailing list