Closed Mask closed 9 years ago
BTW: the SSL certs in fixtures have expired. This is causing test failures.
I tried merging this, but the specs are failing (unrelated to the SSL cert issues, those are now fixed) so I ended up reverting.
Ah - this is due to the switch to a new rspec version. I'll update the new test and create a new PR
This seems to fix #150 (and maybe #122 too). If the connection is lost during the response handling, the exception handler left the connection object in an inconsistent state. The next iteration of the request loop would then fail with the StateError.