Chromium Code Reviews| Index: src/debug-agent.cc |
| =================================================================== |
| --- src/debug-agent.cc (revision 1552) |
| +++ src/debug-agent.cc (working copy) |
| @@ -44,6 +44,9 @@ |
| void DebuggerAgent::Run() { |
| const int kOneSecondInMicros = 1000000; |
| + // Allow this socket to reuse port even if still in TIME_WAIT. |
| + server_->SetReuseAddress(true); |
| + |
| // First bind the socket to the requested port. |
| bool bound = false; |
| while (!bound && !terminate_) { |