diff options
author | Michael Drake <michael.drake@codethink.co.uk> | 2022-11-02 11:34:49 +0000 |
---|---|---|
committer | Michael Drake <michael.drake@codethink.co.uk> | 2022-11-02 11:34:49 +0000 |
commit | ab619018e422ed8b46d452793b3c72b062b84d0a (patch) | |
tree | f4d53da550ce1dfc1a0a0575dc0621fdba4f6608 /sdk/recipes/patches/libcurl/0004-urldata-fix-multi-handle-comment.p | |
parent | 2bbddd7aaabeae11c1862787ef6f99b3b816324a (diff) | |
download | toolchains-ab619018e422ed8b46d452793b3c72b062b84d0a.tar.gz toolchains-ab619018e422ed8b46d452793b3c72b062b84d0a.tar.bz2 |
sdk: libcurl: Significantly faster https connections
Making HTTPS connections was slow because libcurl forces openssl
to rebuild the same X509_STORE from the same cabundle every time
a connection is made. This is a slow process and it can happen
many times per page.
These patches change libcurl to keep the built X509_STORE cached
and reuse it for subsequent connections.
These patches are being upstreamed here:
https://github.com/curl/curl/pull/9620
Diffstat (limited to 'sdk/recipes/patches/libcurl/0004-urldata-fix-multi-handle-comment.p')
-rw-r--r-- | sdk/recipes/patches/libcurl/0004-urldata-fix-multi-handle-comment.p | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/sdk/recipes/patches/libcurl/0004-urldata-fix-multi-handle-comment.p b/sdk/recipes/patches/libcurl/0004-urldata-fix-multi-handle-comment.p new file mode 100644 index 0000000..7bdf402 --- /dev/null +++ b/sdk/recipes/patches/libcurl/0004-urldata-fix-multi-handle-comment.p @@ -0,0 +1,16 @@ +diff --git a/lib/urldata.h b/lib/urldata.h +index f5bd5a3e9..aba07c275 100644 +--- lib/urldata.h ++++ lib/urldata.h +@@ -1531,7 +1531,7 @@ struct UrlState { + * Character pointer fields point to dynamic storage, unless otherwise stated. + */ + +-struct Curl_multi; /* declared and used only in multi.c */ ++struct Curl_multi; /* declared in multihandle.c */ + + /* + * This enumeration MUST not use conditional directives (#ifdefs), new +-- +2.34.1 + |