Changeset 256487 in webkit


Ignore:
Timestamp:
Feb 12, 2020 3:46:57 PM (4 years ago)
Author:
basuke.suzuki@sony.com
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):

Location:
trunk/Source/WebCore
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/Source/WebCore/ChangeLog

    r256485 r256487  
     12020-02-12  Basuke Suzuki  <basuke.suzuki@sony.com>
     2
     3        [Curl] Force HTTP/1.1 for WebSocket connection
     4        https://bugs.webkit.org/show_bug.cgi?id=207656
     5
     6        Reviewed by Fujii Hironori.
     7
     8        No tests for H2 in LayoutTests. Checked in real site.
     9        See: https://bugs.webkit.org/show_bug.cgi?id=176483
     10
     11        * platform/network/curl/CurlContext.cpp:
     12        (WebCore::CurlHandle::enableConnectionOnly):
     13
    1142020-02-12  Wenson Hsieh  <wenson_hsieh@apple.com>
    215
  • trunk/Source/WebCore/platform/network/curl/CurlContext.cpp

    r248846 r256487  
    649649{
    650650    curl_easy_setopt(m_handle, CURLOPT_CONNECT_ONLY, 1L);
     651    curl_easy_setopt(m_handle, CURLOPT_HTTP_VERSION, CURL_HTTP_VERSION_1_1);
    651652}
    652653
Note: See TracChangeset for help on using the changeset viewer.