Skip to content

Commit

Permalink
refactor(client): de-duplicate process & run and split into h3 & h09
Browse files Browse the repository at this point in the history
The Neqo Client binary supports both http3 and http09 (prev. "old").

Before this commit both the http3 and the http09 implementation had their own
`run` and `process` `fn`, orchestrating the interaction between handler, client
and I/O. While similar, they had subtle differences e.g. when to terminate.

This commit splits the http3 and http09 specific logic into two separate modules,
but extracts duplicate logic (e.g. `run` and `process`) into the shared root module.
  • Loading branch information
mxinden committed Mar 11, 2024
1 parent 4494927 commit a0236db
Show file tree
Hide file tree
Showing 5 changed files with 1,272 additions and 1,278 deletions.
2 changes: 1 addition & 1 deletion neqo-bin/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ license.workspace = true

[[bin]]
name = "neqo-client"
path = "src/bin/client.rs"
path = "src/bin/client/main.rs"

[[bin]]
name = "neqo-server"
Expand Down
Loading

0 comments on commit a0236db

Please sign in to comment.