[issue30861] StreamReader does not return reamaing and ready data buffer before raise the Exeption

Guido van Rossum report at bugs.python.org
Fri Jul 7 11:06:24 EDT 2017


Guido van Rossum added the comment:

But half closed state is already supported.

On Jul 7, 2017 2:37 AM, "Dima Tisnek" <report at bugs.python.org> wrote:

>
> Dima Tisnek added the comment:
>
> It seems Guido sets a higher bar on the proposed change.
>
> @pfreixes, if you can show that this change is needed to implement "TCP
> half-closed" state (i.e. when remote calls shutdown(SHUT_WR) after it's
> done sending data but continues to recv(), then local is expected to read
> out the data, and then confirm reception and issue it's own
> shutdown(SHUT_WR) so that remote gets the acknowledgement), then there
> would be no question.
>
> ----------
>
> _______________________________________
> Python tracker <report at bugs.python.org>
> <http://bugs.python.org/issue30861>
> _______________________________________
>

----------

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue30861>
_______________________________________


More information about the Python-bugs-list mailing list