• Nils Goroll's avatar
    Fix up the worker in the VDP context as well · 58c5026a
    Nils Goroll authored
    vmod_pesi works by saving the resulting data from a sub request to a
    tree structure, which gets delivered to the client in the top
    request's thread, once it is ready.
    
    For cacheable objects which do not require ESI processing, we simply
    keep the original request with an additional reference to the object.
    So basically we hand delivery from one worker to another.
    
    subreq_fixup() is responsible for converting the saved request to a
    state as if it was handled by the request handling the top level
    request, so one of the changes it applies is to change the wrk pointer
    to the worker of the top level request.
    
    Yet that change was incomplete and we missed an additional pointer in
    struct vdp_ctx.
    
    This should hopefully fix #14
    58c5026a
Name
Last commit
Last update
misc/coccinelle Loading commit data...
src Loading commit data...
.dir-locals.el Loading commit data...
.gitignore Loading commit data...
CONTRIBUTING.rst Loading commit data...
INSTALL.rst Loading commit data...
LICENSE Loading commit data...
Makefile.am Loading commit data...
README.rst Loading commit data...
autogen.sh Loading commit data...
configure.ac Loading commit data...