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
c250617d
Commit
c250617d
authored
Oct 29, 2006
by
Jacek Caban
Committed by
Alexandre Julliard
Oct 30, 2006
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
wininet: Store WININETAPPINFOW pointer in WININETHTTPSESSIONW.
parent
1af1ead8
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
6 additions
and
0 deletions
+6
-0
http.c
dlls/wininet/http.c
+5
-0
internet.h
dlls/wininet/internet.h
+1
-0
No files found.
dlls/wininet/http.c
View file @
c250617d
...
...
@@ -2405,6 +2405,9 @@ HINTERNET HTTP_Connect(LPWININETAPPINFOW hIC, LPCWSTR lpszServerName,
lpwhs
->
hdr
.
destroy
=
HTTP_CloseHTTPSessionHandle
;
lpwhs
->
hdr
.
lpfnStatusCB
=
hIC
->
hdr
.
lpfnStatusCB
;
WININET_AddRef
(
&
hIC
->
hdr
);
lpwhs
->
lpAppInfo
=
hIC
;
handle
=
WININET_AllocHandle
(
&
lpwhs
->
hdr
);
if
(
NULL
==
handle
)
{
...
...
@@ -2967,6 +2970,8 @@ static void HTTP_CloseHTTPSessionHandle(LPWININETHANDLEHEADER hdr)
TRACE
(
"%p
\n
"
,
lpwhs
);
WININET_Release
(
&
lpwhs
->
lpAppInfo
->
hdr
);
HeapFree
(
GetProcessHeap
(),
0
,
lpwhs
->
lpszHostName
);
HeapFree
(
GetProcessHeap
(),
0
,
lpwhs
->
lpszServerName
);
HeapFree
(
GetProcessHeap
(),
0
,
lpwhs
->
lpszUserName
);
...
...
dlls/wininet/internet.h
View file @
c250617d
...
...
@@ -165,6 +165,7 @@ typedef struct
typedef
struct
{
WININETHANDLEHEADER
hdr
;
WININETAPPINFOW
*
lpAppInfo
;
LPWSTR
lpszHostName
;
/* the final destination of the request */
LPWSTR
lpszServerName
;
/* the name of the server we directly connect to */
LPWSTR
lpszUserName
;
...
...
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