Xavier de Gaye <xdeg...@gmail.com> added the comment: > I think the best would be to not handle POLLHUP events while POLLIN > is set, so that the handlers can have a chance to drain the input > socket buffer.
Ok. > But it's a separate issue, could you create a new one? The test case fails if the data has not been fully received by the client. Do you mean that this new issue must be fixed first. Why a new issue, after all this is the handling of a half-duplex disconnection on the remote side ? ---------- _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue12498> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com