summaryrefslogtreecommitdiffstats
path: root/Lib/test/ssl_servers.py
Commit message (Collapse)AuthorAgeFilesLines
* bpo-40275: Avoid importing socket in test.support (GH-19603)Serhiy Storchaka2020-04-251-1/+2
| | | | | | * Move socket related functions from test.support to socket_helper. * Import socket, nntplib and urllib.error lazily in transient_internet(). * Remove importing multiprocess.
* bpo-38614: Use test.support.LOOPBACK_TIMEOUT constant (GH-17554)Victor Stinner2019-12-101-1/+1
| | | | | Replace hardcoded timeout constants in tests with LOOPBACK_TIMEOUT of test.support, so it's easier to ajdust this timeout for all tests at once.
* Trivial cleanups following bpo-31370 (#3649)Antoine Pitrou2017-09-181-1/+1
| | | | | | * Trivial cleanups following bpo-31370 * Also cleanup the "importlib._bootstrap_external" module
* bpo-29919: Remove unused imports found by pyflakes (#137)Victor Stinner2017-03-271-1/+0
| | | Make also minor PEP8 coding style fixes on modified imports.
* Fix references to Python 3’s socketserver (lowercase) moduleMartin Panter2016-09-221-1/+1
|
* Add a --ciphers option to Lib/test/ssl_servers.pyAntoine Pitrou2014-04-171-0/+4
|
* Use ssl.create_default_context in Lib/test/ssl_servers.pyAntoine Pitrou2014-04-171-2/+2
|
* Issue #17107: Test client-side SNI support in urllib.request thanks to the ↵Antoine Pitrou2013-02-051-3/+5
| | | | | | new server-side SNI support in the ssl module. Initial patch by Daniel Black.
* Issue #16717: get rid of socket.error, replace with OSErrorAndrew Svetlov2012-12-181-1/+1
|
* Issue #13626: Add support for SSL Diffie-Hellman key exchange, through theAntoine Pitrou2011-12-221-0/+4
| | | | SSLContext.load_dh_params() method and the ssl.OP_SINGLE_DH_USE option.
* Issue #13634: Add support for querying and disabling SSL compression.Antoine Pitrou2011-12-201-0/+1
|
* Issue #13627: Add support for SSL Elliptic Curve-based Diffie-HellmanAntoine Pitrou2011-12-191-0/+5
| | | | | key exchange, through the SSLContext.set_ecdh_curve() method and the ssl.OP_SINGLE_ECDH_USE option.
* In the test SSL server, also output the cipher nameAntoine Pitrou2011-12-181-1/+5
|
* Output served URL when running ssl_serversAntoine Pitrou2010-11-051-0/+2
|
* Fix test_httplib when built without threadsAntoine Pitrou2010-11-051-1/+1
|
* Clean up socket closing in test_ssl and test.ssl_serversAntoine Pitrou2010-10-291-1/+4
|
* Use PROTOCOL_SSLv23 in the test HTTPS server, in an attempt to appease the ↵Antoine Pitrou2010-10-131-1/+1
| | | | old Gentoo buildbot
* Print out socket errors in HTTPS server threadAntoine Pitrou2010-10-131-2/+9
|
* Run a simple HTTPS server when Lib/test/ssl_servers.py is run as __main__Antoine Pitrou2010-10-131-1/+59
|
* Issue #9003: http.client.HTTPSConnection, urllib.request.HTTPSHandler andAntoine Pitrou2010-10-131-0/+119
urllib.request.urlopen now take optional arguments to allow for server certificate checking, as recommended in public uses of HTTPS.