[New-bugs-announce] [issue30861] StreamReader does not return reamaing and ready data buffer before raise the Exeption
pfreixes
report at bugs.python.org
Wed Jul 5 16:55:08 EDT 2017
New submission from pfreixes:
Current implementation of StreamReader does not take care of the status of the buffer, once an exception has been set via `set_exception` any call to the read methods won't be able to get the missing data still pending to be processed.
>From the point of view of the developer, if there is no scheduled task for waiting data into the Streamreader between a network data gets into the buffer socket and a closing connection by the other peer arrives, the developer won't be able to gather the previous data.
----------
components: asyncio
messages: 297781
nosy: pfreixes, yselivanov
priority: normal
severity: normal
status: open
title: StreamReader does not return reamaing and ready data buffer before raise the Exeption
versions: Python 3.4, Python 3.5, Python 3.6, Python 3.7
_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue30861>
_______________________________________
More information about the New-bugs-announce
mailing list