Merge pull request #4743 from miyazakh/tls_bench_onlymode

This commit is contained in:
Chris Conlon 2022-01-18 15:41:48 -07:00 committed by GitHub
commit 4c05d35452
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 4 additions and 0 deletions

View File

@ -1995,6 +1995,10 @@ int bench_tls(void* args)
#endif
#endif
if (argClientOnly) {
#if !defined(NO_WOLFSSL_SERVER) && !defined(NO_WOLFSSL_CLIENT)
/* to avoid to wait server forever */
info->serverListening = 1;
#endif
#ifndef NO_WOLFSSL_CLIENT
ret = bench_tls_client(info);
#endif