rails/rails — pull request #7130 by kennyj (2012-07-22 15:49:04+00:00)
Title: Restore connection_id on error.

When closing proxy body, we restore connection_id. But when getting error, we don't restore one.
I guess we should restore connection_id.

I wanted to remove duplicated codes, I added private method.