commit | ca76c2c8c866ce988b2d350d374dea9b8d8ae207 | [log] [tgz] |
---|---|---|
author | Brian Muramatsu <btmura@google.com> | Mon May 03 14:21:06 2010 -0700 |
committer | Brian Muramatsu <btmura@google.com> | Mon May 03 14:21:06 2010 -0700 |
tree | ec94cd6093c6dafc633b9a7d26ae9d6bc60d2028 | |
parent | 830e9985cdb2897bea02b9fd0c3820af5a40be67 [diff] |
Fix CtsTestServer Socket Deadlocks Bug 2558977 When one thread was blocking on socket.accept() and another thread was trying to call socket.close(), there would be a deadlock that would cause the WebView tests to hang. Instead of having another thread call socket.close(), issue a request to a shutdown url that the socket.accept() thread will recognize and subsequently call socket.close() in the same thread to fix the issue. Change-Id: I9152b5bf39893998ea44fcb31e18699652f94e57