mirror of
https://github.com/samsonjs/vdirsyncer.git
synced 2026-03-25 08:55:50 +00:00
fix: fix ssl behavior in request
- `ClientConnectionError` in `aiohttp` can wrap SSL handshake and certificate verification errors - Retrying those hides the real cause and produced `TransientNetworkError` instead of the expected certificate error - Removing `ClientConnectionError` from the transient list lets SSL errors surface correctly
This commit is contained in:
parent
81d8444810
commit
6708dbbbdc
1 changed files with 0 additions and 1 deletions
|
|
@ -268,7 +268,6 @@ async def request(
|
|||
except (
|
||||
ServerDisconnectedError,
|
||||
ServerTimeoutError,
|
||||
ClientConnectionError,
|
||||
asyncio.TimeoutError,
|
||||
) as e:
|
||||
# Retry only if the method is safe/idempotent for our DAV use
|
||||
|
|
|
|||
Loading…
Reference in a new issue