mirror of
https://github.com/curl/curl.git
synced 2026-08-03 11:20:29 +03:00
bearssl: fix session resumption (session id)
Prior to this change br_ssl_client_reset was mistakenly called with resume_session param set to 0, which disabled session resumption. Ref: https://github.com/curl/curl/pull/8106 Closes https://github.com/curl/curl/pull/8474
This commit is contained in:
parent
bbe7042113
commit
b84437194c
1 changed files with 1 additions and 1 deletions
|
|
@ -474,7 +474,7 @@ static CURLcode bearssl_connect_step1(struct Curl_easy *data,
|
|||
hostname = snihost;
|
||||
}
|
||||
|
||||
if(!br_ssl_client_reset(&backend->ctx, hostname, 0))
|
||||
if(!br_ssl_client_reset(&backend->ctx, hostname, 1))
|
||||
return CURLE_FAILED_INIT;
|
||||
backend->active = TRUE;
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue