aboutsummaryrefslogtreecommitdiffstats
path: root/src/plugins
diff options
context:
space:
mode:
authorSimon Zhang <yuwei1.zhang@intel.com>2020-04-09 16:35:04 +0800
committerFlorin Coras <florin.coras@gmail.com>2020-04-09 20:15:08 +0000
commit6fe7b75f3503aea950577ab769fdf292f3707256 (patch)
tree66f81434a545e375a263c9b06a26c0f053c246e9 /src/plugins
parent6d7552ca885fe385818d380d7e0b4aff03c59d83 (diff)
tls: adopt picotls engine to new session scheduling mechanism
Type: fix Signed-off-by: Simon Zhang <yuwei1.zhang@intel.com> Change-Id: I58fea0474e293d5e6a029e0dccd4a24b07b76a90
Diffstat (limited to 'src/plugins')
-rw-r--r--src/plugins/tlspicotls/tls_picotls.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/plugins/tlspicotls/tls_picotls.c b/src/plugins/tlspicotls/tls_picotls.c
index a8944bc299a..581814412c6 100644
--- a/src/plugins/tlspicotls/tls_picotls.c
+++ b/src/plugins/tlspicotls/tls_picotls.c
@@ -437,14 +437,14 @@ picotls_ctx_write (tls_ctx_t * ctx, session_t * app_session,
svm_fifo_enqueue (tls_tx_fifo, to_write, TLS_WRITE_OFFSET (ptls_ctx));
if (to_tls_len < 0)
{
- tls_add_vpp_q_builtin_tx_evt (app_session);
+ app_session->flags |= SESSION_F_CUSTOM_TX;
return 0;
}
ptls_ctx->write_buffer_offset += to_tls_len;
if (TLS_WRITE_IS_LEFT (ptls_ctx))
{
- tls_add_vpp_q_builtin_tx_evt (app_session);
+ app_session->flags |= SESSION_F_CUSTOM_TX;
return to_tls_len;
}
else