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
Alternative queue rarely works incorrect #609
Comments
This may solve issue civetweb#609 .
I have opened a pull request #661 for this issue.
|
@andrew2311 I would be happy if you could reply something or closing this. |
If only one implementation should be kept, I would highly recommend keeping |
Signed-off-by: Arpad Boda <aboda@apache.org> Approved by bakaid and phrocker on GH This closes civetweb#609
I've used 1.10 civetweb release version, and my internal tests rarely stucks at web socket connection creation.
Also issue was reproduced using "clean" civetweb code.
Steps to reproduce:
0. My environment - Ubuntu 16.04 (uname -a output: Linux work 4.13.0-38-generic #43~16.04.1-Ubuntu SMP Wed Mar 14 17:48:43 UTC 2018 x86_64 x86_64 x86_64 GNU/Linux)
(g++ (Ubuntu 5.4.0-6ubuntu1~16.04.9) 5.4.0 20160609)
Note: when I built civetweb with COPT='-DNO_ALTERNATIVE_QUEUE' option, debug or release version, I have no such issue (stuck at connection creation).
P.S. Could you please double check that I've correctly created server and clients, and correctly clean-up resources after test? Also this code is just an example to reproduce an issue.
test.cpp.txt
run_test.sh.txt
cut_test_log.txt
The text was updated successfully, but these errors were encountered: