3 ms·
RawHTTP Duplex
- aaaaaaaaaab 8y agoWe used to do the same thing in the pre-websocket 2000s: https://en.m.wikipedia.org/wiki/Comet_(programming) https://en.m.wikipedia.org/wiki/Comet_(programming)
- jarym 8y agoAnd I’m sure many a proxy server hated you! Yes it’s an old technique that worked well until I ran into a corporate proxy server that forcibly closed connections after 2 minutes - pings/heartbeats be damned :-(
- cryptonector 8y agoThere are proxies that REALLY WANT TO CACHE and those REALLY DON'T LIKE large, indeterminate-length response bodies.
- Retr0spectrum 8y agoThe "solution" is to maintain a pool of open connections.
- SahAssar 8y agoSince long running connections are the default in http2 this shouldn't be an issue these days, right?
- ldng 8y agoYeah, Thanks Google for killing proxies....