• Dridi Boukelmoune's avatar
    http2_hpack: Reorganize header addition for clarity · b7bc7f56
    Dridi Boukelmoune authored
    Instead of passing both a decoder and individual decoder fields, the
    signature for h2h_addhdr() changed to only take the decoder. The order
    of parameters is destination first, then the source following the
    calling conventon of functions like memcpy().
    
    Internally the function is reorganized with a bunch of txt variables to
    keep track of the header being added, its name and value. In addition to
    clarity, this also helps improve safety and correctness.
    
    For example the :authority pseudo-header name is erased in place to turn
    it into a regular host header, but having a dedicated txt for the header
    name allows its preservation.
    b7bc7f56
Name
Last commit
Last update
..
cache Loading commit data...
common Loading commit data...
fuzzers Loading commit data...
hash Loading commit data...
hpack Loading commit data...
http1 Loading commit data...
http2 Loading commit data...
mgt Loading commit data...
proxy Loading commit data...
storage Loading commit data...
waiter Loading commit data...
Makefile.am Loading commit data...
builtin.vcl Loading commit data...
flint.lnt Loading commit data...
flint.sh Loading commit data...
vclflint.lnt Loading commit data...
vclflint.sh Loading commit data...