-
-
Notifications
You must be signed in to change notification settings - Fork 2.1k
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
"Unclosed client session" when initialization fails #8253
Labels
Comments
Feel free to make a PR and move the check earlier. |
NewGlad
pushed a commit
to NewGlad/aiohttp
that referenced
this issue
Apr 4, 2024
NewGlad
pushed a commit
to NewGlad/aiohttp
that referenced
this issue
Apr 4, 2024
5 tasks
NewGlad
pushed a commit
to NewGlad/aiohttp
that referenced
this issue
Apr 4, 2024
NewGlad
pushed a commit
to NewGlad/aiohttp
that referenced
this issue
Apr 4, 2024
NewGlad
pushed a commit
to NewGlad/aiohttp
that referenced
this issue
Apr 5, 2024
NewGlad
pushed a commit
to NewGlad/aiohttp
that referenced
this issue
Apr 5, 2024
NewGlad
pushed a commit
to NewGlad/aiohttp
that referenced
this issue
Apr 7, 2024
Note that this solution doesn't help if you pass a connector in as an argument. |
Dreamsorcerer
pushed a commit
that referenced
this issue
Apr 7, 2024
NewGlad
added a commit
to NewGlad/aiohttp
that referenced
this issue
Apr 8, 2024
…ails (aio-libs#8290) (cherry picked from commit 5fd2946)
NewGlad
added a commit
to NewGlad/aiohttp
that referenced
this issue
Apr 8, 2024
…ails (aio-libs#8290) (cherry picked from commit 5fd2946)
NewGlad
added a commit
to NewGlad/aiohttp
that referenced
this issue
Apr 8, 2024
…ails (aio-libs#8290) (cherry picked from commit 5fd2946)
NewGlad
added a commit
to NewGlad/aiohttp
that referenced
this issue
Apr 8, 2024
…ails (aio-libs#8290) (cherry picked from commit 5fd2946)
NewGlad
added a commit
to NewGlad/aiohttp
that referenced
this issue
Apr 8, 2024
…ails (aio-libs#8290) (cherry picked from commit 5fd2946)
NewGlad
added a commit
to NewGlad/aiohttp
that referenced
this issue
Apr 8, 2024
…ails (aio-libs#8290) (cherry picked from commit 5fd2946)
NewGlad
added a commit
to NewGlad/aiohttp
that referenced
this issue
Apr 9, 2024
…ails (aio-libs#8290) (cherry picked from commit 5fd2946)
NewGlad
added a commit
to NewGlad/aiohttp
that referenced
this issue
Apr 10, 2024
…ails (aio-libs#8290) (cherry picked from commit 5fd2946)
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Describe the bug
This is actually a wrong use case.
Some parameters will be checked after the connection is established.
So the connection cannot be closed if there are incorrect parameters.
How about deferring connection creation ( here ) ?
To Reproduce
as above
Expected behavior
First check that the parameters are correct and then establish the connection.
Logs/tracebacks
Python Version
aiohttp Version
multidict Version
yarl Version
OS
Windows 10
Related component
Client
Additional context
No response
Code of Conduct
The text was updated successfully, but these errors were encountered: