23 #include <openssl/err.h>
24 #include <openssl/ssl.h>
43 written = write((this->handle).fd, buf, count);
52 case (EAGAIN|EWOULDBLOCK):
71 done = SSL_write((this->handle).ssl, buf, count);
75 }
else if (0 > done) {
76 switch (SSL_get_error((this->handle).ssl, done)) {
77 case SSL_ERROR_SYSCALL:
85 case (EAGAIN|EWOULDBLOCK):
99 while (0 != (err = ERR_get_error())) {
103 ERR_error_string(err, NULL));
108 case SSL_ERROR_ZERO_RETURN:
ssize_t streamWrite(Stream this, void *buf, size_t count)
void loggerLog(void *, logger_level, const char *const,...)