WebSocket: Connecting to localhost:8880 takes one second on Windows
authoryutak@chromium.org <yutak@chromium.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Fri, 28 Oct 2011 05:39:13 +0000 (05:39 +0000)
committeryutak@chromium.org <yutak@chromium.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Fri, 28 Oct 2011 05:39:13 +0000 (05:39 +0000)
commitce523497bf82e71662f482a9cff57281ac5f67cb
treea82c3bcd80130d215bcb181cb58c2ae4c8b4eea8
parentb13c269c5301ef5b7fb806a3d65cd54ad3d39896
WebSocket: Connecting to localhost:8880 takes one second on Windows
https://bugs.webkit.org/show_bug.cgi?id=64788

Reviewed by Dirk Pranke.

* Scripts/webkitpy/layout_tests/servers/websocket_server.py:
Bind to "localhost" instead of "127.0.0.1" to let pywebsocket listen on both
IPv4 and IPv6 addresses. This should prevent the test reserved-opcodes.html
from timing out on Windows, because this test tries to open a lot of
connections to localhost and each attempt takes one second to fall back from
IPv6 to IPv4 on Windows (I have no idea why Windows works like this, though).

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@98693 268f45cc-cd09-0410-ab3c-d52691b4dbfc
Tools/ChangeLog
Tools/Scripts/webkitpy/layout_tests/servers/websocket_server.py