vcl: new vcl api to get detailed session errors 00/36700/4
authorRadha krishna Saragadam <krishna_srk2003@yahoo.com>
Mon, 18 Jul 2022 14:11:05 +0000 (19:41 +0530)
committerFlorin Coras <florin.coras@gmail.com>
Wed, 20 Jul 2022 14:47:09 +0000 (14:47 +0000)
commitdd92bdeb0735dac940d32f651c0b0b9ed65a6d7d
treed1f722eb0068f6c2eb1578c3e3600718b868312f
parent3f245e687c6bd837dcf7c6734aeed788bdbb4220
vcl: new vcl api to get detailed session errors

Sometimes VPP rejects application connection requests
due to various reasons. Some errors application can
retry to get a successful connection.
In a non-blocking session, VCL sends EPOLLHUP.
An application can call a new API
vppcom_session_get_error to find the details and retry
depending on the error.

Type: fix

Signed-off-by: Radha krishna Saragadam <krishna_srk2003@yahoo.com>
Change-Id: If0e21a8e25701f66a190a2799b2209e0c31f897c
src/vcl/vcl_private.h
src/vcl/vppcom.c
src/vcl/vppcom.h