mirror of
https://git.proxmox.com/git/libgit2
synced 2026-01-03 16:49:30 +00:00
Merge pull request #4146 from pks-t/pks/winhttp-errors
winhttp: disambiguate error messages when sending requests
This commit is contained in:
commit
13bf4d7f13
@ -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)
|
||||
giterr_set(GITERR_OS, "failed to send request");
|
||||
giterr_set(GITERR_OS, "failed to send request with unchecked certificate");
|
||||
|
||||
return error;
|
||||
}
|
||||
|
||||
Loading…
Reference in New Issue
Block a user