mirror of
https://git.proxmox.com/git/libgit2
synced 2025-05-06 17:20:22 +00:00
netops: continue writing on SSL_ERROR_WANT_WRITE
This commit is contained in:
parent
22e1b4b8a8
commit
4deda91bda
@ -442,7 +442,7 @@ static int send_ssl(gitno_ssl *ssl, const char *msg, size_t len)
|
||||
|
||||
while (off < len) {
|
||||
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);
|
||||
|
||||
off += ret;
|
||||
|
Loading…
Reference in New Issue
Block a user