Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-winehq
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-winehq
Commits
3e23b5e5
Commit
3e23b5e5
authored
Nov 19, 2012
by
Jacek Caban
Committed by
Alexandre Julliard
Nov 19, 2012
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
wininet: Use proxy settings directly from http_request_t in a few more places.
parent
5fb49243
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
5 deletions
+4
-5
http.c
dlls/wininet/http.c
+4
-5
No files found.
dlls/wininet/http.c
View file @
3e23b5e5
...
...
@@ -1950,7 +1950,6 @@ static DWORD HTTPREQ_QueryOption(object_header_t *hdr, DWORD option, void *buffe
switch
(
option
)
{
case
INTERNET_OPTION_DIAGNOSTIC_SOCKET_INFO
:
{
http_session_t
*
session
=
req
->
session
;
INTERNET_DIAGNOSTIC_SOCKET_INFO
*
info
=
buffer
;
FIXME
(
"INTERNET_DIAGNOSTIC_SOCKET_INFO stub
\n
"
);
...
...
@@ -1964,11 +1963,11 @@ static DWORD HTTPREQ_QueryOption(object_header_t *hdr, DWORD option, void *buffe
info
->
Socket
=
0
;
/* FIXME: get source port from req->netConnection */
info
->
SourcePort
=
0
;
info
->
DestPort
=
session
->
hostP
ort
;
info
->
DestPort
=
req
->
server
->
p
ort
;
info
->
Flags
=
0
;
if
(
HTTP_KeepAlive
(
req
))
info
->
Flags
|=
IDSI_FLAG_KEEP_ALIVE
;
if
(
session
->
appInfo
->
proxy
&&
session
->
appInfo
->
proxy
[
0
]
!=
0
)
if
(
req
->
proxy
)
info
->
Flags
|=
IDSI_FLAG_PROXY
;
if
(
req
->
netconn
->
useSSL
)
info
->
Flags
|=
IDSI_FLAG_SECURE
;
...
...
@@ -2159,7 +2158,7 @@ static DWORD HTTPREQ_QueryOption(object_header_t *hdr, DWORD option, void *buffe
* INTERNET_REQFLAG_CACHE_WRITE_DISABLED
*/
if
(
req
->
session
->
appInfo
->
proxy
)
if
(
req
->
proxy
)
flags
|=
INTERNET_REQFLAG_VIA_PROXY
;
if
(
!
req
->
rawHeaders
)
flags
|=
INTERNET_REQFLAG_NO_HEADERS
;
...
...
@@ -4838,7 +4837,7 @@ static DWORD HTTP_HttpSendRequestW(http_request_t *request, LPCWSTR lpszHeaders,
if
(
!
(
request
->
hdr
.
dwFlags
&
INTERNET_FLAG_NO_COOKIES
))
HTTP_InsertCookies
(
request
);
if
(
request
->
session
->
appInfo
->
proxy
&&
request
->
session
->
appInfo
->
proxy
[
0
]
)
if
(
request
->
proxy
)
{
WCHAR
*
url
=
build_proxy_path_url
(
request
);
requestString
=
HTTP_BuildHeaderRequestString
(
request
,
request
->
verb
,
url
,
request
->
version
);
...
...
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