mirror of
https://github.com/wolfSSL/wolfssl.git
synced 2025-07-30 18:57:27 +02:00
Simulate WANT_WRITE only with async I/O support
This commit is contained in:
@ -2563,8 +2563,13 @@ THREAD_RETURN WOLFSSL_THREAD client_test(void* args)
|
|||||||
break;
|
break;
|
||||||
|
|
||||||
case '6' :
|
case '6' :
|
||||||
|
#ifdef WOLFSSL_ASYNC_IO
|
||||||
nonBlocking = 1;
|
nonBlocking = 1;
|
||||||
simulateWantWrite = 1;
|
simulateWantWrite = 1;
|
||||||
|
#else
|
||||||
|
fprintf(stderr, "Ignoring -6 since async I/O support not "
|
||||||
|
"compiled in.\n");
|
||||||
|
#endif
|
||||||
break;
|
break;
|
||||||
|
|
||||||
case '7' :
|
case '7' :
|
||||||
|
@ -2035,8 +2035,13 @@ THREAD_RETURN WOLFSSL_THREAD server_test(void* args)
|
|||||||
break;
|
break;
|
||||||
|
|
||||||
case '6' :
|
case '6' :
|
||||||
|
#ifdef WOLFSSL_ASYNC_IO
|
||||||
nonBlocking = 1;
|
nonBlocking = 1;
|
||||||
simulateWantWrite = 1;
|
simulateWantWrite = 1;
|
||||||
|
#else
|
||||||
|
fprintf(stderr, "Ignoring -6 since async I/O support not "
|
||||||
|
"compiled in.\n");
|
||||||
|
#endif
|
||||||
break;
|
break;
|
||||||
case '7' :
|
case '7' :
|
||||||
minVersion = atoi(myoptarg);
|
minVersion = atoi(myoptarg);
|
||||||
|
Reference in New Issue
Block a user