]> git.ipfire.org Git - thirdparty/haproxy.git/commit
MINOR: log: make sess_log() support sess=NULL
authorWilly Tarreau <w@1wt.eu>
Fri, 5 Oct 2018 08:22:27 +0000 (10:22 +0200)
committerWilly Tarreau <w@1wt.eu>
Fri, 12 Oct 2018 14:58:01 +0000 (16:58 +0200)
commit9fa267dada45ae2668d87651886dcf0f903d4012
treed61fde4483332df972a84c2ecd0fe6783d54f5cf
parent25da9e34f15f59288ae1b432ef676051d0972ac3
MINOR: log: make sess_log() support sess=NULL

At many places in muxes we'll have to add tests to check if the
connection is front or back before deciding to log. Instead let's
centralize this test in sess_log() to simply do nothing when sess=NULL.
src/log.c