[PATCH] Kill Proxy-Connection

From: Amos Jeffries <squid3_at_treenet.co.nz>
Date: Fri, 02 Jul 2010 16:45:24 +1200

Mark Nottingham wrote:
> FYI, I've asked Mozilla to stop sending Proxy-Connection:
> https://bugzilla.mozilla.org/show_bug.cgi?id=570283
>
> Any additional thoughts here? Should Squid stop using it, to
> encourage its demise (I won't use the word "early," as it's been
> around far too long already)?
>

+1.

Attached is a quick (untested) patch for 3.HEAD to make Squid stop
sending it on outbound requests to peers, and also ignore it's content
on HTTP-strict builds.

For origin server connections the non-strict builds will retain the
status-quo: interpret it, but treat it as an HTTP/0.9 thing to be
upgraded to HTTP/1.1 Connection:.

squidclient is also fixed not to send it.

Amos

-- 
Please be using
   Current Stable Squid 2.7.STABLE9 or 3.1.4

Received on Fri Jul 02 2010 - 04:45:35 MDT

This archive was generated by hypermail 2.2.0 : Fri Jul 02 2010 - 12:00:07 MDT