Commit 34af675c authored by Aaron Hill's avatar Aaron Hill
Browse files

Revert "Treat IncompleteRead as a disconnect or timeout, and reconnect."

This reverts commit c841a09a.
parent 64494d28
......@@ -230,7 +230,7 @@ class Stream(object):
self.snooze_time = self.snooze_time_step
self.listener.on_connect()
self._read_loop(resp)
except (Timeout, ssl.SSLError, requests.compat.IncompleteRead) as exc:
except (Timeout, ssl.SSLError) as exc:
# This is still necessary, as a SSLError can actually be
# thrown when using Requests
# If it's not time out treat it like any other exception
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment