Code Review
/
vpp.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
review
|
tree
raw
|
patch
|
inline
| side by side (parent:
5a41fd5
)
tls: honor tcp deq notification request
36/32036/3
author
Florin Coras
<fcoras@cisco.com>
Mon, 19 Apr 2021 17:58:00 +0000
(10:58 -0700)
committer
Dave Barach
<openvpp@barachs.net>
Tue, 20 Apr 2021 16:48:49 +0000
(16:48 +0000)
Type: improvement
Signed-off-by: Florin Coras <fcoras@cisco.com>
Change-Id: Ic24516a7242ef4193c5d751a2d5424918c390759
src/plugins/tlsopenssl/tls_bio.c
patch
|
blob
|
history
diff --git
a/src/plugins/tlsopenssl/tls_bio.c
b/src/plugins/tlsopenssl/tls_bio.c
index
5cdedf6
..
eead09a
100644
(file)
--- 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;
}
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);
if (svm_fifo_is_empty_cons (s->rx_fifo))
svm_fifo_unset_event (s->rx_fifo);