fix: request_with_retries honors session timeout (timeout=None no longer disables it)
request() forwarded an explicit timeout=None to aiohttp as ClientTimeout(total=None), which disables the timeout and overrides the session default. request_with_retries defaults timeout=None, so its flagship path had zero timeout protection: a hung server stalled the coroutine forever, pinning connector-pool slots. Pop a None timeout in request() so the session-level timeout applies; numeric per-call timeouts still wrap. aioweb-1 (v0.1.6). Signed-off-by: disqualifier <dev@disqualifier.me>
This commit is contained in:
+1
-1
@@ -4,7 +4,7 @@ build-backend = "hatchling.build"
|
||||
|
||||
[project]
|
||||
name = "aioweb"
|
||||
version = "0.1.5"
|
||||
version = "0.1.6"
|
||||
description = "Async HTTP session wrapper over aiohttp — proxies, header overwrites, retries, previews. Config-free, installable."
|
||||
requires-python = ">=3.10"
|
||||
dependencies = [
|
||||
|
||||
Reference in New Issue
Block a user