care how many bytes that is readable NOW. Philippe Raoult reported the
bug in 7.10.3-pre3.
break;
case SSL_ERROR_WANT_READ:
case SSL_ERROR_WANT_WRITE:
- /* if there's data pending, then we re-invoke SSL_read() */
- if(SSL_pending(conn->ssl.handle))
- return -1; /* basicly EWOULDBLOCK */
- break;
+ /* there's data pending, re-invoke SSL_read() */
+ return -1; /* basicly EWOULDBLOCK */
default:
failf(conn->data, "SSL read error: %d", err);
return CURLE_RECV_ERROR;