Merge branch 'a-ba-fix-premature-eof'

This commit is contained in:
Joffrey F 2015-07-09 11:13:09 -07:00
commit 946eb964ad
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