Skip to content

Commit

Permalink
Set use_old_http
Browse files Browse the repository at this point in the history
  • Loading branch information
mxinden committed Jan 19, 2024
1 parent cdb4449 commit 61ed61e
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 2 deletions.
4 changes: 3 additions & 1 deletion neqo-client/src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -1018,7 +1018,9 @@ fn main() -> Res<()> {
args.use_old_http = true;
args.key_update = true;
}
"v2" => {}
"v2" => {
args.use_old_http = true;
}
_ => exit(127),
}
}
Expand Down
5 changes: 4 additions & 1 deletion neqo-server/src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -870,7 +870,10 @@ fn main() -> Result<(), io::Error> {
args.alpn = String::from(HQ_INTEROP);
args.retry = true;
}
"v2" => (),
"v2" => {
args.use_old_http = true;
args.alpn = String::from(HQ_INTEROP);
}
_ => exit(127),
}
}
Expand Down

0 comments on commit 61ed61e

Please sign in to comment.