mirror of
https://git.haproxy.org/git/haproxy.git/
synced 2025-09-23 06:41:32 +02:00
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.
This commit is contained in:
parent
d0c62328af
commit
2208d57ce7
@ -50,7 +50,6 @@
|
||||
#include <haproxy/cbuf.h>
|
||||
#include <haproxy/proto_quic.h>
|
||||
#include <haproxy/quic_tls.h>
|
||||
#include <haproxy/sink.h>
|
||||
#include <haproxy/ssl_sock.h>
|
||||
#include <haproxy/task.h>
|
||||
#include <haproxy/trace.h>
|
||||
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user