tls: fix handling of client and server init errors 55/39855/4
authorFlorin Coras <fcoras@cisco.com>
Thu, 9 Nov 2023 03:57:38 +0000 (19:57 -0800)
committerDave Barach <vpp@barachs.net>
Thu, 9 Nov 2023 19:14:12 +0000 (19:14 +0000)
commit14bfd3d8b81f91caacd572ad426638e5375d2eb3
tree21478615323dffbeb96f6a725f156aff01c86b94
parent115e31b43fcd5308601c624afbaf61211e48f56d
tls: fix handling of client and server init errors

- notify app on failed connect
- avoid cleanup of ctx before transport cleanup to be able to handle
pending rx notifications.

Type: fix

Signed-off-by: Florin Coras <fcoras@cisco.com>
Change-Id: I1b70ad45109d4c942afa1990dfce4fc44a50a637
src/vnet/tls/tls.c