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
2ed97ebe
Commit
2ed97ebe
authored
May 28, 2012
by
Jacek Caban
Committed by
Alexandre Julliard
May 29, 2012
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
wininet: Get rid of no longer used serverName and serverPort from http_session_t.
parent
a24b5588
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
7 deletions
+2
-7
http.c
dlls/wininet/http.c
+2
-5
internet.h
dlls/wininet/internet.h
+0
-2
No files found.
dlls/wininet/http.c
View file @
2ed97ebe
...
...
@@ -3086,11 +3086,11 @@ static DWORD HTTP_HttpOpenRequestW(http_session_t *session,
request
->
session
=
session
;
list_add_head
(
&
session
->
hdr
.
children
,
&
request
->
hdr
.
entry
);
port
=
session
->
server
Port
;
port
=
session
->
host
Port
;
if
(
port
==
INTERNET_INVALID_PORT_NUMBER
)
port
=
dwFlags
&
INTERNET_FLAG_SECURE
?
INTERNET_DEFAULT_HTTPS_PORT
:
INTERNET_DEFAULT_HTTP_PORT
;
request
->
server
=
get_server
(
session
->
server
Name
,
port
);
request
->
server
=
get_server
(
session
->
host
Name
,
port
);
if
(
!
request
->
server
)
{
WININET_Release
(
&
request
->
hdr
);
return
ERROR_OUTOFMEMORY
;
...
...
@@ -5450,7 +5450,6 @@ static void HTTPSESSION_Destroy(object_header_t *hdr)
WININET_Release
(
&
session
->
appInfo
->
hdr
);
heap_free
(
session
->
hostName
);
heap_free
(
session
->
serverName
);
heap_free
(
session
->
password
);
heap_free
(
session
->
userName
);
}
...
...
@@ -5602,13 +5601,11 @@ DWORD HTTP_Connect(appinfo_t *hIC, LPCWSTR lpszServerName,
if
(
hIC
->
proxyBypass
)
FIXME
(
"Proxy bypass is ignored.
\n
"
);
}
session
->
serverName
=
heap_strdupW
(
lpszServerName
);
session
->
hostName
=
heap_strdupW
(
lpszServerName
);
if
(
lpszUserName
&&
lpszUserName
[
0
])
session
->
userName
=
heap_strdupW
(
lpszUserName
);
if
(
lpszPassword
&&
lpszPassword
[
0
])
session
->
password
=
heap_strdupW
(
lpszPassword
);
session
->
serverPort
=
serverPort
;
session
->
hostPort
=
serverPort
;
session
->
connect_timeout
=
hIC
->
connect_timeout
;
session
->
send_timeout
=
INFINITE
;
...
...
dlls/wininet/internet.h
View file @
2ed97ebe
...
...
@@ -269,11 +269,9 @@ typedef struct
object_header_t
hdr
;
appinfo_t
*
appInfo
;
LPWSTR
hostName
;
/* the final destination of the request */
LPWSTR
serverName
;
/* the name of the server we directly connect to */
LPWSTR
userName
;
LPWSTR
password
;
INTERNET_PORT
hostPort
;
/* the final destination port of the request */
INTERNET_PORT
serverPort
;
/* the port of the server we directly connect to */
DWORD
connect_timeout
;
DWORD
send_timeout
;
DWORD
receive_timeout
;
...
...
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