Commit 13bf4d7f by Patrick Steinhardt Committed by GitHub

Merge pull request #4146 from pks-t/pks/winhttp-errors

winhttp: disambiguate error messages when sending requests
parents 53454be8 b65a5e9b
...@@ -881,7 +881,7 @@ static int send_request(winhttp_stream *s, size_t len, int ignore_length) ...@@ -881,7 +881,7 @@ static int send_request(winhttp_stream *s, size_t len, int ignore_length)
} }
if ((error = do_send_request(s, len, ignore_length)) < 0) if ((error = do_send_request(s, len, ignore_length)) < 0)
giterr_set(GITERR_OS, "failed to send request"); giterr_set(GITERR_OS, "failed to send request with unchecked certificate");
return error; return error;
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment