Skip to content

Commit 1e929eb

Browse files
committed
Pass proxy options payload to credentials callback
1 parent fa2dfcf commit 1e929eb

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/transports/winhttp.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1083,7 +1083,7 @@ static int winhttp_stream_read(
10831083
/* TODO: extract the username from the url, no payload? */
10841084
if (t->owner->proxy.credentials) {
10851085
int cred_error = 1;
1086-
cred_error = t->owner->proxy.credentials(&t->proxy_cred, t->owner->proxy.url, NULL, allowed_types, NULL);
1086+
cred_error = t->owner->proxy.credentials(&t->proxy_cred, t->owner->proxy.url, NULL, allowed_types, t->owner->proxy.payload);
10871087

10881088
if (cred_error < 0)
10891089
return cred_error;

0 commit comments

Comments
 (0)