Skip to content

Commit

Permalink
connection leak fix for aio-libs#253
Browse files Browse the repository at this point in the history
  • Loading branch information
nbraem committed Jan 21, 2015
1 parent 40b43ed commit 73016c4
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion aiohttp/connector.py
Original file line number Diff line number Diff line change
Expand Up @@ -199,7 +199,6 @@ def _release(self, key, req, transport, protocol, *, should_close=False):

reader = protocol.reader
if should_close or (reader.output and not reader.output.at_eof()):
self._conns.pop(key, None)
transport.close()
else:
conns = self._conns.get(key)
Expand Down

0 comments on commit 73016c4

Please sign in to comment.