This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author giampaolo.rodola
Recipients Isaac Boukris, asvetlov, eamanu, giampaolo.rodola, josiahcarlson, stutzbach
Date 2019-02-06.19:58:13
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1549483093.98.0.0697272233255.issue35913@roundup.psfhosted.org>
In-reply-to
Content
> When recv() return 0 we may still have data to send.

It seems recv() returning b"" is an alias for "connection lost". E.g. in Twisted:
https://github.com/twisted/twisted/blob/06c891502be9f6389451fcc959cad5485f55d653/src/twisted/internet/tcp.py#L227-L248
History
Date User Action Args
2019-02-06 19:58:15giampaolo.rodolasetrecipients: + giampaolo.rodola, josiahcarlson, stutzbach, asvetlov, eamanu, Isaac Boukris
2019-02-06 19:58:13giampaolo.rodolasetmessageid: <1549483093.98.0.0697272233255.issue35913@roundup.psfhosted.org>
2019-02-06 19:58:13giampaolo.rodolalinkissue35913 messages
2019-02-06 19:58:13giampaolo.rodolacreate