celluloid / reel

UNMAINTAINED: See celluloid/celluloid#779 - Celluloid::IO-powered web server
https://celluloid.io
MIT License
596 stars 87 forks source link

fix for #150 #162

Closed Mask closed 9 years ago

Mask commented 9 years ago

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.

Mask commented 9 years ago

BTW: the SSL certs in fixtures have expired. This is causing test failures.

tarcieri commented 9 years ago

I tried merging this, but the specs are failing (unrelated to the SSL cert issues, those are now fixed) so I ended up reverting.

Mask commented 9 years ago

Ah - this is due to the switch to a new rspec version. I'll update the new test and create a new PR