hsa: improve handling of SESSION_E_REFUSED in http client 54/43154/2
authorSemir Sionek <[email protected]>
Fri, 13 Jun 2025 13:16:47 +0000 (13:16 +0000)
committerFlorin Coras <[email protected]>
Fri, 13 Jun 2025 19:37:28 +0000 (19:37 +0000)
commit23b51bd52a0641f33f79d20fe4566a9ad3b4675b
tree119110e39f3378d05cde170c2e3a499347938989
parent407c3e95b40cc4b01f67202f71bc0e8f77b90a28
hsa: improve handling of SESSION_E_REFUSED in http client

In that case (e.g trying to connect on a closed port), a connection
is refused and no session is allocated. As such, we cannot use the
struct to obtain the worker or vlib_main_t.

Type: fix
Change-Id: I9b44ccb42ba56a75b8ecc39501a7386ba2e84981
Signed-off-by: Semir Sionek <[email protected]>
src/plugins/hs_apps/http_client.c