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

Clarence Gardner pointed out the not-taken-care-of return codes from SSL_read

parent 04da96e0
No related branches found
No related tags found
No related merge requests found
......@@ -347,6 +347,9 @@ int Curl_read(struct connectdata *conn,
case SSL_ERROR_WANT_WRITE:
/* if there's data pending, then we re-invoke SSL_read() */
break;
default:
failf(conn->data, "SSL read error: %d", err);
return CURLE_READ_ERROR;
}
} while(loop);
if(loop && SSL_pending(conn->ssl.handle))
......
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