Search squid archive

Re: compatible for both http1.0 and http1.1

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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@xxxxxxxxxxxxxxxxxxx> 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
>


[Index of Archives]     [Linux Audio Users]     [Samba]     [Big List of Linux Books]     [Linux USB]     [Yosemite News]

  Powered by Linux