fxrhan
c447cb6a2a
fix(httpshandler): close socket when SSL handshake fails with exception
...
When iterating through SSL/TLS protocols during connection establishment, the socket was not being closed when wrap_socket raised an exception. This caused socket resource leaks when connecting to servers that reject certain protocol versions.
The fix adds sock.close() calls to both exception handlers, matching the existing pattern used for non-exception failure cases.
2026-01-03 22:13:34 +05:30
Miroslav Stampar
f69a63b2b6
Year bump
2026-01-01 19:12:07 +01:00
Miroslav Stampar
99546c77c7
Fixes #5939
2025-08-14 11:05:36 +02:00
Miroslav Stampar
1d7493d243
Patch for #5897
2025-05-08 23:54:39 +02:00
Miroslav Stampar
772eaa2aee
Minor patch
2025-02-26 17:36:02 +01:00
Miroslav Stampar
efd5e2b62b
Patch related to the #4462
2025-02-26 16:43:59 +01:00
Miroslav Stampar
ed4fc46217
Year bump
2025-01-02 00:51:30 +01:00
Miroslav Stampar
9a87f47777
Trivial updates
2024-06-26 13:21:01 +02:00
Miroslav Stampar
c84f141b89
Bumping copyright year
2024-01-03 23:11:52 +01:00
Sheldon Klassen
e1043173d7
Disabled hostname and certificate validation for TLSv1.3 support. ( #5395 )
2023-04-24 15:06:57 +02:00
Miroslav Stampar
3ad6727d0c
Potential patch for #5392
2023-04-17 13:35:24 +02:00
Miroslav Stampar
05293e01a4
Year and version bump
2023-01-02 23:24:59 +01:00
Miroslav Stampar
3d2f89345f
Fixes #5242
2022-11-29 15:05:34 +01:00
Miroslav Stampar
6aaf7d3960
Fixes #5240
2022-11-22 00:28:20 +01:00
Miroslav Stampar
eda669e10b
Fixes #5216
2022-11-01 23:26:15 +01:00
Miroslav Stampar
212f28d1ad
Fixes --check-tor (reported privately)
2022-08-22 16:25:55 +02:00
Miroslav Stampar
6276db1d80
Copyright year bump
2022-01-03 11:30:34 +01:00
Miroslav Stampar
69900a6c6e
Fixes #4849
2021-10-07 00:29:31 +02:00
Miroslav Stampar
d95406016c
Update regarding #4795
2021-09-08 21:01:41 +02:00
Miroslav Stampar
31fe3453a2
Copyright year bump
2020-12-31 11:46:27 +01:00
Miroslav Stampar
32deef59c3
Fixes #4499
2020-12-28 19:09:31 +01:00
Miroslav Stampar
b039c35f2b
Fixes #4479
2020-12-18 12:38:15 +01:00
Miroslav Stampar
815d417a9e
Fixes #4462
2020-12-04 11:40:09 +01:00
Miroslav Stampar
0c48d0dbec
Minor update on request
2020-08-23 22:11:24 +02:00
Miroslav Stampar
a42ec7d9cb
Trivial refactoring
2020-08-13 16:22:09 +02:00
Miroslav Stampar
ce9285381d
Fixes #4158
2020-04-07 02:07:54 +02:00
Miroslav Stampar
4efd745b5c
Copyright year bump
2020-01-01 13:25:15 +01:00
Miroslav Stampar
6ab1cf8caa
Minor cleanup
2019-11-26 16:22:23 +01:00
Miroslav Stampar
45a2d2a83f
Bug fix (TLS/SNI sites misbehaved over --tor/--proxy)
2019-11-15 22:42:56 +01:00
Miroslav Stampar
87f6db467d
Minor patches
2019-11-08 23:45:30 +01:00
Miroslav Stampar
9c247b3833
Last preparations for DREI
2019-05-08 12:47:52 +02:00
Miroslav Stampar
d8c62e0beb
Minor update
2019-05-03 01:20:10 +02:00
Miroslav Stampar
dbd93e2670
Minor refactoring (drei stuff)
2019-03-29 02:28:16 +01:00
Miroslav Stampar
c27820dc0e
Some more updates
2019-03-27 16:36:32 +01:00
Miroslav Stampar
2f53014685
God help us all with this Python3 non-sense
2019-03-27 13:33:46 +01:00
Miroslav Stampar
5a71210c8a
Update regarding #2940 (PEP 394)
2019-03-21 14:00:09 +01:00
Miroslav Stampar
7672b9a0a2
Baby steps (2 to 3 at a time)
2019-01-22 00:40:48 +01:00
Miroslav Stampar
590e8ed5ae
update_copyright_year()
2019-01-05 21:38:52 +01:00
Miroslav Stampar
b93284530e
Patch related to the #3139
2018-06-08 15:13:50 +02:00
Miroslav Stampar
fa4c1c5251
Some more PEPing (I hope that I haven't broke anything)
2018-03-13 13:45:42 +01:00
Miroslav Stampar
8a122401aa
Update of copyright years
2018-01-02 00:48:10 +01:00
Miroslav Stampar
8c6b761044
Replacing doc/COPYING to LICENSE
2017-10-11 14:50:46 +02:00
Miroslav Stampar
55272f7a3b
New version preparation
2017-01-02 14:19:18 +01:00
Miroslav Stampar
6da2e49100
Fixes #2261
2016-11-04 15:04:38 +01:00
Miroslav Stampar
ef79bbf7d2
Minor patch
2016-08-02 12:38:57 +02:00
Miroslav Stampar
d0d676ccce
Update of copyright string
2016-01-06 00:06:12 +01:00
Miroslav Stampar
e4ed1c058b
Minor error message improvement (SSL issues)
2015-12-18 17:15:59 +01:00
Miroslav Stampar
b5b3411f16
Fixes #1574
2015-12-06 23:49:22 +01:00
Miroslav Stampar
c7ec1534a6
Patch related to #1256
2015-11-25 13:04:34 +01:00
Miroslav Stampar
f494004f44
Switching to the getSafeExString (where it can be used)
2015-09-10 15:51:33 +02:00