summaryrefslogtreecommitdiffstats
path: root/src/plugins
diff options
context:
space:
mode:
Diffstat (limited to 'src/plugins')
-rw-r--r--src/plugins/tlsopenssl/tls_bio.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/plugins/tlsopenssl/tls_bio.c b/src/plugins/tlsopenssl/tls_bio.c
index 5cdedf649a7..eead09a9635 100644
--- a/src/plugins/tlsopenssl/tls_bio.c
+++ b/src/plugins/tlsopenssl/tls_bio.c
@@ -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);