Skip to content

Commit

Permalink
Merge pull request #93 from KeepSafe/proxy_connector_eof_fix
Browse files Browse the repository at this point in the history
fix #82: read body until eof
  • Loading branch information
asvetlov committed Jul 2, 2014
2 parents 62a62c1 + 1d391bf commit ea56603
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion aiohttp/client.py
Original file line number Diff line number Diff line change
Expand Up @@ -153,7 +153,7 @@ def request(method, url, *,

url = urllib.parse.urldefrag(r_url)[0]
if url:
resp.close()
yield from asyncio.Task(resp.read_and_close(), loop=loop)
continue

break
Expand Down

0 comments on commit ea56603

Please sign in to comment.