Changeset 283136 in webkit


Ignore:
Timestamp:
Sep 27, 2021, 2:28:19 PM (4 years ago)
Author:
Takashi.Komori@sony.com
Message:

[Curl] Set CURL_LOCK_DATA_SSL_SESSION option to reduce SSL/TLS handshake time
https://bugs.webkit.org/show_bug.cgi?id=230818

Reviewed by Fujii Hironori.

Set CURL_LOCK_DATA_SSL_SESSION option to reuse Session ID.
It reduces SSL/TLS handshake time.

Covered by existing tests.

  • platform/network/curl/CurlContext.cpp:

(WebCore::CurlShareHandle::CurlShareHandle):

Location:
trunk/Source/WebCore
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/Source/WebCore/ChangeLog

    r283134 r283136  
     12021-09-27  Takashi Komori  <Takashi.Komori@sony.com>
     2
     3        [Curl] Set CURL_LOCK_DATA_SSL_SESSION option to reduce SSL/TLS handshake time
     4        https://bugs.webkit.org/show_bug.cgi?id=230818
     5
     6        Reviewed by Fujii Hironori.
     7
     8        Set CURL_LOCK_DATA_SSL_SESSION option to reuse Session ID.
     9        It reduces SSL/TLS handshake time.
     10
     11        Covered by existing tests.
     12
     13        * platform/network/curl/CurlContext.cpp:
     14        (WebCore::CurlShareHandle::CurlShareHandle):
     15
    1162021-09-27  Tim Nguyen  <ntim@apple.com>
    217
  • trunk/Source/WebCore/platform/network/curl/CurlContext.cpp

    r282904 r283136  
    172172    curl_share_setopt(m_shareHandle, CURLSHOPT_SHARE, CURL_LOCK_DATA_COOKIE);
    173173    curl_share_setopt(m_shareHandle, CURLSHOPT_SHARE, CURL_LOCK_DATA_DNS);
     174    curl_share_setopt(m_shareHandle, CURLSHOPT_SHARE, CURL_LOCK_DATA_SSL_SESSION);
    174175    curl_share_setopt(m_shareHandle, CURLSHOPT_LOCKFUNC, lockCallback);
    175176    curl_share_setopt(m_shareHandle, CURLSHOPT_UNLOCKFUNC, unlockCallback);
Note: See TracChangeset for help on using the changeset viewer.