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
a9bdc01e
Commit
a9bdc01e
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 pointer to WININETHTTPSESSIONW in WININETHTTPREQUESTW.
parent
a541a44f
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 @
a9bdc01e
...
...
@@ -1009,6 +1009,9 @@ HINTERNET WINAPI HTTP_HttpOpenRequestW(LPWININETHTTPSESSIONW lpwhs,
lpwhr
->
hdr
.
destroy
=
HTTP_CloseHTTPRequestHandle
;
lpwhr
->
hdr
.
lpfnStatusCB
=
lpwhs
->
hdr
.
lpfnStatusCB
;
WININET_AddRef
(
&
lpwhs
->
hdr
);
lpwhr
->
lpHttpSession
=
lpwhs
;
handle
=
WININET_AllocHandle
(
&
lpwhr
->
hdr
);
if
(
NULL
==
handle
)
{
...
...
@@ -2938,6 +2941,8 @@ static void HTTP_CloseHTTPRequestHandle(LPWININETHANDLEHEADER hdr)
TRACE
(
"
\n
"
);
WININET_Release
(
&
lpwhr
->
hdr
);
if
(
NETCON_connected
(
&
lpwhr
->
netConnection
))
HTTP_CloseConnection
(
lpwhr
);
...
...
dlls/wininet/internet.h
View file @
a9bdc01e
...
...
@@ -190,6 +190,7 @@ typedef struct
typedef
struct
{
WININETHANDLEHEADER
hdr
;
WININETHTTPSESSIONW
*
lpHttpSession
;
LPWSTR
lpszPath
;
LPWSTR
lpszVerb
;
LPWSTR
lpszRawHeaders
;
...
...
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