[squid-users] WARNING: HTTP requires the use of Via

Amos Jeffries squid3 at treenet.co.nz
Wed Dec 13 17:03:22 UTC 2017


On 14/12/17 03:12, erdosain9 wrote:
> Im having this warning in the log.
> I dont find anything related to this in google, so.
> 
> What could be??

You have configured "via off".

HTTP specification RFC 7230 section 5.7.1:
"
    A proxy MUST send an appropriate Via header field, as described
    below, in each message that it forwards.
"

Thus the *warning*. Things can go horribly wrong if it is disabled.

Via headers' purpose is to reveal which transport protocols an HTTP 
message is traveling over so the client and server endpoints can 
automatically determine which HTTP mechanisms will (or not) work.

If used properly it can avoid multiple round-trips of 4xx and 5xx errors 
or message timeouts occuring - with all the bandwidth, CPU and delays 
involved with those.


> this is my config
...
> 
> ###ACTIVAR EN CASO DE "Connection reset by peer" EN MUCHOS HOST
> via off
> forwarded_for delete
> 

Amos


More information about the squid-users mailing list