haskell/HTTP — pull request #49 by ian-ross (2014-02-05 17:12:59+00:00)
Title: Fix #14: connection pool tries to reuse closed connections

If a reply contains a "Connection: close" header, the connection is
closed and removed from the connection pool. This fixes the problem
where HTTP tried to reuse connections that had been closed at the
server end, leading to "broken pipe" errors.