Staging
v0.8.1
v0.8.1
Revision 8fa398d5cecec80990c5642b081f52cbbc6a05eb authored by Miss Islington (bot) on 07 June 2018, 22:49:34 UTC, committed by Victor Stinner on 07 June 2018, 22:49:34 UTC
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. (cherry picked from commit 79790bc35fe722a49977b52647f9b5fe1deda2b7) Co-authored-by: Victor Stinner <vstinner@redhat.com>
1 parent 0aee3be
File | Mode | Size |
---|---|---|
cache.c | -rw-r--r-- | 12.2 KB |
cache.h | -rw-r--r-- | 2.3 KB |
connection.c | -rw-r--r-- | 54.0 KB |
connection.h | -rw-r--r-- | 4.6 KB |
cursor.c | -rw-r--r-- | 30.6 KB |
cursor.h | -rw-r--r-- | 2.4 KB |
microprotocols.c | -rw-r--r-- | 4.4 KB |
microprotocols.h | -rw-r--r-- | 2.0 KB |
module.c | -rw-r--r-- | 14.9 KB |
module.h | -rw-r--r-- | 1.9 KB |
prepare_protocol.c | -rw-r--r-- | 4.3 KB |
prepare_protocol.h | -rw-r--r-- | 1.5 KB |
row.c | -rw-r--r-- | 9.3 KB |
row.h | -rw-r--r-- | 1.2 KB |
statement.c | -rw-r--r-- | 16.3 KB |
statement.h | -rw-r--r-- | 2.0 KB |
util.c | -rw-r--r-- | 4.5 KB |
util.h | -rw-r--r-- | 1.6 KB |
Computing file changes ...