#19 new
Thadd Selden

Message updates fail when connection drops

Reported by Thadd Selden | December 18th, 2008 @ 08:14 AM

The way message updates are handled currently has the consequence that when the connection is dropped (e.g. the computer is put to sleep or disconnected from the network), then when the connection is restored the message updates don't begin again.

Notification updates and room member updates do continue after a network dropout.

This is caused by the different methods of updating. Notification and room member updates are triggered by a repeated periodical updating AJAX call. Message updates are single-shot. They send one AJAX call to the server and then the response from the server queues up the next call. Thus if the one response never gets through, then the next call never gets queued.

This is done this way because the call back to the server needs to know the highest message ID, but we can work around this by just having the updates set a variable somewhere on the page.

No comments found

Please Sign in or create a free account to add a new ticket.

With your very own profile, you can contribute to projects, track your activity, watch tickets, receive and update tickets through your email and much more.

New-ticket Create new ticket

Create your profile

Help contribute to this project by taking a few moments to create your personal profile. Create your profile ยป

AJAX chat with LDAP or OpenID logins and custom notification keywords.

People watching this ticket

Tags

Pages