I think we need a delay

This commit is contained in:
overflowerror 2019-03-13 18:59:33 +01:00
parent 04c5fb04bd
commit d8593d5e72

View file

@ -63,6 +63,9 @@ void* copyFromSslToFd(void* data) {
break;
} else if (error == SSL_ERROR_WANT_READ || error == SSL_ERROR_WANT_WRITE) {
debug("ssl: trying again");
usleep(10000);
continue;
} else {
warn("ssl: connection had an error");