[PATCH v2 2/4] iproto: fix error with unstoppable batching

Vladimir Davydov vdavydov.dev at gmail.com
Tue Apr 24 18:36:09 MSK 2018


On Mon, Apr 23, 2018 at 08:05:02PM +0300, Vladislav Shpilevoy wrote:
> IProto connection stops input reading, when active request count
> is reached. But when multiple requests are in a batch, the IProto
> does not check the limit, so it can be violated.
> 
> Lets check the limit during batch parsing after each message too,
> not only once before parsing.
> ---
>  src/box/iproto.cc               | 29 +++++++++++++++++++----------
>  test/box/request_limit.result   | 20 ++++++++++++++++++++
>  test/box/request_limit.test.lua | 10 ++++++++++
>  3 files changed, 49 insertions(+), 10 deletions(-)

Ack



More information about the Tarantool-patches mailing list