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:37:53 +0800

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

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:37:58 MST

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