http://git.etersoft.ru/projects
/
wine
/
eterwine.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7cb5543
)
Make sure to insert the proxy authentication header if necessary.
author
Mike McCormack
<mike@codeweavers.com>
Mon, 6 Dec 2004 11:40:57 +0000
(11:40 +0000)
committer
Alexandre Julliard
<julliard@winehq.org>
Mon, 6 Dec 2004 11:40:57 +0000
(11:40 +0000)
dlls/wininet/http.c
patch
|
blob
|
blame
|
history
diff --git
a/dlls/wininet/http.c
b/dlls/wininet/http.c
index f34670f8933dd797df6a4ea7ab182ba5f4bd2aec..c69beed7f4d62e704d810ea0a470153713aa5a82 100644
(file)
--- a/
dlls/wininet/http.c
+++ b/
dlls/wininet/http.c
@@
-1559,6
+1559,10
@@
BOOL WINAPI HTTP_HttpSendRequestW(LPWININETHTTPREQW lpwhr, LPCWSTR lpszHeaders,
HTTP_ADDREQ_FLAG_ADD | HTTP_ADDHDR_FLAG_REPLACE);
}
+ /* if there's a proxy username and password, add it to the headers */
+ if (hIC && (hIC->lpszProxyUsername || hIC->lpszProxyPassword ))
+ HTTP_InsertProxyAuthorization(lpwhr, hIC->lpszProxyUsername, hIC->lpszProxyPassword);
+
/* allocate space for an array of all the string pointers to be added */
len = (HTTP_QUERY_MAX + lpwhr->nCustHeaders)*4 + 9;
req = HeapAlloc( GetProcessHeap(), 0, len*sizeof(LPCWSTR) );