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
1031c5f9
Commit
1031c5f9
authored
Nov 02, 2006
by
Jacek Caban
Committed by
Alexandre Julliard
Nov 02, 2006
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
wininet: Revert commit
760043c2
.
After more testing I've checked that current code is bad, but my patch was also wrong and causes regression in WoW.
parent
c18af414
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
6 additions
and
24 deletions
+6
-24
ftp.c
dlls/wininet/ftp.c
+0
-12
http.c
dlls/wininet/http.c
+0
-8
internet.c
dlls/wininet/internet.c
+6
-4
No files found.
dlls/wininet/ftp.c
View file @
1031c5f9
...
...
@@ -2679,10 +2679,6 @@ static void FTP_CloseSessionHandle(LPWININETHANDLEHEADER hdr)
TRACE
(
"
\n
"
);
INTERNET_SendCallback
(
hdr
,
hdr
->
dwContext
,
INTERNET_STATUS_HANDLE_CLOSING
,
&
hdr
->
hInternet
,
sizeof
(
HINTERNET
));
WININET_Release
(
&
lpwfs
->
lpAppInfo
->
hdr
);
if
(
lpwfs
->
download_in_progress
!=
NULL
)
...
...
@@ -2773,10 +2769,6 @@ static void FTP_CloseFindNextHandle(LPWININETHANDLEHEADER hdr)
TRACE
(
"
\n
"
);
INTERNET_SendCallback
(
hdr
,
hdr
->
dwContext
,
INTERNET_STATUS_HANDLE_CLOSING
,
&
hdr
->
hInternet
,
sizeof
(
HINTERNET
));
WININET_Release
(
&
lpwfn
->
lpFtpSession
->
hdr
);
for
(
i
=
0
;
i
<
lpwfn
->
size
;
i
++
)
...
...
@@ -2803,10 +2795,6 @@ static void FTP_CloseFileTransferHandle(LPWININETHANDLEHEADER hdr)
TRACE
(
"
\n
"
);
INTERNET_SendCallback
(
hdr
,
hdr
->
dwContext
,
INTERNET_STATUS_HANDLE_CLOSING
,
&
hdr
->
hInternet
,
sizeof
(
HINTERNET
));
WININET_Release
(
&
lpwh
->
lpFtpSession
->
hdr
);
if
(
!
lpwh
->
session_deleted
)
...
...
dlls/wininet/http.c
View file @
1031c5f9
...
...
@@ -2940,10 +2940,6 @@ static void HTTP_CloseHTTPRequestHandle(LPWININETHANDLEHEADER hdr)
TRACE
(
"
\n
"
);
INTERNET_SendCallback
(
hdr
,
hdr
->
dwContext
,
INTERNET_STATUS_HANDLE_CLOSING
,
&
hdr
->
hInternet
,
sizeof
(
HINTERNET
));
WININET_Release
(
&
lpwhr
->
hdr
);
if
(
NETCON_connected
(
&
lpwhr
->
netConnection
))
...
...
@@ -2978,10 +2974,6 @@ static void HTTP_CloseHTTPSessionHandle(LPWININETHANDLEHEADER hdr)
TRACE
(
"%p
\n
"
,
lpwhs
);
INTERNET_SendCallback
(
hdr
,
hdr
->
dwContext
,
INTERNET_STATUS_HANDLE_CLOSING
,
&
hdr
->
hInternet
,
sizeof
(
HINTERNET
));
WININET_Release
(
&
lpwhs
->
lpAppInfo
->
hdr
);
HeapFree
(
GetProcessHeap
(),
0
,
lpwhs
->
lpszHostName
);
...
...
dlls/wininet/internet.c
View file @
1031c5f9
...
...
@@ -969,10 +969,6 @@ static VOID INTERNET_CloseHandle(LPWININETHANDLEHEADER hdr)
TRACE
(
"%p
\n
"
,
lpwai
);
INTERNET_SendCallback
(
hdr
,
hdr
->
dwContext
,
INTERNET_STATUS_HANDLE_CLOSING
,
&
hdr
->
hInternet
,
sizeof
(
HINTERNET
));
HeapFree
(
GetProcessHeap
(),
0
,
lpwai
->
lpszAgent
);
HeapFree
(
GetProcessHeap
(),
0
,
lpwai
->
lpszProxy
);
HeapFree
(
GetProcessHeap
(),
0
,
lpwai
->
lpszProxyBypass
);
...
...
@@ -1005,6 +1001,12 @@ BOOL WINAPI InternetCloseHandle(HINTERNET hInternet)
return
FALSE
;
}
/* FIXME: native appears to send this from the equivalent of
* WININET_Release */
INTERNET_SendCallback
(
lpwh
,
lpwh
->
dwContext
,
INTERNET_STATUS_HANDLE_CLOSING
,
&
hInternet
,
sizeof
(
HINTERNET
));
WININET_FreeHandle
(
hInternet
);
WININET_Release
(
lpwh
);
...
...
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