[squid-users] how to avoid use http/1.0 between squid and the target

Amos Jeffries squid3 at treenet.co.nz
Wed Nov 22 12:44:30 UTC 2023


On 22/11/23 23:03, David Komanek wrote:
> Hello,
> 
> I have a strange problem (definitely some kind of my own ignorance) :
> 
> If I try to access anything on the site https://www.samba.org WITHOUT 
> proxy, my browser negotiate happily for http/2 protocol and receives all 
> the data. For http://www.samba.org WITHOUT proxy it starts with http/1.1 
> which is auto-redirected from http to https and continues with http/2. 
> So far so good.
> 
> But WITH proxy, it happens that squid is using http/1.0.

That is odd. Squid should always be sending requests as HTTP/1.1.

Have a look at the debug level "11,2" cache.log records to see if Squid 
is actually sending 1.0 or if it is just relaying CONNECT requests with 
possibly HTTP/1.0 inside.


HTH
Amos


More information about the squid-users mailing list