Bug 1664321 - Neqo API has a small change, adapt neqo_glue r=necko-reviewers,valentin

Differential Revision: https://phabricator.services.mozilla.com/D89829
This commit is contained in:
Dragana Damjanovic 2020-09-14 07:50:57 +00:00
parent 93fcbece5c
commit 3e73bcf0b9

View File

@ -688,7 +688,7 @@ pub extern "C" fn neqo_http3conn_resumption_token(conn: &mut NeqoHttp3Conn, toke
#[no_mangle]
pub extern "C" fn neqo_http3conn_set_resumption_token(conn: &mut NeqoHttp3Conn, token: &mut ThinVec<u8>,) {
let _ = conn.conn.set_resumption_token(Instant::now(), token);
let _ = conn.conn.enable_resumption(Instant::now(), token);
}
#[no_mangle]