mirror of
https://git.proxmox.com/git/libgit2
synced 2025-08-03 02:09:41 +00:00
Why are we disabling redirects?
This commit is contained in:
parent
11f8336ec9
commit
ac316e7438
@ -245,6 +245,9 @@ static int winhttp_stream_connect(winhttp_stream *s)
|
||||
git__free(proxy_wide);
|
||||
}
|
||||
|
||||
/* Disable WinHTTP redirects so we can handle them manually. Why, you ask?
|
||||
* http://social.msdn.microsoft.com/Forums/windowsdesktop/en-US/b2ff8879-ab9f-4218-8f09-16d25dff87ae
|
||||
*/
|
||||
if (!WinHttpSetOption(s->request,
|
||||
WINHTTP_OPTION_DISABLE_FEATURE,
|
||||
&disable_redirects,
|
||||
|
Loading…
Reference in New Issue
Block a user