]> git.ipfire.org Git - thirdparty/haproxy.git/commit
MEDIUM: sample: fill the struct sample with the session, proxy and stream pointers
authorThierry FOURNIER <tfournier@haproxy.com>
Mon, 11 May 2015 09:54:58 +0000 (11:54 +0200)
committerWilly Tarreau <w@1wt.eu>
Mon, 11 May 2015 18:00:03 +0000 (20:00 +0200)
commit6879ad31a57f789934409ff4f2530ab1a1fceb7e
tree0e4ffdf398bc4b6b932aadf01764ab0b0fc905c4
parentbbfb6c40854925367ae5f9e8b22c5c9a18dc69d5
MEDIUM: sample: fill the struct sample with the session, proxy and stream pointers

Some sample analyzer (sample-fetch or converters) needs to known the proxy,
session and stream attached to the sampel. The sample-fetches and the converters
function pointers cannot be called without these 3 pointers filled.

This patch permits to reduce the sample-fetch and the converters called
prototypes, and provides a new mean to add information for this type of
functions.
include/types/sample.h
src/hlua.c
src/sample.c