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

Update client-http.c #2893

Draft
wants to merge 5 commits into
base: main
Choose a base branch
from
Draft

Update client-http.c #2893

wants to merge 5 commits into from

Conversation

wreuven
Copy link

@wreuven wreuven commented May 30, 2023

This bug was triggered for example when the connection closes (e.g. timeout) just as we attempt a new reuse of the connection.

Returning 0, means the callers will make use of a now invalid WSI. This often results in a double free of the wsi memory.

Need to return -1

wreuven and others added 5 commits May 30, 2023 17:28
This bug was triggered for example when the connection closes (e.g. timeout) just as we attempt a new reuse of the connection.

Returning 0, means the callers will make use of a now invalid WSI. This often results in a double free of the wsi memory.

Need to return -1
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

Successfully merging this pull request may close these issues.

None yet

2 participants