[squid-users] websockets through Squid
Amos Jeffries
squid3 at treenet.co.nz
Wed Oct 7 13:57:11 UTC 2020
On 8/10/20 2:29 am, Vieri wrote:
>> To allow WebSocket tunnels, you need http_upgrade_request_protocols available since v5.0.4
>
> Thanks for the info.
> My distro does not include v. 5 yet as it's still beta, although I could try compiling it.
>
> Just a thought though. What would the easiest way be to allow websockets through in v. 4? That is, for trusted domains, allow a direct connection maybe?
>
No. If the WS client properly supports the HTTP fallback mode of
WebSockets then it should "just work", nothing special needed from
Squid. Otherwise it is requiring Upgrade behaviour and the "error" you
got is not an error at all, just a statement about the WS client (lack
of) feature support.
Amos
More information about the squid-users
mailing list