Antoine Pitrou added the comment: Sorry for the delay. I am not sure I understand your concern here:
> If the user reads the exact amount of bytes the server sent, read() on > the > socket will never have a chance to return '' and inform the user > about the connection termination. Certainly read(), called once again, would return ''? That's how I understand your unit test anyway. ---------- _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue16298> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com