forked from wolfSSL/wolfssl
Merge branch 'master' of github.com:cyassl/cyassl
This commit is contained in:
@ -48,7 +48,10 @@ static void NonBlockingSSL_Accept(SSL* ssl)
|
|||||||
|
|
||||||
while (ret != SSL_SUCCESS && (error == SSL_ERROR_WANT_READ ||
|
while (ret != SSL_SUCCESS && (error == SSL_ERROR_WANT_READ ||
|
||||||
error == SSL_ERROR_WANT_WRITE)) {
|
error == SSL_ERROR_WANT_WRITE)) {
|
||||||
printf("... server would block\n");
|
if (error == SSL_ERROR_WANT_READ)
|
||||||
|
printf("... server would read block\n");
|
||||||
|
else
|
||||||
|
printf("... server would write block\n");
|
||||||
|
|
||||||
if (CyaSSL_dtls(ssl))
|
if (CyaSSL_dtls(ssl))
|
||||||
select_ret = tcp_select(sockfd,
|
select_ret = tcp_select(sockfd,
|
||||||
|
Reference in New Issue
Block a user