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
Platform: linux Version: 1.11 Usage: embedded
When using keep-alive the get_request(...) function overwrites the host name in the connection having already been allocated on a previous request.
get_request(...)
conn->host = alloc_get_host(conn);
Since the host should not be changing between requests then the above call can probably be skipped if it's non-null.
The text was updated successfully, but these errors were encountered:
Ignore this - I hadn't noticed that v1.11 was from September last year and not this year. The issue has already been fixed in master.
Sorry, something went wrong.
My team also ran into this issue when many requests are being sent out to Civetweb at once from the same client with keep-alive turned on.
In case anyone wants to know the fix, the commit is here: 96e3e8c
Successfully merging a pull request may close this issue.
Platform: linux
Version: 1.11
Usage: embedded
When using keep-alive the
get_request(...)
function overwrites the host name in the connection having already been allocated on a previous request.Since the host should not be changing between requests then the above call can probably be skipped if it's non-null.
The text was updated successfully, but these errors were encountered: