Re: [squid-users] compatible for both http1.0 and http1.1

From: J. Peng <peng.kyo@dont-contact.us>
Date: Tue, 26 Feb 2008 10:44:35 +0800

On Tue, Feb 26, 2008 at 10:37 AM, J. Peng <peng.kyo@gmail.com> wrote:
> Hello Henrik,
>
> If squid (for reverse-proxy) send back http/1.1 response to http/1.0
> client, the client will get errors.
> Please see this screencut for full details (including headers):
>
> http://home.arcor.de/pangj/requesterror.JPG
>

Also please see this screencut which is more clear:
http://home.arcor.de/pangj/requesterror2.JPG

> Or you can test it, just add:
> 58.251.62.10 r19.mail.qq.com r19-css.mail.qq.com r19-js.mail.qq.com
> r19-img.mail.qq.com
>
> into your hosts file and make your IE request this url with http/1.0 method:
>
> http://r19-css.mail.qq.com/zh_CN/htmledition20080131/style/comm.css
>
> and see what happened.
> Please help tell me why this happened. Thanks.
>
> btw, I'm running Squid-2.7 the current version, original-server is Apache2.0.
>
>
>
>
> On Tue, Feb 26, 2008 at 4:12 AM, Henrik Nordström
> <henrik@henriknordstrom.net> wrote:
> >
> > mån 2008-02-25 klockan 17:22 +0800 skrev J. Peng:
> >
> > > I need to config squid for reverse-proxy for this destination:
> > >
> > > 1) if clients are http/1.0 compatible, squid send http/1.0 to
> > > original-server and response to clients with http/1.0 content.
> >
> > Why?
> >
> > HTTP operates better if each hop advertises the exact version it
> > supports.
> >
> > Regards
> > Henrik
> >
>
Received on Mon Feb 25 2008 - 19:44:41 MST

This archive was generated by hypermail pre-2.1.9 : Sat Mar 01 2008 - 12:00:05 MST