tree: 01c0e69a87928c1161a080d0bb1f1f7878e295eb [path history] [tgz]
  1. BUILD
  2. README.md
  3. qpack_offline_decoder.cc
  4. qpack_offline_decoder.h
  5. qpack_offline_decoder_bin.cc
src/net/third_party/quic/core/qpack/offline/README.md

QPACK Offline Interop Testing tools

See QPACK Offline Interop for description of test data format.

Example usage:

$ # Download test data
$ cd $TEST_DATA
$ git clone https://github.com/qpackers/qifs.git
$ TEST_ENCODED_DATA=`pwd`/qifs/encoded/qpack-03
$ TEST_QIF_DATA=`pwd`/qifs/qifs
$
$ # Decode encoded test data in four files and verify that they match
$ # the original headers in corresponding files
$ $BIN/qpack_offline_decoder \
>   $TEST_ENCODED_DATA/f5/fb-req.qifencoded.4096.100.0 \
>   $TEST_QIF_DATA/fb-req.qif
>   $TEST_ENCODED_DATA/h2o/fb-req-hq.out.512.0.1 \
>   $TEST_QIF_DATA/fb-req-hq.qif
>   $TEST_ENCODED_DATA/ls-qpack/fb-resp-hq.out.0.0.0 \
>   $TEST_QIF_DATA/fb-resp-hq.qif
>   $TEST_ENCODED_DATA/proxygen/netbsd.qif.proxygen.out.4096.0.0 \
>   $TEST_QIF_DATA/netbsd.qif
$