Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
home:plasmaregataos
python-urllib3
openssl-3.2.patch
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File openssl-3.2.patch of Package python-urllib3
Index: urllib3-2.1.0/changelog/3268.bugfix.rst =================================================================== --- /dev/null +++ urllib3-2.1.0/changelog/3268.bugfix.rst @@ -0,0 +1 @@ +Fixed handling of OpenSSL 3.2.0 new error message for misconfiguring an HTTP proxy as HTTPS. Index: urllib3-2.1.0/src/urllib3/connection.py =================================================================== --- urllib3-2.1.0.orig/src/urllib3/connection.py +++ urllib3-2.1.0/src/urllib3/connection.py @@ -864,6 +864,7 @@ def _wrap_proxy_error(err: Exception, pr is_likely_http_proxy = ( "wrong version number" in error_normalized or "unknown protocol" in error_normalized + or "record layer failure" in error_normalized ) http_proxy_warning = ( ". Your proxy appears to only use HTTP and not HTTPS, " Index: urllib3-2.1.0/test/with_dummyserver/test_socketlevel.py =================================================================== --- urllib3-2.1.0.orig/test/with_dummyserver/test_socketlevel.py +++ urllib3-2.1.0/test/with_dummyserver/test_socketlevel.py @@ -1297,7 +1297,8 @@ class TestSSL(SocketDummyServerTestCase) self._start_server(socket_handler) with HTTPSConnectionPool(self.host, self.port, ca_certs=DEFAULT_CA) as pool: with pytest.raises( - SSLError, match=r"(wrong version number|record overflow)" + SSLError, + match=r"(wrong version number|record overflow|record layer failure)", ): pool.request("GET", "/", retries=False)
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor