MINOR: debug: add a new "debug dev stream" command
authorWilly Tarreau <w@1wt.eu>
Wed, 23 Oct 2019 15:23:25 +0000 (17:23 +0200)
committerWilly Tarreau <w@1wt.eu>
Thu, 24 Oct 2019 08:43:04 +0000 (10:43 +0200)
commit68680bb14e5e4b3f1c0245ab956e9aee669cdac0
tree9b46b07f83f57bf05cb0733d14fbcf67a38b2a32
parentb705b4d7d308d1132a772f3ae2d6113447022a60
MINOR: debug: add a new "debug dev stream" command

This new "debug dev stream" command allows to manipulate flags, timeouts,
states for streams, channels and stream interfaces, as well as waking a
stream up. These may be used to help reproduce certain bugs during
development. The operations are performed to the stream assigned by
"strm" which defaults to the CLI's stream. This stream pointer can be
chosen from one of those reported in "show sess". Example:

  socat - /tmp/sock1 <<< "debug dev stream strm=0x1555b80 req.f=-1 req.r=now wake"
src/debug.c