api: avoid sigpipe for unruly api client 56/37756/4
authorOle Troan <ot@cisco.com>
Tue, 6 Dec 2022 16:07:39 +0000 (17:07 +0100)
committerAndrew Yourtchenko <ayourtch@gmail.com>
Wed, 7 Dec 2022 10:33:07 +0000 (10:33 +0000)
commitd7413835e1478b0c1356bae7d45e00061d7eb8d4
tree09f7bc0934f5ed5c64c6b0772798e3d8265a2de3
parentf22824bbefdf82168717537090a5471166e20f0d
api: avoid sigpipe for unruly api client

if the api client didn't wait for the last message, we'd get a SIGPIPE
from Unix and VPP would crash.

Type: fix
Signed-off-by: Ole Troan <ot@cisco.com>
Change-Id: Iac7705ec09ccd67cc249cc9a9525a7cb379e2f6f
Signed-off-by: Ole Troan <ot@cisco.com>
src/vlibmemory/socket_api.c