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

May overlap original msg when just enqueue never dequeue. #20

Open
GoogleCodeExporter opened this issue Jul 28, 2015 · 1 comment
Open

Comments

@GoogleCodeExporter
Copy link

What steps will reproduce the problem?
1. create a queue
2. set the maxqueue a little small, say: 10
3. just enqueue msgs, never dequeue, the 11st msg will overlap the 1st msg

Please provide any additional information below.
原因在于第303行判断队列已满时遗漏一种情况: (0 == 
queue_get_value && queue_put_value > maxqueue_num)。

Original issue reported on code.google.com by [email protected] on 9 Mar 2011 at 9:04

@GoogleCodeExporter
Copy link
Author

fix this bug on HTTPSQS 1.6

Original comment by [email protected] on 26 Apr 2011 at 7:54

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