diff options
author | Michael Schubert <schu@schu.io> | 2012-09-04 00:13:59 +0200 |
---|---|---|
committer | Michael Schubert <schu@schu.io> | 2012-09-04 00:14:16 +0200 |
commit | 4deda91bda034d330fd20c1000ef2d3d2972bd0e (patch) | |
tree | e773fa2ed81f4c0e25c8e5af6c1aa29dbe2ab135 /src/netops.c | |
parent | 22e1b4b8a8ee8601bdd57da8cd4652afc24e068c (diff) | |
download | libgit2-4deda91bda034d330fd20c1000ef2d3d2972bd0e.tar.gz |
netops: continue writing on SSL_ERROR_WANT_WRITE
Diffstat (limited to 'src/netops.c')
-rw-r--r-- | src/netops.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/netops.c b/src/netops.c index f622e0d10..a0d2bf3ab 100644 --- a/src/netops.c +++ b/src/netops.c @@ -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; |