• Nils Goroll's avatar
    Add VRT_AllocStrandsWS() to allocate strands on a workspace · b169266e
    Nils Goroll authored
    So far, we have focused on transitioning vmod arguments to STRANDS.
    
    To take the next step and also return STRANDS (which leverages the
    actual benefit - not copying unmodified strand elements), vmods need
    to allocate a struct strands on the workspace.
    
    This commit adds a utility function for this common task.
    
    Implementation note: A single WS_Alloc() with some pointer arithmetic
    would suffice, but using two results in cleaner code.
    b169266e
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...
VSC_lck.vsc Loading commit data...
VSC_main.vsc Loading commit data...
VSC_mempool.vsc Loading commit data...
VSC_mgt.vsc Loading commit data...
VSC_sma.vsc Loading commit data...
VSC_smf.vsc Loading commit data...
VSC_smu.vsc Loading commit data...
VSC_vbe.vsc 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...