Skip to content

fix(weixin): mitigate aiohttp connection pool poisoning#4

Merged
AIalliAI merged 2 commits into
mainfrom
cherry-pick/60044
Jul 7, 2026
Merged

fix(weixin): mitigate aiohttp connection pool poisoning#4
AIalliAI merged 2 commits into
mainfrom
cherry-pick/60044

Conversation

@AIalliAI

@AIalliAI AIalliAI commented Jul 7, 2026

Copy link
Copy Markdown
Owner

Cherry-pick of PR NousResearch#60044.

Fixes: NousResearch#60025
Pipeline: TRIAGE DONE | INTEGRATOR DONE | VERIFY PASS | REVIEWER APPROVED | SECURITY PENDING | OPSEC PENDING

AIalliAI added 2 commits July 7, 2026 14:53
…#60025)

Add enable_cleanup_closed=True to the TCPConnector used for iLink
connections so that server-closed keep-alive connections are properly
cleaned up from the pool.

Also adds a single retry when an asyncio.TimeoutError or aiohttp.ClientError
is caught.

Co-authored-by: Hermes Agent
Ref aio-libs/aiohttp#12795
When aiohttp is not available, aiohttp is set to None. Referencing
aiohttp.ClientError in except clauses caused AttributeError. Define
_ClientError fallback to Exception when AIOHTTP_AVAILABLE is False.
@AIalliAI
AIalliAI merged commit ebc9d9e into main Jul 7, 2026
30 checks passed
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.

[Bug]: aiohttp 3.13.4 → 3.14.0 Connection Pool Poisoning

1 participant