HomePhabricator

Fix EOF handling in AdbClient (take 2)

Authored by labath on May 5 2016, 1:42 AM.

Description

Fix EOF handling in AdbClient (take 2)

Summary:
AdbClient would spin in a loop in ReadAllBytes in case the remote end was closed before reading
the requested number of bytes. Make sure we return an error in this case instead.

Reviewers: ovyalov

Subscribers: tberghammer, danalbert, lldb-commits

Differential Revision: http://reviews.llvm.org/D19916

llvm-svn: 268617

Details

Committed
labathMay 5 2016, 1:42 AM
Differential Revision
D19916: Fix EOF handling in AdbClient (take 2)
Parents
rGc4f309a6bd20: Fix syntax errors in TestEnumTypes
Branches
Unknown
Tags
Unknown