tls: honor tcp deq notification request

Type: improvement

Signed-off-by: Florin Coras <fcoras@cisco.com>
Change-Id: Ic24516a7242ef4193c5d751a2d5424918c390759
This commit is contained in:
Florin Coras
2021-04-19 10:58:00 -07:00
committed by Dave Barach
parent 5a41fd5ee7
commit adef691a6f

View File

@ -77,6 +77,12 @@ bio_tls_read (BIO * b, char *out, int outl)
return -1;
}
if (svm_fifo_needs_deq_ntf (s->rx_fifo, rv))
{
svm_fifo_clear_deq_ntf (s->rx_fifo);
session_send_io_evt_to_thread (s->rx_fifo, SESSION_IO_EVT_RX);
}
if (svm_fifo_is_empty_cons (s->rx_fifo))
svm_fifo_unset_event (s->rx_fifo);