[New-bugs-announce] [issue35913] asyncore: allow handling of half closed connections

Isaac Boukris report at bugs.python.org
Wed Feb 6 10:51:04 EST 2019


New submission from Isaac Boukris <iboukris at gmail.com>:

When recv() return 0 we may still have data to send. Add a handler for this case, which may happen with some protocols, notably http1.0 ver.

Also, do not call recv with a buffer size of zero to avoid ambiguous return value (see recv man page).

----------
components: Library (Lib)
messages: 334944
nosy: Isaac Boukris
priority: normal
severity: normal
status: open
title: asyncore: allow handling of half closed connections
type: behavior

_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue35913>
_______________________________________


More information about the New-bugs-announce mailing list