We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3c2ce16 commit e10856cCopy full SHA for e10856c
pymongo/pool_shared.py
@@ -346,12 +346,10 @@ async def _configured_protocol_interface(
346
ssl=ssl_context,
347
)
348
except _CertificateError:
349
- transport.abort()
350
# Raise _CertificateError directly like we do after match_hostname
351
# below.
352
raise
353
except (OSError, SSLError) as exc:
354
355
# We raise AutoReconnect for transient and permanent SSL handshake
356
# failures alike. Permanent handshake failures, like protocol
357
# mismatch, will be turned into ServerSelectionTimeoutErrors later.
0 commit comments