Merge branch 'fix-premature-eof' of https://github.com/a-ba/docker-py into a-ba-fix-premature-eof

Conflicts:
	docker/client.py
This commit is contained in:
Joffrey F 2015-07-09 11:12:01 -07:00
commit 96a5b29a4a
1 changed files with 1 additions and 1 deletions

View File

@ -215,7 +215,7 @@ class ClientBase(requests.Session):
break
_, length = struct.unpack('>BxxxL', header)
if not length:
break
continue
data = response.raw.read(length)
if not data:
break