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

No need to use message id in longpoll #47

Closed
flowersinthesand opened this issue Jan 7, 2015 · 0 comments
Closed

No need to use message id in longpoll #47

flowersinthesand opened this issue Jan 7, 2015 · 0 comments
Milestone

Comments

@flowersinthesand
Copy link
Contributor

Because of message cache, message format to recognize message id and content has been required for longpoll transport. The root cause of message cache is that when server sends a message, there might be no http exchange because it might already be consumed and wait for new exchange.

Therefore, only such messages which has no corresponding http exchange should be managed by queue and as new exchange comes the queue will be flushed to make up for such messages as it is. It will help make client and server transport much simple.

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

No branches or pull requests

1 participant