Merge branch 'master' of github.com:cyassl/cyassl

pull/1/head
John Safranek 2012-10-19 10:40:59 -07:00
commit 114436e587
1 changed files with 4 additions and 1 deletions

View File

@ -48,7 +48,10 @@ static void NonBlockingSSL_Accept(SSL* ssl)
while (ret != SSL_SUCCESS && (error == SSL_ERROR_WANT_READ ||
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))
select_ret = tcp_select(sockfd,