mirror of
https://github.com/haproxy/haproxy.git
synced 2026-04-23 15:19:36 -04:00
MINOR: cli: use the new buffer API
Almost nothing required to be touched.
This commit is contained in:
parent
97f538b895
commit
851d12c3d4
1 changed files with 1 additions and 1 deletions
|
|
@ -730,7 +730,7 @@ static void cli_io_handler(struct appctx *appctx)
|
|||
* buffer is empty. This still allows pipelined requests
|
||||
* to be sent in non-interactive mode.
|
||||
*/
|
||||
if ((res->flags & (CF_SHUTW|CF_SHUTW_NOW)) || (!(appctx->st1 & APPCTX_CLI_ST1_PROMPT) && !req->buf->o)) {
|
||||
if ((res->flags & (CF_SHUTW|CF_SHUTW_NOW)) || (!(appctx->st1 & APPCTX_CLI_ST1_PROMPT) && !co_data(req))) {
|
||||
appctx->st0 = CLI_ST_END;
|
||||
continue;
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue