[webkit-changes] [WebKit/WebKit] c06388: [git-webkit] Timing out IPV6 requests

Jonathan Bedard noreply at github.com
Tue Oct 17 17:19:45 PDT 2023


  Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: c06388334ce2311ed2c6ac0cdde483f9ed6971e8
      https://github.com/WebKit/WebKit/commit/c06388334ce2311ed2c6ac0cdde483f9ed6971e8
  Author: Jonathan Bedard <jbedard at apple.com>
  Date:   2023-10-17 (Tue, 17 Oct 2023)

  Changed paths:
    M Tools/Scripts/webkitpy/__init__.py

  Log Message:
  -----------
  [git-webkit] Timing out IPV6 requests
https://bugs.webkit.org/show_bug.cgi?id=263124
rdar://116923729

Reviewed by Dewei Zhu.

Because Python has not implemented the "Happy Eyeballs" algorithm racing
IPV4 and IPV6 connections, we want to disable IPV6 once we know that IPV6
stack on this machine is broken. We do this by overriding urllib3's
create_connection function.

* Tools/Scripts/webkitpy/__init__.py:
(create_connection): Disable IPV6 if our first request to an IPV6 address fails.

Canonical link: https://commits.webkit.org/269440@main




More information about the webkit-changes mailing list