Title: [256487] trunk/Source/WebCore
Revision
256487
Author
[email protected]
Date
2020-02-12 15:46:57 -0800 (Wed, 12 Feb 2020)

Log Message

[Curl] Force HTTP/1.1 for WebSocket connection
https://bugs.webkit.org/show_bug.cgi?id=207656

Reviewed by Fujii Hironori.

No tests for H2 in LayoutTests. Checked in real site.
See: https://bugs.webkit.org/show_bug.cgi?id=176483

* platform/network/curl/CurlContext.cpp:
(WebCore::CurlHandle::enableConnectionOnly):

Modified Paths

Diff

Modified: trunk/Source/WebCore/ChangeLog (256486 => 256487)


--- trunk/Source/WebCore/ChangeLog	2020-02-12 23:25:27 UTC (rev 256486)
+++ trunk/Source/WebCore/ChangeLog	2020-02-12 23:46:57 UTC (rev 256487)
@@ -1,3 +1,16 @@
+2020-02-12  Basuke Suzuki  <[email protected]>
+
+        [Curl] Force HTTP/1.1 for WebSocket connection
+        https://bugs.webkit.org/show_bug.cgi?id=207656
+
+        Reviewed by Fujii Hironori.
+
+        No tests for H2 in LayoutTests. Checked in real site.
+        See: https://bugs.webkit.org/show_bug.cgi?id=176483
+
+        * platform/network/curl/CurlContext.cpp:
+        (WebCore::CurlHandle::enableConnectionOnly):
+
 2020-02-12  Wenson Hsieh  <[email protected]>
 
         Composition highlight rects should be rounded and inset

Modified: trunk/Source/WebCore/platform/network/curl/CurlContext.cpp (256486 => 256487)


--- trunk/Source/WebCore/platform/network/curl/CurlContext.cpp	2020-02-12 23:25:27 UTC (rev 256486)
+++ trunk/Source/WebCore/platform/network/curl/CurlContext.cpp	2020-02-12 23:46:57 UTC (rev 256487)
@@ -648,6 +648,7 @@
 void CurlHandle::enableConnectionOnly()
 {
     curl_easy_setopt(m_handle, CURLOPT_CONNECT_ONLY, 1L);
+    curl_easy_setopt(m_handle, CURLOPT_HTTP_VERSION, CURL_HTTP_VERSION_1_1);
 }
 
 Optional<String> CurlHandle::getProxyUrl()
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to