vcl: RX event may lost when accept session repeatedly 37/28237/2
authorwanghanlin <[email protected]>
Mon, 16 Dec 2019 11:14:39 +0000 (19:14 +0800)
committerAndrew Yourtchenko <[email protected]>
Wed, 12 Aug 2020 07:43:14 +0000 (07:43 +0000)
commit889ea0f54c42e3a592625f2bfd480bf3c13ab1bc
treee2834b4486dbafa2e293117e6bb252f5940f6626
parentec12ffe1bd6393e1e0c826baa2e760a8e0ffce18
vcl: RX event may lost when accept session repeatedly

Type: fix

Some applications may call accept repeatedly to process all connect
request until get EAGIAIN error. Subsequent call may get RX event of
previous accepted session, then should process it rather than just
discard it.

Signed-off-by: wanghanlin <[email protected]>
Change-Id: Ice53442de66289a62591b79a9cc31e883e894c23
(cherry picked from commit 96453fd2417ebd1d69354a7fb692976129cea80e)
src/vcl/vppcom.c