Skip to content
Snippets Groups Projects
Commit b2805188 authored by Daniel Stenberg's avatar Daniel Stenberg
Browse files

Georg Horn found yet another SSL reading problem caused by the non-blocks.

This was a real bummer!
parent bdea56cd
No related branches found
No related tags found
No related merge requests found
......@@ -326,7 +326,7 @@ int Curl_read(struct connectdata *conn,
/* if there's data pending, then we re-invoke SSL_read() */
break;
}
} while(0);
} while(1);
if(loop && SSL_pending(conn->ssl.handle))
return -1; /* basicly EWOULDBLOCK */
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment