error was at byte 23. This is the slash ('/') in header name
"header/bizarre", which is not a valid HTTP character for a header name.
-show events [<sink>] [-w] [-n] [-0] [-s]
+show events [<sink>] [-w] [-n] [-0] [-r] [-s]
With no option, this lists all known event sinks and their types. With an
option, it will dump all available events in the designated sink if it is of
type buffer. If option "-w" is passed after the sink name, then once the end
escape sequences nor writing direction codes into the operator's terminal,
which is useful when dumping to a terminal, or to a program whose input must
not be interpreted as special (e.g. monitoring scripts whose output is copied
- verbatim into reports).
+ verbatim into reports). Finally, "-r" undoes "-s" and may be appended in
+ cases where "-s" was unconditionally appended, or as a future-proof way to
+ ensure long-term compatibility in case the default changes.
show fd [-!plcfbs]* [[<tgid>]/[<fd>] | <fd>]
Dump the list of either all open file descriptors or just the one number <fd>
if (!*args[1]) {
/* no arg => report the list of supported sink */
- chunk_printf(&trash, "Supported events sinks are listed below. Add -0(zero), -w(wait), -n(new), -s(anitize). Any key to stop.\n");
+ chunk_printf(&trash, "Supported events sinks are listed below. Add -0(zero), -w(wait), -n(new), -r(raw), -s(anitize). Any key to stop.\n");
list_for_each_entry(sink, &sink_list, sink_list) {
chunk_appendf(&trash, " %-10s : type=%s, %u dropped, %s\n",
sink->name,
ring_flags |= RING_WF_WAIT_MODE | RING_WF_SEEK_NEW;
else if (strcmp(args[arg], "-s") == 0)
ring_flags |= RING_WF_SANITIZE;
+ else if (strcmp(args[arg], "-r") == 0)
+ ring_flags &= ~RING_WF_SANITIZE;
else
return cli_err(appctx, "unknown option");
}