mirror of
https://github.com/moparisthebest/curl
synced 2024-12-22 08:08:50 -05:00
Georg Horn found yet another SSL reading problem caused by the non-blocks.
This was a real bummer!
This commit is contained in:
parent
bdea56cd3f
commit
b28051881e
@ -326,7 +326,7 @@ int Curl_read(struct connectdata *conn,
|
|||||||
/* if there's data pending, then we re-invoke SSL_read() */
|
/* if there's data pending, then we re-invoke SSL_read() */
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
} while(0);
|
} while(1);
|
||||||
if(loop && SSL_pending(conn->ssl.handle))
|
if(loop && SSL_pending(conn->ssl.handle))
|
||||||
return -1; /* basicly EWOULDBLOCK */
|
return -1; /* basicly EWOULDBLOCK */
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user