summaryrefslogtreecommitdiff
path: root/libutils/Unicode.cpp
diff options
context:
space:
mode:
authorJosh Gao <jmgao@google.com>2018-03-19 13:20:29 -0700
committerJosh Gao <jmgao@google.com>2018-03-21 15:13:07 -0700
commit184f4805476af19c2e58dd96c2ce6aa241efaacf (patch)
tree910d3b86985ca7bc9ad3544ba796a6e0a824875b /libutils/Unicode.cpp
parent1222abc75b7854979e6a9f982004985179bcbede (diff)
adb: don't immediately close a socket when write fails.
When we fail to write to a local socket peer, we might still have data queued up to send to the other side. Defer closing the socket until we've failed to both read and write. Bug: http://b/74616284 Test: python test_device.py Change-Id: Ifc4b8fe95369b4872e475c2ae4ee611dd2d8b9d7
Diffstat (limited to 'libutils/Unicode.cpp')
0 files changed, 0 insertions, 0 deletions