Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Messages issued by user may get caught in buffer? #39

Open
endtwist opened this issue Jul 12, 2010 · 2 comments
Open

Messages issued by user may get caught in buffer? #39

endtwist opened this issue Jul 12, 2010 · 2 comments

Comments

@endtwist
Copy link
Owner

When a user issues a message or notification, it seems as though it gets caught in a buffer/queue going back to that user. This may also happen with other types of notifications. Any messages in the queue should be sent when there is an available connection; check for some sort of race condition or similar?

@endtwist
Copy link
Owner Author

It seems like it might be a case of more than one message being pushed to the session's "connection" response manager. Since this is supposed to be only used for immediate responses to current connections, either the conflict needs to be found or responses need to be handled differently.

@endtwist
Copy link
Owner Author

Seems to be happening in Room#join, which is calling Room#send. Agent#respond is called in join, then again in send, causing items to be queued into the buffer for connection responses.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant