diff options
Diffstat (limited to 'src/client.cpp')
-rw-r--r-- | src/client.cpp | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/src/client.cpp b/src/client.cpp index 617af62..c6bcd65 100644 --- a/src/client.cpp +++ b/src/client.cpp | |||
@@ -707,7 +707,12 @@ namespace twitter { | |||
707 | _backoff_amount = std::chrono::seconds(5); | 707 | _backoff_amount = std::chrono::seconds(5); |
708 | } | 708 | } |
709 | } else { | 709 | } else { |
710 | break; | 710 | if (_backoff_type == backoff::none) |
711 | { | ||
712 | _established = false; | ||
713 | _backoff_type = backoff::network; | ||
714 | _backoff_amount = std::chrono::milliseconds(0); | ||
715 | } | ||
711 | } | 716 | } |
712 | } | 717 | } |
713 | 718 | ||