mirror of
https://github.com/curl/curl.git
synced 2026-07-24 12:47:15 +03:00
parent
c07a7f6bf8
commit
205a8e861f
1 changed files with 3 additions and 1 deletions
|
|
@ -581,8 +581,10 @@ wssl_setup_session(struct Curl_cfilter *cf,
|
|||
bool do_early_data = FALSE;
|
||||
if(sess_reuse_cb) {
|
||||
result = sess_reuse_cb(cf, data, alpns, scs, &do_early_data);
|
||||
if(result)
|
||||
if(result) {
|
||||
wolfSSL_SESSION_free(session);
|
||||
goto out;
|
||||
}
|
||||
}
|
||||
#ifdef WOLFSSL_EARLY_DATA
|
||||
if(do_early_data) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue