mirror of
https://github.com/DNSCrypt/dnscrypt-proxy.git
synced 2024-12-28 00:20:13 +01:00
21 lines
1.1 KiB
Markdown
21 lines
1.1 KiB
Markdown
# QPACK
|
|
|
|
[![Godoc Reference](https://img.shields.io/badge/godoc-reference-blue.svg?style=flat-square)](https://godoc.org/github.com/marten-seemann/qpack)
|
|
[![Code Coverage](https://img.shields.io/codecov/c/github/marten-seemann/qpack/master.svg?style=flat-square)](https://codecov.io/gh/marten-seemann/qpack)
|
|
|
|
This is a minimal QPACK ([RFC 9204](https://datatracker.ietf.org/doc/html/rfc9204)) implementation in Go. It is minimal in the sense that it doesn't use the dynamic table at all, but just the static table and (Huffman encoded) string literals. Wherever possible, it reuses code from the [HPACK implementation in the Go standard library](https://github.com/golang/net/tree/master/http2/hpack).
|
|
|
|
It should be able to interoperate with other QPACK implemetations (both encoders and decoders), however it won't achieve a high compression efficiency.
|
|
|
|
## Running the interop tests
|
|
|
|
Install the [QPACK interop files](https://github.com/qpackers/qifs/) by running
|
|
```bash
|
|
git submodule update --init --recursive
|
|
```
|
|
|
|
Then run the tests:
|
|
```bash
|
|
ginkgo -r integrationtests
|
|
```
|