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:
8409955
)
tls: avoid possible async handler duplication
08/13608/5
author
Ping Yu
<ping.yu@intel.com>
Mon, 23 Jul 2018 14:33:49 +0000
(10:33 -0400)
committer
Florin Coras
<florin.coras@gmail.com>
Mon, 23 Jul 2018 22:18:19 +0000
(22:18 +0000)
One handler is good enough when engine sends out a retry status
Thus this patch will just go one branch
Change-Id: Id81cb3fa67d2b322b0fe1b2f62cd866cf3491eb4
Signed-off-by: Ping Yu <ping.yu@intel.com>
src/plugins/tlsopenssl/tls_openssl.c
patch
|
blob
|
history
diff --git
a/src/plugins/tlsopenssl/tls_openssl.c
b/src/plugins/tlsopenssl/tls_openssl.c
index
b675d79
..
73e5cc0
100644
(file)
--- a/
src/plugins/tlsopenssl/tls_openssl.c
+++ b/
src/plugins/tlsopenssl/tls_openssl.c
@@
-220,7
+220,7
@@
openssl_ctx_handshake_rx (tls_ctx_t * ctx, stream_session_t * tls_session)
{
vpp_ssl_async_retry_func (ctx, myself);
}
{
vpp_ssl_async_retry_func (ctx, myself);
}
- if (err == SSL_ERROR_WANT_ASYNC)
+
else
if (err == SSL_ERROR_WANT_ASYNC)
{
vpp_ssl_async_process_event (ctx, myself);
}
{
vpp_ssl_async_process_event (ctx, myself);
}