aboutsummaryrefslogtreecommitdiffstats
path: root/src/vcl/vcl_sapi.c
diff options
context:
space:
mode:
authorFilip Tehlar <ftehlar@cisco.com>2022-02-02 17:38:20 +0000
committerFlorin Coras <florin.coras@gmail.com>2022-02-17 17:38:47 +0000
commit8ccc6b350703d3390633636d2b1c2f578f37cb21 (patch)
tree412975bfc85ed2857e7e2bddced676e76f0c97af /src/vcl/vcl_sapi.c
parent0cbc4bd272ac7e24208f741c4fb1fcb1ce5e0e5d (diff)
vcl: add support for reconnect
Supported only when eventfd option is enabled. Type: feature Change-Id: Ic9d6e38604e978f7bc8e54d74fe9b8f3fc53622d Signed-off-by: Filip Tehlar <ftehlar@cisco.com>
Diffstat (limited to 'src/vcl/vcl_sapi.c')
-rw-r--r--src/vcl/vcl_sapi.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/vcl/vcl_sapi.c b/src/vcl/vcl_sapi.c
index 981257ede8d..870a634db8c 100644
--- a/src/vcl/vcl_sapi.c
+++ b/src/vcl/vcl_sapi.c
@@ -30,7 +30,9 @@ vcl_api_connect_app_socket (vcl_worker_t * wrk)
if ((err = clib_socket_init (cs)))
{
- clib_error_report (err);
+ /* don't report the error to avoid flood of error messages during
+ * reconnect */
+ clib_error_free (err);
rv = -1;
goto done;
}