mirror of
https://github.com/curl/curl.git
synced 2026-04-14 22:31:41 +03:00
multihandle: add an ssl_scache here
The TLS session cache is now held by the multi handle unless it is shared, so that all easy handles within a multi handle get the benefit of sharing the same, larger, cache. The multi handle session cache size is set to 25, unless it is the internal one used for the easy interface - which still uses only 3. Closes #15982
This commit is contained in:
parent
854e055a70
commit
cd43c92685
8 changed files with 29 additions and 29 deletions
|
|
@ -47,7 +47,8 @@ void Curl_multi_connchanged(struct Curl_multi *multi);
|
|||
socket, connection and dns hashes */
|
||||
struct Curl_multi *Curl_multi_handle(size_t hashsize,
|
||||
size_t chashsize,
|
||||
size_t dnssize);
|
||||
size_t dnssize,
|
||||
size_t sesssize);
|
||||
|
||||
/* the write bits start at bit 16 for the *getsock() bitmap */
|
||||
#define GETSOCK_WRITEBITSTART 16
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue