google-code-export / rocket-gwt

Automatically exported from code.google.com/p/rocket-gwt
1 stars 1 forks source link

Broken Comet connections with IE - polling not always stopped #54

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Start GWT client.
2. Register for comet updates.
3. Shutdown the browser.

What is the expected output? What do you see instead?
Comet connection should be broken and polling should stop. Unfortunately
sometimes servlet still keeps polling.

What version of the product are you using? On what operating system?
This happens for me only in IE 7 (Firefox and Opera are ok), Windows XP.

Please provide any additional information below.

Currently I bypass this by keeping registry of active comet connections. As
polling happens in CometServlerServlet.poller() method:
this.poll(cometConnection) - I modified poll the method to return boolean
and then I break the loop if  poll returns false (this happens when my
connection is no longer in registry).

Original issue reported on code.google.com by Marcin.A...@gmail.com on 18 Nov 2008 at 1:36

GoogleCodeExporter commented 9 years ago
It should continue to wait in the poll method until a timeout... Are you 
experiencing
this...?

Original comment by miroslav...@gmail.com on 2 Dec 2008 at 8:39

GoogleCodeExporter commented 9 years ago
Hmmm, not sure, I don't think I waited till timeout, let me test this again and 
I'll
come back to you.

Thanks,
Marcin

Original comment by Marcin.A...@gmail.com on 2 Dec 2008 at 12:01