/[gentoo-x86]/net-misc/curl/files/curl-7.28.0-fix-http-auth.patch
Gentoo

Contents of /net-misc/curl/files/curl-7.28.0-fix-http-auth.patch

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.1 - (show annotations) (download)
Thu Oct 18 18:16:20 2012 UTC (2 years, 2 months ago) by blueness
Branch: MAIN
Patch to fix git/curl over http/https with auth, bug #438718

(Portage version: 2.1.11.9/cvs/Linux x86_64)

1 Revert "zero out auth structs before transfer" which breaks http/https auth.
2
3 See:
4 https://bugs.gentoo.org/show_bug.cgi?id=438718
5 https://sourceforge.net/tracker/?func=detail&aid=3577557&group_id=976&atid=100976
6
7 --
8 diff --git a/lib/transfer.c b/lib/transfer.c
9 index 2ad5fad..a00469e 100644
10 --- a/lib/transfer.c
11 +++ b/lib/transfer.c
12 @@ -1433,10 +1433,6 @@ CURLcode Curl_pretransfer(struct SessionHandle *data)
13
14 data->state.ssl_connect_retry = FALSE;
15
16 - /* zero out auth state */
17 - memset(&data->state.authhost, 0, sizeof(struct auth));
18 - memset(&data->state.authproxy, 0, sizeof(struct auth));
19 -
20 data->state.authproblem = FALSE;
21 data->state.authhost.want = data->set.httpauth;
22 data->state.authproxy.want = data->set.proxyauth;

  ViewVC Help
Powered by ViewVC 1.1.20