tls: avoid app session preallocation 05/40405/5
authorFlorin Coras <fcoras@cisco.com>
Wed, 28 Feb 2024 01:10:25 +0000 (17:10 -0800)
committerDave Barach <vpp@barachs.net>
Wed, 20 Mar 2024 20:07:05 +0000 (20:07 +0000)
commite565902654aea1e73b740cf68daa3d116cc15f9e
tree096b72da34e79ab29ae517f171797c8798406545
parent40c95f50bae22ac47412ad640d35a14d4597b466
tls: avoid app session preallocation

Since async rx event infra decouples notification event generation from
delivery we no longer run the risk of having tls realloc session pools
while session layer still holds a pointer to the accepted/connected tcp
session.

Type: improvement

Signed-off-by: Florin Coras <fcoras@cisco.com>
Change-Id: I1bb429a058707aba1d4f32ea33615a2367e66969
src/plugins/tlsopenssl/tls_openssl.c
src/plugins/tlspicotls/tls_picotls.c
src/vnet/tls/tls.c