Changeset 57249 in webkit
- Timestamp:
- Apr 7, 2010 10:00:16 PM (14 years ago)
- Location:
- trunk
- Files:
-
- 9 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/LayoutTests/ChangeLog
r57242 r57249 1 2010-04-07 Eric Seidel <eric@webkit.org> 2 3 Reviewed by Adam Barth. 4 5 WebKit Apache configs only listen on IPv4 addresses, causing random timeouts 6 https://bugs.webkit.org/show_bug.cgi?id=37104 7 8 WebKit Apache configs were only listening on IPv4 loopback (127.0.0.1), however 9 the system will resolve "localhost." to both IPv4 and IPv6 (::1) loopback 10 addreses when IPv6 is enabled. Since DNS lookup returns addresses in random 11 order, we would occasionally fail to make connections to "localhost" addresses 12 if the various network re-tries all happen to resolve to the IPv6 loopback. 13 14 To make matters worse, the kernel has a connection reset throttle which we 15 could trigger if we would repeatedly attempt to connect to ::1 and fail. 16 The trottle would cause a 1 or 2 second delay on the connection, sometimes 17 causing slow tests to time out. 18 19 I also discovered during this investigation that we have some partial support 20 for specifying our apache port numbers at runtime. The support is already incomplete 21 by not accounting for WebSockets or SSL ports. This fix will make our partial 22 support for dynamic apache port numbers even more broken. 23 24 I've added Listen [::1]:PORT directives for 8000, 8080, and 8443 to all 25 platforms (except cygwin which does not have the 8443 directive to begin with). 26 27 * http/conf/apache2-debian-httpd.conf: 28 * http/conf/apache2-httpd.conf: 29 * http/conf/cygwin-httpd.conf: 30 * http/conf/fedora-httpd.conf: 31 * http/conf/httpd.conf: 32 1 33 2010-04-07 Ojan Vafai <ojan@chromium.org> 2 34 -
trunk/LayoutTests/http/conf/apache2-debian-httpd.conf
r55663 r57249 164 164 Listen 127.0.0.1:8080 165 165 Listen 127.0.0.1:8443 166 # We listen to both IPv4 and IPv6 loop-back addresses, but ignore 167 # requests to 8000 from random users on network. 168 # See https://bugs.webkit.org/show_bug.cgi?id=37104 169 Listen [::1]:8000 170 Listen [::1]:8080 171 Listen [::1]:8443 166 172 167 173 # -
trunk/LayoutTests/http/conf/apache2-httpd.conf
r47389 r57249 164 164 Listen 127.0.0.1:8080 165 165 Listen 127.0.0.1:8443 166 # We listen to both IPv4 and IPv6 loop-back addresses, but ignore 167 # requests to 8000 from random users on network. 168 # See https://bugs.webkit.org/show_bug.cgi?id=37104 169 Listen [::1]:8000 170 Listen [::1]:8080 171 Listen [::1]:8443 166 172 167 173 # -
trunk/LayoutTests/http/conf/cygwin-httpd.conf
r39186 r57249 180 180 #Listen 3000 181 181 Listen 127.0.0.1:8080 182 # We listen to both IPv4 and IPv6 loop-back addresses, but ignore 183 # requests to 8000 from random users on network. 184 # See https://bugs.webkit.org/show_bug.cgi?id=37104 185 Listen [::1]:8000 186 Listen [::1]:8080 182 187 183 188 # -
trunk/LayoutTests/http/conf/fedora-httpd.conf
r50050 r57249 139 139 Listen 127.0.0.1:8080 140 140 Listen 127.0.0.1:8443 141 # We listen to both IPv4 and IPv6 loop-back addresses, but ignore 142 # requests to 8000 from random users on network. 143 # See https://bugs.webkit.org/show_bug.cgi?id=37104 144 Listen [::1]:8000 145 Listen [::1]:8080 146 Listen [::1]:8443 141 147 142 148 # -
trunk/LayoutTests/http/conf/httpd.conf
r39186 r57249 182 182 Listen 127.0.0.1:8080 183 183 Listen 127.0.0.1:8443 184 # We listen to both IPv4 and IPv6 loop-back addresses, but ignore 185 # requests to 8000 from random users on network. 186 # See https://bugs.webkit.org/show_bug.cgi?id=37104 187 Listen [::1]:8000 188 Listen [::1]:8080 189 Listen [::1]:8443 184 190 185 191 # -
trunk/WebKitTools/ChangeLog
r57247 r57249 1 2010-04-07 Eric Seidel <eric@webkit.org> 2 3 Reviewed by Adam Barth. 4 5 WebKit Apache configs only listen on IPv4 addresses, causing random timeouts 6 https://bugs.webkit.org/show_bug.cgi?id=37104 7 8 Add warnings that the partial support for specifying what port numbers 9 apache should bind to is even more broken after this fix. 10 11 * Scripts/run-webkit-httpd: 12 * Scripts/run-webkit-tests: 13 1 14 2010-04-07 Shinichiro Hamaji <hamaji@chromium.org> 2 15 -
trunk/WebKitTools/Scripts/run-webkit-httpd
r54314 r57249 43 43 use webkitdirs; 44 44 45 # FIXME: Dynamic HTTP-port configuration in this file is wrong. The various 46 # apache config files in LayoutTests/http/config govern the port numbers. 47 # Dynamic configuration as-written will also cause random failures in 48 # an IPv6 environment. See https://bugs.webkit.org/show_bug.cgi?id=37104. 45 49 # Argument handling 46 50 my $httpdPort = 8000; -
trunk/WebKitTools/Scripts/run-webkit-tests
r56994 r57249 120 120 my $generateNewResults = isAppleMacWebKit() ? 1 : 0; 121 121 my $guardMalloc = ''; 122 # FIXME: Dynamic HTTP-port configuration in this file is wrong. The various 123 # apache config files in LayoutTests/http/config govern the port numbers. 124 # Dynamic configuration as-written will also cause random failures in 125 # an IPv6 environment. See https://bugs.webkit.org/show_bug.cgi?id=37104. 122 126 my $httpdPort = 8000; 123 127 my $httpdSSLPort = 8443;
Note: See TracChangeset
for help on using the changeset viewer.