We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 9d632cc commit ba37dc9Copy full SHA for ba37dc9
1 file changed
examples/server/server.c
@@ -3392,7 +3392,14 @@ THREAD_RETURN WOLFSSL_THREAD server_test(void* args)
3392
} while (err == WC_PENDING_E);
3393
}
3394
#else
3395
- (void)nonBlocking;
+ if (nonBlocking) {
3396
+ #ifdef WOLFSSL_DTLS
3397
+ if (doDTLS) {
3398
+ wolfSSL_dtls_set_using_nonblock(ssl, 1);
3399
+ }
3400
+ #endif
3401
+ tcp_set_nonblocking(&clientfd);
3402
3403
ret = NonBlockingSSL_Accept(ssl);
3404
#endif
3405
#ifdef WOLFSSL_EARLY_DATA
0 commit comments