haproxy/addons/ot/src
Miroslav Zagorac 9425ed488f BUG/MEDIUM: opentracing: initialization before establishing daemon and/or chroot mode
This patch solves the problem reported in github issue #1204, where the
OpenTracing filter cannot communicate with the selected tracer if HAProxy
is run in daemon mode.

This commit also solves github issue #1274, where the problem manifests
itself when using the 'chroot' keyword in the HAProxy configuration.

This is solved so that the initialization of the OpenTracing plugin is
split into two operations, first the plugin (dynamic library) is loaded
before switching the HAProxy to daemon mode (or chroot) and then the
tracer thread is started.

This means that nothing is retrieved from the file system in runtime.

After applying this commit, opentracing C wrapper version 1.1.0 should be
used because the earlier version does not have separated initialization
functions.

This resolves GitHub issues #1204 and #1274.
2021-06-10 06:45:39 +02:00
..
cli.c
conf.c BUG/MEDIUM: opentracing: initialization before establishing daemon and/or chroot mode 2021-06-10 06:45:39 +02:00
event.c
filter.c BUG/MEDIUM: opentracing: initialization before establishing daemon and/or chroot mode 2021-06-10 06:45:39 +02:00
group.c
http.c MINOR: opentracing: transfer of context names without prefix 2021-04-15 08:40:08 +02:00
opentracing.c BUG/MEDIUM: opentracing: initialization before establishing daemon and/or chroot mode 2021-06-10 06:45:39 +02:00
parser.c BUG/MEDIUM: opentracing: initialization before establishing daemon and/or chroot mode 2021-06-10 06:45:39 +02:00
pool.c
scope.c BUILD/MINOR: opentracing: fixed build when using clang 2021-05-20 05:25:02 +02:00
util.c MINOR: opentracing: correct calculation of the number of arguments in the args[] 2021-04-15 08:40:05 +02:00
vars.c REORG: vars: move the "proc" scope variables out of the global struct 2021-05-08 12:11:29 +02:00