• Dag Haavi Finstad's avatar
    Redo struct h2_sess allocation/workspace snapshot · ec0f8199
    Dag Haavi Finstad authored
    Instead of allocating struct h2_sess out of the same workspace that is
    used as our rxbuffer, we rather keep it on the stack in h2_new_session.
    
    If the size of the initial h/2 request payload is close to half the size
    of the workspace, we would end up exhausting the workspace in HTC_RxInit
    after allocating our h2sess struct.
    
    Spotted by Federico G. Schwindt
    
    Fixes: #2619
    ec0f8199
Name
Last commit
Last update
..
cache Loading commit data...
common 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...
Makefile.phk 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...