Skip to content

Latest commit

 

History

History
24 lines (17 loc) · 1023 Bytes

README.md

File metadata and controls

24 lines (17 loc) · 1023 Bytes

Neqo, an Implementation of QUIC written in Rust

neqo logo

To run test http 0.9 programs (neqo-client and neqo-server):

  • cargo build
  • ./target/debug/neqo-server 12345 -k key --db ./test-fixture/db
  • ./target/debug/neqo-client http://127.0.0.1:12345/ -o --db ./test-fixture/db

To run test http 3 programs (neqo-client and neqo-http3-server):

  • cargo build
  • ./target/debug/neqo-http3-server [::]:12345 --db ./test-fixture/db
  • ./target/debug/neqo-client http://127.0.0.1:12345/ --db ./test-fixture/db

Faster Builds with Separate NSS/NSPR

You can clone NSS (https://hg.mozilla.org/projects/nss) and NSPR (https://hg.mozilla.org/projects/nspr) into the same directory and export an enviroment variable called NSS_DIR pointing to NSS. This causes the build to use the existing NSS checkout. However, in order to run anything that depends on NSS, you need to set $\[DY]LD\_LIBRARY\_PATH to point to $NSS_DIR/../dist/Debug/lib.