mirror of
https://github.com/square/okhttp.git
synced 2026-01-17 08:42:25 +03:00
Running the HPACK regression suite shows that in some cases we may use the wrong dynamic index after the dynamic table has been resized. This fixes the problem and simplifies the implementation to avoid maps with Integer values, which were difficult to reason about and easy to get out-of-sync with the main table.
OkHttp HPACK tests
These tests use the hpack-test-case project to validate OkHttp's HPACK implementation. The HPACK test cases are in a separate git submodule, so to initialize them, you must run:
git submodule init
git submodule update
TODO
- Add maven goal to avoid manual call to git submodule init.
- Make hpack-test-case update itself from git, and run new tests.
- Add maven goal to generate stories and a pull request to hpack-test-case to have others validate our output.