File tree 2 files changed +3
-5
lines changed
2 files changed +3
-5
lines changed Original file line number Diff line number Diff line change @@ -6,16 +6,16 @@ Changes in Version 4.12.1 (XXXX/XX/XX)
6
6
7
7
Version 4.12.1 is a bug fix release.
8
8
9
+ - Fixed a bug that could raise ``UnboundLocalError `` when creating asynchronous connections over SSL.
9
10
- Fixed a bug causing SRV hostname validation to fail when resolver and resolved hostnames are identical with three domain levels.
10
11
11
12
Issues Resolved
12
13
...............
13
14
14
- See the `PyMongo 4.12 release notes in JIRA `_ for the list of resolved issues
15
+ See the `PyMongo 4.12.1 release notes in JIRA `_ for the list of resolved issues
15
16
in this release.
16
17
17
- .. _PyMongo 4.12 release notes in JIRA : https://jira.mongodb.org/secure/ReleaseNote.jspa?projectId=10004&version=41916
18
- .. _PYTHON-5288 : https://jira.mongodb.org/browse/PYTHON-5288
18
+ .. _PyMongo 4.12.1 release notes in JIRA : https://jira.mongodb.org/secure/ReleaseNote.jspa?projectId=10004&version=43094
19
19
20
20
Changes in Version 4.12.0 (2025/04/08)
21
21
--------------------------------------
Original file line number Diff line number Diff line change @@ -346,12 +346,10 @@ async def _configured_protocol_interface(
346
346
ssl = ssl_context ,
347
347
)
348
348
except _CertificateError :
349
- transport .abort ()
350
349
# Raise _CertificateError directly like we do after match_hostname
351
350
# below.
352
351
raise
353
352
except (OSError , SSLError ) as exc :
354
- transport .abort ()
355
353
# We raise AutoReconnect for transient and permanent SSL handshake
356
354
# failures alike. Permanent handshake failures, like protocol
357
355
# mismatch, will be turned into ServerSelectionTimeoutErrors later.
You can’t perform that action at this time.
0 commit comments