nghttp3
nghttp3 copied to clipboard
Runtime selectable QPACK static tables
Hello Tatsuhiro,
I would like to reuse the nghttp3 QPACK encoder/decoder with another transport protocol that is similar to H3 but uses a different static table. I've had a look, and while the mkstatichdtbl.py utility exists, I think the only use for that would be to replace the existing QPACK static table code and compile it in.
Would there be any interest in adding support for a selectable or fully custom static table when initialising the QPACK encoder or decoder? Maybe with an extended version of nghttp3_qpack_encoder_new
which takes the application-supplied static table as an argument.
The primary use of mkstatichdtbl.py is construct static table in C from draft, because doing it manually is tedious and error prune. While it might have some use cases for non-HTTP/3 world, for now I would like to make it out of scope for our v1 API set because I'd like to keep nghttp3 as small as possible and just works with the only HTTP/3. But we might revisit it later if it is particularly useful.
This issue is stale because it has been open 30 days with no activity. Remove stale label or comment or this will be closed in 7 days.