diff options
author | Simon Zhang <yuwei1.zhang@intel.com> | 2020-04-19 21:50:17 +0800 |
---|---|---|
committer | Florin Coras <florin.coras@gmail.com> | 2020-04-20 01:12:34 +0000 |
commit | c11822959570eaceded776b8091db99667117454 (patch) | |
tree | b00df1714603fecf906896191446a61353f03048 /src/plugins | |
parent | 701c099fadc50e5b4058a0a317fea86a88a7e5eb (diff) |
tls: fix Picotls tx hang issue
Type: fix
Signed-off-by: Simon Zhang <yuwei1.zhang@intel.com>
Change-Id: Id84fbe412c99b39a0754b892ca971dd3e4434264
Diffstat (limited to 'src/plugins')
-rw-r--r-- | src/plugins/tlspicotls/tls_picotls.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/plugins/tlspicotls/tls_picotls.c b/src/plugins/tlspicotls/tls_picotls.c index d474b7b26f8..a4003c8e68b 100644 --- a/src/plugins/tlspicotls/tls_picotls.c +++ b/src/plugins/tlspicotls/tls_picotls.c @@ -459,8 +459,8 @@ picotls_ctx_write (tls_ctx_t * ctx, session_t * app_session, if (!deq_max) return deq_max; - deq_max = clib_min (deq_max, sp->max_burst_size); - deq_now = clib_min (deq_max, svm_fifo_max_read_chunk (app_tx_fifo)); + deq_now = clib_min (deq_max, sp->max_burst_size); + deq_now = clib_min (deq_now, svm_fifo_max_read_chunk (app_tx_fifo)); enq_max = svm_fifo_max_enqueue_prod (tls_tx_fifo); /** There is no engough enqueue space for one record **/ |