mirror of
https://github.com/curl/curl.git
synced 2026-04-15 08:51:46 +03:00
parent
019874f197
commit
239c389836
1 changed files with 3 additions and 1 deletions
|
|
@ -3775,8 +3775,10 @@ ossl_init_session_and_alpns(struct ossl_ctx *octx,
|
|||
bool do_early_data = FALSE;
|
||||
if(sess_reuse_cb) {
|
||||
result = sess_reuse_cb(cf, data, &alpns, scs, &do_early_data);
|
||||
if(result)
|
||||
if(result) {
|
||||
SSL_SESSION_free(ssl_session);
|
||||
return result;
|
||||
}
|
||||
}
|
||||
if(do_early_data) {
|
||||
/* We only try the ALPN protocol the session used before,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue