Georg Horn the previous SSL_read() fix, this was actually the fix I did

on my test machine! :-)
This commit is contained in:
Daniel Stenberg 2002-01-30 21:49:29 +00:00
parent d20186a7b8
commit 907a6e0eed
1 changed files with 1 additions and 1 deletions

View File

@ -326,7 +326,7 @@ int Curl_read(struct connectdata *conn,
/* if there's data pending, then we re-invoke SSL_read() */
break;
}
} while(1);
} while(loop);
if(loop && SSL_pending(conn->ssl.handle))
return -1; /* basicly EWOULDBLOCK */
}