tls: fix close with data 59/21159/2
authorFlorin Coras <[email protected]>
Wed, 7 Aug 2019 18:14:56 +0000 (11:14 -0700)
committerDave Wallace <[email protected]>
Fri, 9 Aug 2019 13:52:29 +0000 (13:52 +0000)
commit0f0ff02a93c7bc77c2d4a04a483e0d1056c1c0dc
tree7ac2acb1e026265297b75bf6284d14f23e36facf
parentc9a9f5d3470ca14df4496763e0770d5e2ab734d7
tls: fix close with data

Type:fix

Also changes the way the ctx is freed. TLS now waits for tcp delete
notification before freeing the ctx.

Change-Id: I2f606a9ce7b3755ae9d11d6fe714fe11b65dcb98
Signed-off-by: Florin Coras <[email protected]>
(cherry picked from commit ef2b3357b4b2a682ef81ffa2c71cec14f83101d6)
src/plugins/tlsopenssl/tls_openssl.c
src/vnet/tls/tls.c
src/vnet/tls/tls.h