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
79dc136a
Commit
79dc136a
authored
Nov 15, 2005
by
Robert Shearman
Committed by
Alexandre Julliard
Nov 15, 2005
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
INTERNET_STATUS_HANDLE_CREATED notifications just send the handle, not
an INTERNET_ASYNC_RESULT structure. The source handle in HTTP_Connect should be the parent's handle.
parent
5b1fd2e5
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
14 deletions
+5
-14
http.c
dlls/wininet/http.c
+5
-14
No files found.
dlls/wininet/http.c
View file @
79dc136a
...
...
@@ -669,7 +669,6 @@ HINTERNET WINAPI HTTP_HttpOpenRequestW(LPWININETHTTPSESSIONW lpwhs,
HINTERNET
handle
=
NULL
;
static
const
WCHAR
szUrlForm
[]
=
{
'h'
,
't'
,
't'
,
'p'
,
':'
,
'/'
,
'/'
,
'%'
,
's'
,
0
};
DWORD
len
;
INTERNET_ASYNC_RESULT
iar
;
TRACE
(
"-->
\n
"
);
...
...
@@ -797,12 +796,9 @@ HINTERNET WINAPI HTTP_HttpOpenRequestW(LPWININETHTTPSESSIONW lpwhs,
HeapFree
(
GetProcessHeap
(),
0
,
lpszUrl
);
iar
.
dwResult
=
(
DWORD_PTR
)
handle
;
iar
.
dwError
=
ERROR_SUCCESS
;
SendAsyncCallback
(
&
lpwhs
->
hdr
,
dwContext
,
INTERNET_STATUS_HANDLE_CREATED
,
&
iar
,
sizeof
(
INTERNET_ASYNC_RESULT
));
INTERNET_STATUS_HANDLE_CREATED
,
&
handle
,
sizeof
(
handle
));
/*
* A STATUS_REQUEST_COMPLETE is NOT sent here as per my tests on windows
...
...
@@ -1867,14 +1863,9 @@ HINTERNET HTTP_Connect(LPWININETAPPINFOW hIC, LPCWSTR lpszServerName,
/* Don't send a handle created callback if this handle was created with InternetOpenUrl */
if
(
!
(
lpwhs
->
hdr
.
dwInternalFlags
&
INET_OPENURL
))
{
INTERNET_ASYNC_RESULT
iar
;
iar
.
dwResult
=
(
DWORD_PTR
)
handle
;
iar
.
dwError
=
ERROR_SUCCESS
;
SendAsyncCallback
(
&
lpwhs
->
hdr
,
dwContext
,
INTERNET_STATUS_HANDLE_CREATED
,
&
iar
,
sizeof
(
INTERNET_ASYNC_RESULT
));
SendAsyncCallback
(
&
hIC
->
hdr
,
dwContext
,
INTERNET_STATUS_HANDLE_CREATED
,
&
handle
,
sizeof
(
handle
));
}
bSuccess
=
TRUE
;
...
...
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