mattolson/heroku_rails_deflate — pull request #8 by xentek (2013-07-11 04:11:27+00:00)
Title: Ensure we close the body to avoid deadlock error

This commit is should fix the "ThreadError; deadlock; recursive locking" error was reported in #4, though I am not certain of it yet as I only get this error intermittently.

I'm running this patch in production right now and have a search on my logs set up to notify me if the error occurs again. I'll report my results back in a few days.

At a minimum, this change does not seem to interfere with the gem's normal functionality, and should be safe to merge.