haskell/HTTP — pull request #26 by JPMoresmau (2012-03-28 15:36:28+00:00)
Title: empty connnection pool in case connection has become invalid

I've had a problem, when I downloaded a lot of files from the site site, with a ErrorClosed being reported. The connection was reporting it was closed, but I think it was still being used from the connection pool. Emptying the pool on error fixed the problem. Maybe we could only remove the same connection...