commit | b0f3efd4c8ddd85575db5416425e78e327015981 | [log] [tgz] |
---|---|---|
author | Josh Gao <jmgao@google.com> | Tue Mar 20 14:25:03 2018 -0700 |
committer | Josh Gao <jmgao@google.com> | Wed Mar 28 23:36:34 2018 -0700 |
tree | 1f4590267da189f849ded2c62cb98fd03bd9ba72 | |
parent | c9f9e511f41c3b45cc9b47fd0e0b3b7c92457567 [diff] |
adb: bump the local socket backlog to the maximum. The listen backlog seems to be more meaningful on Darwin than on Linux, resulting in connections failing with ECONNRESET. Bump it up to the maximum supported value to make this less likely. 128 pending connections ought to be enough for anybody. Bug: http://b/74616284 Test: python test_device.py Change-Id: I5fe0205924188cf18ca1fc1204f923ab5523eeb2 (cherry picked from commit bf243a61289b7a4aa87962f1b697472bbd4f07fa)