• Martin Blix Grydeland's avatar
    Log proxy related messages on the session, not on the request. · 86b3f9fe
    Martin Blix Grydeland authored
    The proxy log records were attempted to be logged on the request' log
    buffer, which at that point in time has not yet been set up and does
    not posess a VXID. This caused VXID==0 log records to be inserted in
    the beginning of the log for the first request on the session when
    using proxy protocol, and subsequently the VSL to fail picking them
    out as valid request log transactions.
    
    Fix by logging the PROXY handling related messages on the session, in
    which they belong.
    
    Fixes: #1804
    86b3f9fe
Name
Last commit
Last update
bin Loading commit data...
doc Loading commit data...
etc Loading commit data...
include Loading commit data...
lib Loading commit data...
m4 Loading commit data...
man Loading commit data...
.gitignore Loading commit data...
.travis.yml Loading commit data...
CONTRIBUTING Loading commit data...
ChangeLog Loading commit data...
INSTALL Loading commit data...
LICENSE Loading commit data...
Makefile.am Loading commit data...
Makefile.inc.phk Loading commit data...
Makefile.phk Loading commit data...
README Loading commit data...
README.Packaging Loading commit data...
autogen.des Loading commit data...
autogen.sh Loading commit data...
config.phk Loading commit data...
configure.ac Loading commit data...
flint.lnt Loading commit data...
varnish.m4 Loading commit data...
varnishapi-uninstalled.pc.in Loading commit data...
varnishapi.pc.in Loading commit data...