Fixed proxy headers being used in the ConnectionKey hash when a proxy was not being used -- by :user:bdraco.
If default headers are used, they are also used for proxy headers. This could have led to creating connections that were not needed when one was already available.
Removals and backward incompatible breaking changes
Fixed failure to try next host after single-host connection timeout -- by :user:brettdh.
The default client :class:aiohttp.ClientTimeout params has changed to include a sock_connect timeout of 30 seconds so that this correct behavior happens by default.
Fixed proxy headers being used in the ConnectionKey hash when a proxy was not being used -- by :user:bdraco.
If default headers are used, they are also used for proxy headers. This could have led to creating connections that were not needed when one was already available.
Related issues and pull requests on GitHub:
:issue:9368.
Widened the type of the trace_request_ctx parameter of
:meth:ClientSession.request() <aiohttp.ClientSession.request> and friends
-- by :user:layday.
Related issues and pull requests on GitHub:
:issue:9397.
Removals and backward incompatible breaking changes
Fixed failure to try next host after single-host connection timeout -- by :user:brettdh.
The default client :class:aiohttp.ClientTimeout params has changed to include a sock_connect timeout of 30 seconds so that this correct behavior happens by default.
Related issues and pull requests on GitHub:
:issue:7342.
Miscellaneous internal changes
Improved performance of resolving hosts with Python 3.12+ -- by :user:bdraco.
Related issues and pull requests on GitHub:
:issue:9342.
Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.
Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR:
- `@dependabot rebase` will rebase this PR
- `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it
- `@dependabot merge` will merge this PR after your CI passes on it
- `@dependabot squash and merge` will squash and merge this PR after your CI passes on it
- `@dependabot cancel merge` will cancel a previously requested merge and block automerging
- `@dependabot reopen` will reopen this PR if it is closed
- `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
- `@dependabot show ignore conditions` will show all of the ignore conditions of the specified dependency
- `@dependabot ignore major version` will close this group update PR and stop Dependabot creating any more for the specific dependency's major version (unless you unignore this specific dependency's major version or upgrade to it yourself)
- `@dependabot ignore minor version` will close this group update PR and stop Dependabot creating any more for the specific dependency's minor version (unless you unignore this specific dependency's minor version or upgrade to it yourself)
- `@dependabot ignore ` will close this group update PR and stop Dependabot creating any more for the specific dependency (unless you unignore this specific dependency or upgrade to it yourself)
- `@dependabot unignore ` will remove all of the ignore conditions of the specified dependency
- `@dependabot unignore ` will remove the ignore condition of the specified dependency and ignore conditions
Bumps the all-dependencies group with 1 update: aiohttp.
Updates
aiohttp
from 3.10.8 to 3.10.9Release notes
Sourced from aiohttp's releases.
... (truncated)
Changelog
Sourced from aiohttp's changelog.
... (truncated)
Commits
b779432
Release 3.10.9 (#9415)08ada3e
[PR #9405/b96b01b backport][3.10] Only create the connection closed exception...978ed74
[PR #9406/24b0e6f backport][3.10] Add slots to timer helpers (#9411)e1320b7
[PR #9398/3f43bd1b backport][3.10] Widentrace_request_ctx
type (#9403)b5e2b0b
[PR #7368/8a8913b backport][3.10] Fixed failure to try next host after single...6198a56
[PR #9368/02d8dba9 backport][3.10] Avoid using the proxy headers in the Conne...456cf5e
[PR #9386/803d818d backport][3.10] Small speed up to starting client requests...8e395a1
[PR #9366/43deadb2 backport][3.10] Small speed up to update_headers (#9383)57ce46c
[PR #9372/0416d28 backport][3.10] Only prepare proxy headers for a request if...0a74b54
[PR #9367/b612127d backport][3.10] Speed up handling auth in urls (#9380)Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting
@dependabot rebase
.Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR: - `@dependabot rebase` will rebase this PR - `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it - `@dependabot merge` will merge this PR after your CI passes on it - `@dependabot squash and merge` will squash and merge this PR after your CI passes on it - `@dependabot cancel merge` will cancel a previously requested merge and block automerging - `@dependabot reopen` will reopen this PR if it is closed - `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually - `@dependabot show