Closed GoogleCodeExporter closed 9 years ago
Hello,
The reconnection delay caused by timeout depends on the browser and sometimes
the networks status. There is no room for control the delay. It could be larger
than 17ms. If you need a seamless stream, you can use heatbeat.
http://ajaxpatterns.org/Heartbeat
To implement the heartbeat pattern, you have to execute a timer from the server
using java.util.Timer or from the client using iterative setTimeout which sends
heartbeat message periodically. When the heartbeat message is received, the
client have to send back it to the server, and the server have to extend
timeout. After the stream is closed you have to clear the timer.
--Donghwan
Original comment by flowersi...@gmail.com
on 7 Oct 2011 at 6:54
Original comment by flowersi...@gmail.com
on 11 Oct 2011 at 8:35
Original issue reported on code.google.com by
sven.rie...@topicus.nl
on 5 Oct 2011 at 9:48