Skip to content

Commit

Permalink
fix #598
Browse files Browse the repository at this point in the history
  • Loading branch information
t-8ch committed Apr 27, 2015
1 parent c92fe45 commit dfb5d49
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions urllib3/response.py
Original file line number Diff line number Diff line change
Expand Up @@ -455,4 +455,6 @@ def read_chunked(self, amt=None, decode_content=None):
break

# We read everything; close the "file".
if self._original_response:
self._original_response.close()
self.release_conn()

0 comments on commit dfb5d49

Please sign in to comment.