Bugfix endless aiohttp streamreader (#5540)

This commit is contained in:
Pascal Vizeli 2017-01-24 20:43:36 +01:00 committed by GitHub
parent c972e90580
commit 92858554e6

View file

@ -87,6 +87,8 @@ def async_aiohttp_proxy_stream(hass, request, stream_coro, buffer_size=102400,
while True:
data = yield from stream.content.read(buffer_size)
if not data:
break
response.write(data)
except asyncio.TimeoutError: