commit | 3898f7d28de7c3ce3886b30c10e2aa75bdbb9661 | [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 | 357416afa06568dc58e38b40c38bc45f44baf773 | |
parent | 5b4708200c42552a795d19c758a5844dad434c93 [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