4 ms·
I fixed a few bugs in a WebSocket client and was blown away by the things they do to trick old proxies into not screwing it all up.
by bobmcnamara 2y ago
I fixed a few bugs in a WebSocket client and was blown away by the things they do to trick old proxies into not screwing it all up.
- fenesiistvan 2y agoI would be interested in those tricks
- bobmcnamara 2y agoA big one is 'masking' all client requests that a proxy can't effectively cache the response since the request always changes. The RFC explains it: https://datatracker.ietf.org/doc/html/rfc6455#section-5.3 https://datatracker.ietf.org/doc/html/rfc6455#section-5.3