]> git.ipfire.org Git - thirdparty/haproxy.git/commit
MINOR: session: add a simple function to retrieve a session from a task
authorWilly Tarreau <w@1wt.eu>
Sat, 23 Nov 2013 22:37:04 +0000 (23:37 +0100)
committerWilly Tarreau <w@1wt.eu>
Mon, 9 Dec 2013 14:40:21 +0000 (15:40 +0100)
commit787add29327c510d894dae62d2084939be99bfca
tree9a71e7ee8eb74f1d119bb3bf9cb1967b0efcc386
parenta94d2d76532bd2192e28b493e12c75539449268d
MINOR: session: add a simple function to retrieve a session from a task

This function only casts t->context to (struct session *). It will
avoid some ugly and unsafe casts in upcoming changes.
include/proto/session.h