mirror of
https://git.haproxy.org/git/haproxy.git/
synced 2026-05-04 20:46:11 +02:00
Revert "MINOR: mux-quic: activate qmux traces on stdout via macro"
This reverts commit 251eadfce55b8e5d7a2ac2d87d17ba36147cb4ad. This patch is similar to the previous revert for QUIC-MUX traces.
This commit is contained in:
parent
2208d57ce7
commit
019a182ebf
@ -11,7 +11,6 @@
|
||||
#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>
|
||||
@ -1656,21 +1655,6 @@ static void qmux_trace(enum trace_level level, uint64_t mask,
|
||||
}
|
||||
}
|
||||
|
||||
/* 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,
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user