mirror of
https://github.com/wolfSSL/wolfssl.git
synced 2026-04-20 09:18:42 +02:00
no DTLS streaming checks
This commit is contained in:
@@ -355,8 +355,14 @@ THREAD_RETURN CYASSL_THREAD server_test(void* args)
|
||||
if (idx > 0) {
|
||||
input[idx] = 0;
|
||||
printf("Client message: %s\n", input);
|
||||
|
||||
}
|
||||
|
||||
else if (idx < 0) {
|
||||
int readErr = SSL_get_error(ssl, 0);
|
||||
if (readErr != SSL_ERROR_WANT_READ)
|
||||
err_sys("SSL_read failed");
|
||||
}
|
||||
|
||||
if (SSL_write(ssl, msg, sizeof(msg)) != sizeof(msg))
|
||||
err_sys("SSL_write failed");
|
||||
|
||||
|
||||
Reference in New Issue
Block a user