diff options
author | Florin Coras <fcoras@cisco.com> | 2021-05-10 21:12:27 -0700 |
---|---|---|
committer | Damjan Marion <dmarion@me.com> | 2021-05-12 08:44:38 +0000 |
commit | 2c876f9c587a359ffd7191723cf616b14dcb9cf1 (patch) | |
tree | 17f941b0fe361b8c918b4bcfe63f3f5d3d469693 /src/vnet/session/application.h | |
parent | 89a9f61dfcd76cdbfd7c731b823cb4a3a7e8d1cf (diff) |
tls: switch to vc service and track half-open sessions
Half-open tls sessions are now tracked by the app worker and are cleaned
up only when tcp cleans up its half-open session, i.e., independent of
when the established tls context is allocated.
Type: improvement
Signed-off-by: Florin Coras <fcoras@cisco.com>
Change-Id: If5d594d7095192dd527daf4ea1358ffeccdfcc7a
Diffstat (limited to 'src/vnet/session/application.h')
-rw-r--r-- | src/vnet/session/application.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/vnet/session/application.h b/src/vnet/session/application.h index eca3d3cf2c5..5ddf1d21fe3 100644 --- a/src/vnet/session/application.h +++ b/src/vnet/session/application.h @@ -314,7 +314,7 @@ int app_worker_init_connected (app_worker_t * app_wrk, session_t * s); int app_worker_connect_notify (app_worker_t * app_wrk, session_t * s, session_error_t err, u32 opaque); int app_worker_add_half_open (app_worker_t *app_wrk, session_handle_t sh); -int app_worker_del_half_open (app_worker_t *app_wrk, u32 ho_index); +int app_worker_del_half_open (app_worker_t *app_wrk, session_t *s); int app_worker_close_notify (app_worker_t * app_wrk, session_t * s); int app_worker_transport_closed_notify (app_worker_t * app_wrk, session_t * s); |