Skip to content

mcmanus/mozquic

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

This is really to test the spec process, its a long way from usable code and the interface is the least thought out bit (MozQuic.h). It will set your machine afire if you have the nerve to run it there.

Right now it is capable of both ff00000C and 0xf123f0c5 and some greasing. (hq-12 alpn)

See https://github.com/quicwg/base-drafts/wiki/Third-Implementation-Draft (?)

based on tls -28

Useful to increase UDP buffering on the host: sudo sysctl -w net.core.rmem_max=16000000 sudo sysctl -w net.core.wmem_max=16000000

== Build Notes

setenv MOZQUIC_BUILD /home/mcmanus/src/mozquic

These are for runtime

setenv LD_LIBRARY_PATH $MOZQUIC_BUILD/dist/`cat $MOZQUIC_BUILD/dist/latest`/lib
setenv MOZQUIC_NSS_CONFIG $MOZQUIC_BUILD/mozquic/sample/nss-config/

These are used to build mozquic standalone

git clone [email protected]:mcmanus/mozquic.git
git clone [email protected]:nss-dev/nss.git
hg clone https://hg.mozilla.org/projects/nspr
nss/build.sh
cd mozquic
make

This is useful for running the regression tests

MOZQUIC_LOG=all:5 go run qdrive/main.go -shims mozquic/tests/qdrive/mozquic.json -cases mozquic/tests/qdrive/mozquic.cases.json -verbose

rm -f /tmp/get-? ; ./client -get /documentation/nghttpd.1.html -get /stylesheets/screen.css -get /index.html -get /favicon.png -peer nghttp2.org:4433 -send-close -ignorePKI ; ls /tmp/get-?

-rw-rw-rw- 1 mcmanus 21475 Sep 18 16:49 /tmp/get-1
-rw-rw-rw- 1 mcmanus 39082 Sep 18 16:49 /tmp/get-3
-rw-rw-rw- 1 mcmanus  6625 Sep 18 16:49 /tmp/get-5
-rw-rw-rw- 1 mcmanus   400 Sep 18 16:49 /tmp/get-7

About

mozquic is an ietf quic library in c++

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Contributors 4

  •  
  •  
  •  
  •  

Languages