3 ms·
I've have had a couple issues implementing Long Polling in the past. At times I've had the firewall or reverse proxy drop client connections if it detects no da
by Anunayj 5y ago
I've have had a couple issues implementing Long Polling in the past. At times I've had the firewall or reverse proxy drop client connections if it detects no data transfer. Which meant I had to timeout all the requests every 30 secons or so. Make a new request before the other one ends, and it all becomes messy.
At this point, its honestly just easier to just have a websocket + events endpoint with a cusor both.
- nitwit005 5y agoI wouldn't recommend long polling for this reason. There are also some security products that have trouble with what appears to be a long file download. Websockets or server sent events at least signal to intermediaries that a longer term connection will be open.