Commit 4deda91b by Michael Schubert

netops: continue writing on SSL_ERROR_WANT_WRITE

parent 22e1b4b8
...@@ -442,7 +442,7 @@ static int send_ssl(gitno_ssl *ssl, const char *msg, size_t len) ...@@ -442,7 +442,7 @@ static int send_ssl(gitno_ssl *ssl, const char *msg, size_t len)
while (off < len) { while (off < len) {
ret = SSL_write(ssl->ssl, msg + off, len - off); ret = SSL_write(ssl->ssl, msg + off, len - off);
if (ret <= 0) if (ret <= 0 && ret != SSL_ERROR_WANT_WRITE)
return ssl_set_error(ssl, ret); return ssl_set_error(ssl, ret);
off += ret; off += ret;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment