commit | d1e2300a719d1effeea85cda9ac5a8f795c38390 | [log] [tgz] |
---|---|---|
author | Josh Gao <jmgao@google.com> | Mon Apr 18 11:09:28 2016 -0700 |
committer | Josh Gao <jmgao@google.com> | Mon Apr 18 15:46:25 2016 -0700 |
tree | 19270c3e142f28ce527af08888f69da70b4d8e12 | |
parent | 988e9bc1f80230c99f7b171b6669cdec77c62396 [diff] |
adb: increase the FD table size on Win32. 128 maximum FDs is a pretty low limit, which can easily be exhausted by port forwarding. Bump the maximum up to 2048, and add a test that checks whether we can actually use a few hundred sockets. Bug: https://code.google.com/p/android/issues/detail?id=12141 Bug: http://b/28246942 Change-Id: Ia4a2ff776e8e58ec13378756f19d80392679ece9 (cherry picked from commit b31e17107cfe5fe34e952657b846b1f93f568e88)