api: fix dead client scan heap issue 17/23317/2
authorNathan Skrzypczak <nathan.skrzypczak@gmail.com>
Thu, 7 Nov 2019 15:00:57 +0000 (16:00 +0100)
committerFlorin Coras <florin.coras@gmail.com>
Thu, 7 Nov 2019 18:29:31 +0000 (18:29 +0000)
commit5ed3fe3dd4320a7b4080f18de32ef491b5a1c7f0
tree1a4278de4c8719ef16588061ecc4b3793ad37f45
parentde6caf481cc804bad0b45603c1f5cd7ae30856f7
api: fix dead client scan heap issue

Type: fix

On multiworker setup when an app client dies, the
vec_reset_length call fails the assert in
clib_mem_is_heap_object. Same thing might happen for
the clib_warnings

Change-Id: I369f9d2dbe60407c84994a4e8d25f6df7848ca93
Signed-off-by: Nathan Skrzypczak <nathan.skrzypczak@gmail.com>
src/vlibmemory/memory_api.c