From 1e929eb5e20b10658709e3d28d109d56b3fb3c3d Mon Sep 17 00:00:00 2001 From: Christopher Bargren Date: Mon, 6 Feb 2017 11:00:06 -0700 Subject: [PATCH] Pass proxy options payload to credentials callback --- src/transports/winhttp.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/transports/winhttp.c b/src/transports/winhttp.c index 4f4af0096..ae41725a7 100644 --- a/src/transports/winhttp.c +++ b/src/transports/winhttp.c @@ -1083,7 +1083,7 @@ replay: /* TODO: extract the username from the url, no payload? */ if (t->owner->proxy.credentials) { int cred_error = 1; - cred_error = t->owner->proxy.credentials(&t->proxy_cred, t->owner->proxy.url, NULL, allowed_types, NULL); + cred_error = t->owner->proxy.credentials(&t->proxy_cred, t->owner->proxy.url, NULL, allowed_types, t->owner->proxy.payload); if (cred_error < 0) return cred_error;