[issue7322] Socket timeout can cause file-like readline() method to lose data
R. David Murray
report at bugs.python.org
Thu Oct 20 22:40:43 CEST 2011
R. David Murray <rdmurray at bitdance.com> added the comment:
Your suggestion sounds good to me.
I still think that it is a common failure mode in a client server transaction for the server to fail to send a (complete) line that the client is expecting, and vice versa, requiring a timeout, but not necessarily a "restart from scratch". Often the client/server protocol has a useful checkpoint to restart from short of start from scratch. In the case of many protocols, that would be "client issues a new command".
----------
_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue7322>
_______________________________________
More information about the Python-bugs-list
mailing list