Skip to content
Snippets Groups Projects
Commit 4e960f7f authored by Georgy Kirichenko's avatar Georgy Kirichenko
Browse files

Clear applier input on disconnect

On disconnect applier input buffer can contain some unparsed data, clear
this.

Fixes #2932
parent 7e1bf350
No related branches found
No related tags found
No related merge requests found
......@@ -467,6 +467,8 @@ applier_disconnect(struct applier *applier, enum applier_state state)
}
coio_close(loop(), &applier->io);
/* Clear all unparsed input. */
ibuf_reset(&applier->iobuf->in);
iobuf_reset(applier->iobuf);
fiber_gc();
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment