From b787fcfbae2e68e4aed34cc8a17c7298ef5bae1c Mon Sep 17 00:00:00 2001 From: ami-GS <1991.daiki@gmail.com> Date: Mon, 9 Oct 2023 18:10:19 -0700 Subject: [PATCH] forcibly send inline --- src/platform/datapath_epoll.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/platform/datapath_epoll.c b/src/platform/datapath_epoll.c index b485557186..29a1df533f 100644 --- a/src/platform/datapath_epoll.c +++ b/src/platform/datapath_epoll.c @@ -2456,6 +2456,10 @@ CxPlatSendDataSendTcp( TotalSize, 0); if (BytesSent < 0) { + // forcibly send inline + if (errno == EAGAIN || errno == EWOULDBLOCK) { + continue; + } return FALSE; } Buffer += BytesSent;