gevent: don't confound socket timeout with zero read

PYTHON-573
This commit is contained in:
Adam Holmberg
2016-05-26 12:15:52 -05:00
parent acae4c7cbd
commit 897474471f

View File

@@ -135,6 +135,7 @@ class GeventConnection(Connection):
log.debug("Exception in read for %s: %s", self, err)
self.defunct(err)
return # leave the read loop
continue
if self._iobuf.tell():
self.process_io_buffer()