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

Http sessions will not be clean if it's abort without curl event notification. #2110

Closed
owent opened this issue Apr 21, 2023 · 0 comments · Fixed by #2111
Closed

Http sessions will not be clean if it's abort without curl event notification. #2110

owent opened this issue Apr 21, 2023 · 0 comments · Fixed by #2111
Labels
bug Something isn't working

Comments

@owent
Copy link
Member

owent commented Apr 21, 2023

Describe your environment

OS: Linux
Compiler: GCC 12.2.0
curl version: 8.0.1

Steps to reproduce
Describe exactly how to reproduce the error. Include a code sample if applicable.

What is the expected behavior?

When shutdown, all sessions shoud be cleanup and exit.

What is the actual behavior?

If libcurl miss the notification when shutdown, http client will wait for running sessions for ever,because it will not be notified and will not be consumed.

Additional context

It's base our use case and I didn't find a easy way to reproduce this.

@owent owent added the bug Something isn't working label Apr 21, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant