BUG/MINOR: ring/cli: Don't expect input data when showing events
authorChristopher Faulet <cfaulet@haproxy.com>
Wed, 6 Sep 2023 07:26:06 +0000 (09:26 +0200)
committerChristopher Faulet <cfaulet@haproxy.com>
Wed, 6 Sep 2023 07:36:29 +0000 (09:36 +0200)
commit700ca14fc1ff14ddc573620940cf0ac7872c7ab0
tree1af105dae240b052b9129e9276df7fd4e1833542
parent2f1e0a0a46f34ef622c705c95c105e744405c3b2
BUG/MINOR: ring/cli: Don't expect input data when showing events

The "show events" command may wait for now events if "-w" option is used. In
this case, no timeout must be triggered. So we explicitly state no input
data are expected. This disables the read timeout on the client side.

This patch should be backported to 2.8. It is probably useless to backport
it further. In all cases, it depends on the commit "BUG/MINOR: applet:
Always expect data when CLI is waiting for a new command"
src/ring.c