| Commit message (Collapse) | Author | Age |
|
|
| |
The docstring for `BufferedProtocol` states that the class is still an "experimental API", but it has been considered stable since 3.8.
|
|
|
|
|
|
| |
* bpo-35394: Add empty slots to abstract asyncio protocols
* Add missing test file
|
|
|
|
|
|
| |
_feed_data_to_bufferred_proto() renamed to
_feed_data_to_buffered_proto() ("bufferred" => "buffered").
Typo spotted by Nathaniel J. Smith.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
The cancellation of an overlapped WSARecv() has a race condition
which causes data loss because of the current implementation of
proactor in asyncio.
No longer cancel overlapped WSARecv() in _ProactorReadPipeTransport
to work around the race condition.
Remove the optimized recv_into() implementation to get simple
implementation of pause_reading() using the single _pending_data
attribute.
Move _feed_data_to_bufferred_proto() to protocols.py.
Remove set_protocol() method which became useless.
|
|
|
|
|
|
|
|
|
|
|
| |
In this commit:
* Support BufferedProtocol in set_protocol() and start_tls()
* Fix proactor to cancel readers reliably
* Update tests to be compatible with OpenSSL 1.1.1
* Clarify BufferedProtocol docs
* Bump TLS tests timeouts to 60 seconds; eliminate possible race from start_serving
* Rewrite test_start_tls_server_1
|
|
|
| |
Most of them have been added in 3.7.
|
| |
|
| |
|
| |
|
| |
|
|
|
|
| |
Thanks to Vajrasky Kok for discovering some of them.
|
| |
|
| |
|
| |
|
| |
|
|
|