commit | bc4dbfafb137f513348504a43241950d7b75ff2d | [log] [tgz] |
---|---|---|
author | Josh Gao <jmgao@google.com> | Mon Nov 12 12:38:59 2018 -0800 |
committer | Josh Gao <jmgao@google.com> | Mon Nov 12 20:54:39 2018 -0800 |
tree | c874d2ab4c9a3f8ca3d479ffc87ef5e7f24b2fb4 | |
parent | 10d079a37b538ae346d6287840b33bfc9b6cb8ab [diff] |
adb: fix NonblockingFdConnection's behavior with large writes. Large opportunistic writes would perform a write without updating writable_ or waking up the polling thread, which resulted in the worker thread never polling with POLLOUT. Test: adb_benchmark Change-Id: Ifed3b97a4b647b539dcd2df858572fa7da9a22d0