We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Thanks for Tobias's report. With the configuration, it caused wrong connection statistics.
{ "match": { "uri": "/status/*" }, "action": { "proxy": "[http://unix:/opt/unit/unit.sock](http://unix/opt/unit/unit.sock)" } }
connections": { "accepted": 8, "active": -41, "idle": 0, "closed": 49 }
And here's the patch to fix it, welcome to test. https://gist.github.com/hongzhidao/51fbc5169f22bd725d99446eca47e346
The text was updated successfully, but these errors were encountered:
I tested the patch with a minimal configuration:
{ "listeners": { "*:8080": { "pass": "routes" } }, "routes": [ { "match": { "uri": "/status/*" }, "action": { "proxy": "http://unix:/home/tgenannt/LocalGit/unit/build/control.unit.sock" } } ], "access_log": "/dev/stdout" }
and have the following statistics:
{ "connections": { "accepted": 25, "active": 0, "idle": 0, "closed": 25 }, "requests": { "total": 25 }, "applications": {} }
Active connections isn't negative anymore. Thanks for the quick help.
Sorry, something went wrong.
Hi @tobiasge
The fix patch has been committed, thanks again. 0711101
No branches or pull requests
Thanks for Tobias's report.
With the configuration, it caused wrong connection statistics.
And here's the patch to fix it, welcome to test.
https://gist.github.com/hongzhidao/51fbc5169f22bd725d99446eca47e346
The text was updated successfully, but these errors were encountered: