mirror of
https://github.com/haproxy/haproxy.git
synced 2026-03-02 13:20:24 -05:00
Revert "MINOR: quic: activate QUIC traces at compilation"
This reverts commit 118b2cbf84.
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
1 changed files with 0 additions and 15 deletions
|
|
@ -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…
Reference in a new issue