tls: fix close with data 25/21125/7
authorFlorin Coras <fcoras@cisco.com>
Wed, 7 Aug 2019 18:14:56 +0000 (11:14 -0700)
committerDave Barach <openvpp@barachs.net>
Thu, 8 Aug 2019 22:02:17 +0000 (22:02 +0000)
commitef2b3357b4b2a682ef81ffa2c71cec14f83101d6
treebc881e13c2d2ab7c086d24803cc5bc99744c2c19
parentd1ba3d257788f1a65016a50a53d85f2b905874bb
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 <fcoras@cisco.com>
src/plugins/tlsopenssl/tls_openssl.c
src/vnet/tls/tls.c
src/vnet/tls/tls.h