summaryrefslogtreecommitdiffstats
path: root/Lib/test/test_asyncio/test_sslproto.py
Commit message (Collapse)AuthorAgeFilesLines
* [3.6] bpo-33037: Skip sending/receiving after SSL transport closing ↵Andrew Svetlov2018-03-101-19/+36
| | | | | | (GH-6044) (GH-6058) * Skip write()/data_received() if sslpipe is destroyed. (cherry picked from commit 5e80a71ab67045fecec46573a1892e240b569ace)
* bpo-31632: fix set_protocol() in _SSLProtocolTransport (GH-3817) (GH-3817) ↵Miss Islington (bot)2017-10-191-0/+8
| | | | | (#4052) (cherry picked from commit ea2ef5d0ca869d4550820ed53bdf56013dbb9546)
* Revert "[3.6] bpo-29406: asyncio SSL contexts leak sockets after calling ↵Yury Selivanov2017-06-111-34/+0
| | | | | close with certain servers (GH-409) (#2062)" (#2112) This reverts commit 6e14fd2a14cef6ea0709ad234ab41198c2195591.
* [3.6] bpo-29406: asyncio SSL contexts leak sockets after calling close with ↵Yury Selivanov2017-06-101-0/+34
| | | | | | | | | | | | | | | certain servers (GH-409) (#2062) * bpo-29406: asyncio SSL contexts leak sockets after calling close with certain servers (#409) (cherry picked from commit a608d2d5a7f1aabe9bcbfc220135c5e126189390) * [3.6] bpo-29406: asyncio SSL contexts leak sockets after calling close with certain servers (GH-409) * asyncio SSL contexts leak sockets after calling close with certain servers * cleanup _shutdown_timeout_handle on _fatal_error. (cherry picked from commit a608d2d5a7f1aabe9bcbfc220135c5e126189390)
* Closing transport during handshake process leaks socket (#480) (#2044)Yury Selivanov2017-06-091-0/+15
|
* bpo-29742: asyncio get_extra_info() throws exception (#525) (#645)Yury Selivanov2017-03-121-0/+12
|
* Issue #28990: Fix SSL hanging if connection is closed before handshake ↵Yury Selivanov2016-12-161-0/+10
| | | | completed.
* Issue #28613: Fix get_event_loop() to return the current loopYury Selivanov2016-11-041-0/+1
| | | | when called from coroutines or callbacks.
* asyncio: Add set_protocol / get_protocol methods to TransportsYury Selivanov2016-09-121-0/+1
|
* asyncio: Fix NameError in sslproto _fatal_error()Yury Selivanov2016-06-281-0/+16
| | | | Patch by Richard Walker.
* Issue #26778: Fixed "a/an/and" typos in code comment and documentation.Serhiy Storchaka2016-04-171-1/+1
|
* Issue #23243, asyncio: Emit a ResourceWarning when an event loop or a transportVictor Stinner2015-01-291-4/+3
| | | | is not explicitly closed. Close also explicitly transports in test_sslproto.
* asyncio: Fix SSLProtocol.eof_received()Victor Stinner2015-01-281-11/+29
| | | | Wake-up the waiter if it is not done yet.
* asyncio: sync with TulipVictor Stinner2015-01-271-0/+5
| | | | | | | | | | * Remove unused SSLProtocol._closing attribute * test_sslproto: skip test if ssl module is missing * Python issue #23208: Don't use the traceback of the current handle if we already know the traceback of the source. The handle may be more revelant, but having 3 tracebacks (handle, source, exception) becomes more difficult to read. The handle may be preferred later but it requires more work to make this choice.
* asyncio: Close transports in testsVictor Stinner2015-01-151-0/+4
| | | | | | | | | * Use test_utils.run_briefly() to execute pending calls to really close transports * sslproto: mock also _SSLPipe.shutdown(), it's need to close the transport * pipe test: the test doesn't close explicitly the PipeHandle, so ignore the warning instead * test_popen: use the context manager ("with p:") to explicitly close pipes
* Issue #23197, asyncio: On SSL handshake failure, check if the waiter isVictor Stinner2015-01-141-0/+45
cancelled before setting its exception. * Add unit tests for this case. * Cleanup also sslproto.py