Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-cw
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
wine
wine-cw
Commits
87487c14
Commit
87487c14
authored
Jul 29, 2011
by
Hans Leidekker
Committed by
Alexandre Julliard
Jul 29, 2011
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
winhttp: Store a copy of the proxy server name and bypass list.
parent
36014639
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
2 deletions
+6
-2
request.c
dlls/winhttp/request.c
+6
-2
No files found.
dlls/winhttp/request.c
View file @
87487c14
...
...
@@ -2202,6 +2202,8 @@ static ULONG WINAPI winhttp_request_Release(
WinHttpCloseHandle
(
request
->
hsession
);
CloseHandle
(
request
->
wait
);
CloseHandle
(
request
->
cancel
);
heap_free
(
(
WCHAR
*
)
request
->
proxy
.
lpszProxy
);
heap_free
(
(
WCHAR
*
)
request
->
proxy
.
lpszProxyBypass
);
heap_free
(
request
->
buffer
);
heap_free
(
request
->
verb
);
heap_free
(
request
);
...
...
@@ -2384,8 +2386,8 @@ static HRESULT WINAPI winhttp_request_SetProxy(
case
HTTPREQUEST_PROXYSETTING_PROXY
:
request
->
proxy
.
dwAccessType
=
WINHTTP_ACCESS_TYPE_NAMED_PROXY
;
request
->
proxy
.
lpszProxy
=
V_BSTR
(
&
proxy_server
);
request
->
proxy
.
lpszProxyBypass
=
V_BSTR
(
&
bypass_list
);
request
->
proxy
.
lpszProxy
=
strdupW
(
V_BSTR
(
&
proxy_server
)
);
request
->
proxy
.
lpszProxyBypass
=
strdupW
(
V_BSTR
(
&
bypass_list
)
);
break
;
default:
return
E_INVALIDARG
;
...
...
@@ -3021,6 +3023,8 @@ static HRESULT WINAPI winhttp_request_Abort(
WinHttpCloseHandle
(
request
->
hsession
);
CloseHandle
(
request
->
wait
);
CloseHandle
(
request
->
cancel
);
heap_free
(
(
WCHAR
*
)
request
->
proxy
.
lpszProxy
);
heap_free
(
(
WCHAR
*
)
request
->
proxy
.
lpszProxyBypass
);
heap_free
(
request
->
buffer
);
heap_free
(
request
->
verb
);
initialize_request
(
request
);
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment