summaryrefslogtreecommitdiff
path: root/libutils/Unicode.cpp
diff options
context:
space:
mode:
authorTao Wu <lepton@google.com>2016-09-21 15:41:05 -0700
committerTao Wu <lepton@google.com>2016-09-21 19:45:54 -0700
commitea25334bba5694bf3836117842c376995836fad5 (patch)
treee059364b0b2e767fe8ae23df93845d85aa93ab47 /libutils/Unicode.cpp
parent63e7b06a4332422b6aafde6b09e18f7d314c3d93 (diff)
We should break from loop after getting connected.
Now it always connects to multiple address of same host and just return one socket while other sockets get leaked. Also, it cause trouble on machine with dual stack. adb connect localhost:* just connect to IPv4 and IPv6 at same time and finally it doesn't work since emulator can only handle one adb connection. To test this, start an emulator with non-standar port and killall adb daemon on linux work station and then do following test. Test: adb connect localhost:12345;lsof -n -p `pgrep adb` Change-Id: I1e0f6824efc1db8e179377de068e3b5535aff3f7
Diffstat (limited to 'libutils/Unicode.cpp')
0 files changed, 0 insertions, 0 deletions