mirror of
http://git.haproxy.org/git/haproxy.git/
synced 2024-12-18 17:34:45 +00:00
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"
This commit is contained in:
parent
2f1e0a0a46
commit
700ca14fc1
@ -442,6 +442,8 @@ int cli_io_handler_show_ring(struct appctx *appctx)
|
||||
/* always drain all the request */
|
||||
co_skip(sc_oc(sc), sc_oc(sc)->output);
|
||||
}
|
||||
|
||||
applet_expect_no_data(appctx);
|
||||
return ret;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user