Please sign in to comment.
Fix connection pooling bug: don't close before reading.
If the connection pool is full when a connection is returned, the connection was being closed before the response body was read. Now, the close() method is not explicitly called in put_http_connection; instead, the connection will be closed when the object is garbage collected.
- Loading branch information...