#include <haproxy/ncbuf.h>
#include <haproxy/pool.h>
#include <haproxy/quic_stream.h>
-#include <haproxy/sink.h>
#include <haproxy/ssl_sock-t.h>
#include <haproxy/trace.h>
#include <haproxy/xprt_quic.h>
}
}
-/* Function to automatically activate QUIC MUX traces on stdout.
- * Activated via the compilation flag -DENABLE_QUIC_STDOUT_TRACES.
- * Main use for now is in the docker image for QUIC interop testing.
- */
-static void qmux_init_stdout_traces(void)
-{
-#ifdef ENABLE_QUIC_STDOUT_TRACES
- trace_qmux.sink = sink_find("stdout");
- trace_qmux.level = TRACE_LEVEL_DEVELOPER;
- trace_qmux.state = TRACE_STATE_RUNNING;
- trace_qmux.verbosity = QMUX_VERB_MINIMAL;
-#endif
-}
-INITCALL0(STG_INIT, qmux_init_stdout_traces);
-
static const struct mux_ops qc_ops = {
.init = qc_init,