jordansissel/ruby-ftw — pull request #23 by jsvd (2014-09-22 17:41:03+00:00)
Title: Disable connections after EOFerror and clean on next fetch

A read_body on a Request can fail w/ EOFerror, leaving the Connection up, marked on the pool, but unusable.
This patch closes the socket and marks the connection as disconnected. On the next fetch from pool all marked connections that are not connected will be deleted.