]> git.ipfire.org Git - thirdparty/haproxy.git/commit
[MINOR] call session->do_log() for logging
authorWilly Tarreau <w@1wt.eu>
Sun, 30 Nov 2008 18:02:32 +0000 (19:02 +0100)
committerWilly Tarreau <w@1wt.eu>
Sun, 30 Nov 2008 18:02:32 +0000 (19:02 +0100)
commita5555ec68a10f9e6755cbd374355d55caacf2268
treef9ab6ccd085becb0b4fd2211f2e2d9ac26cdac10
parent55a8d0e1bb1507c7c80e812dff6e516e29f3c507
[MINOR] call session->do_log() for logging

In order to avoid having to call per-protocol logging function directly
from session.c, it's better to assign the logging function when the session
is created. This also eliminates a test when the function is needed, and
opens the way to more complete logging functions.
include/types/session.h
src/client.c
src/proto_http.c
src/session.c