[squid-users] Squid reverse proxy and WebSockets.
Amos Jeffries
squid3 at treenet.co.nz
Thu Mar 10 12:23:29 UTC 2016
On 11/03/2016 1:02 a.m., Trent Renshaw wrote:
> Hi,
>
> We are able to pass and perform a WebSocket connection upgrade to a backend server using Nginx without any issue.
>
> However, we use Squid as a reverse proxy in our a production environment and cannot find any documentation on how to pass and/or perform the connection upgrade in Squid.
>
> In Nginx this is achieved by setting the HTTP version to 1.1 and setting the 'Upgrade' and 'Connection' headers. The proxy read timeout is also marginally increased to exceed the WebSocket server ping frame interval.
>
> Is a similar configuration possible with Squid as a reverse proxy?
>
No, sorry. Squid does not (yet) support the Upgrade header in HTTP.
Patches welcome.
Amos
More information about the squid-users
mailing list