diff options
Diffstat (limited to 'tools/http3_test/src/runner.rs')
-rw-r--r-- | tools/http3_test/src/runner.rs | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/tools/http3_test/src/runner.rs b/tools/http3_test/src/runner.rs index 37a5dbba..62f3ef8c 100644 --- a/tools/http3_test/src/runner.rs +++ b/tools/http3_test/src/runner.rs @@ -110,8 +110,11 @@ pub fn run( let mut scid = [0; quiche::MAX_CONN_ID_LEN]; SystemRandom::new().fill(&mut scid[..]).unwrap(); + let scid = quiche::ConnectionId::from_ref(&scid); + // Create a QUIC connection and initiate handshake. let url = &test.endpoint(); + let mut conn = quiche::connect(url.domain(), &scid, &mut config).unwrap(); let write = match conn.send(&mut out) { |