From 2208d57ce7c5c3bbdd2fbe2f85a601c54e1c69d3 Mon Sep 17 00:00:00 2001 From: Amaury Denoyelle Date: Mon, 23 May 2022 09:01:56 +0200 Subject: [PATCH] Revert "MINOR: quic: activate QUIC traces at compilation" This reverts commit 118b2cbf8430a9513947c27a8403ff380e1dcaf2. This patch was useful mainly for the docker image of QUIC interop to have traces on stdout. A better solution has been found by integrating this patch directly in the qns repository which is used to build the docker image. Thus, this hack is not require anymore in the main repository. --- src/xprt_quic.c | 15 --------------- 1 file changed, 15 deletions(-) diff --git a/src/xprt_quic.c b/src/xprt_quic.c index 1341dc91f..acb90bfe4 100644 --- a/src/xprt_quic.c +++ b/src/xprt_quic.c @@ -50,7 +50,6 @@ #include #include #include -#include #include #include #include @@ -6523,20 +6522,6 @@ void qc_notify_close(struct quic_conn *qc) qc->conn->mux->wake(qc->conn); } -/* Function to automatically activate QUIC 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 quic_init_stdout_traces(void) -{ -#ifdef ENABLE_QUIC_STDOUT_TRACES - trace_quic.sink = sink_find("stdout"); - trace_quic.level = TRACE_LEVEL_DEVELOPER; - trace_quic.state = TRACE_STATE_RUNNING; -#endif -} -INITCALL0(STG_INIT, quic_init_stdout_traces); - /* * Local variables: * c-indent-level: 8