diff --git a/neqo-client/src/main.rs b/neqo-client/src/main.rs index d8444542ea..931ce5a6e4 100644 --- a/neqo-client/src/main.rs +++ b/neqo-client/src/main.rs @@ -1005,7 +1005,10 @@ async fn main() -> Res<()> { let mut args = Args::from_args(); if let Some(testcase) = args.qns_test.as_ref() { + // Only use v1 for most QNS tests. + args.quic_parameters.quic_version = vec![VersionArg(Version::Version1)]; match testcase.as_str() { + // TODO: Add "ecn" when that is ready. "http3" => {} "handshake" | "transfer" | "retry" => { args.use_old_http = true; @@ -1034,6 +1037,8 @@ async fn main() -> Res<()> { } "v2" => { args.use_old_http = true; + // Use default version set for this test (which allows compatible vneg.) + args.quic_parameters.quic_version.clear(); } _ => exit(127), }