wu8685 / spring-demo

0 stars 1 forks source link

[sse] when brower with client EventSource timeout or refresh, the connection still remains on server side #1

Closed wu8685 closed 7 years ago

wu8685 commented 7 years ago

logs printed here still count timeout connections

wu8685 commented 7 years ago

close event source on web when unloading. For more guarantee, since EventSource can auto reconnect, a server side polling SseEmitter cleaner is considerable.