wine/dlls/wininet internet.c
Alexandre Julliard
julliard at wine.codeweavers.com
Mon Nov 21 05:57:33 CST 2005
ChangeSet ID: 21349
CVSROOT: /opt/cvs-commit
Module name: wine
Changes by: julliard at winehq.org 2005/11/21 05:57:33
Modified files:
dlls/wininet : internet.c
Log message:
Aric Stewart <aric at codeweavers.com>
Implement the use of NETCON_send for HTTP connections when in
InternetWriteFile.
Patch: http://cvs.winehq.org/patch.py?id=21349
Old revision New revision Changes Path
1.142 1.143 +11 -4 wine/dlls/wininet/internet.c
Index: wine/dlls/wininet/internet.c
diff -u -p wine/dlls/wininet/internet.c:1.142 wine/dlls/wininet/internet.c:1.143
--- wine/dlls/wininet/internet.c:1.142 21 Nov 2005 11:57:33 -0000
+++ wine/dlls/wininet/internet.c 21 Nov 2005 11:57:33 -0000
@@ -1676,10 +1676,17 @@ BOOL WINAPI InternetWriteFile(HINTERNET
switch (lpwh->htype)
{
case WH_HHTTPREQ:
- FIXME("This shouldn't be here! We don't support this kind"
- " of connection anymore. Must use NETCON functions,"
- " especially if using SSL\n");
- nSocket = ((LPWININETHTTPREQW)lpwh)->netConnection.socketFD;
+ {
+ LPWININETHTTPREQW lpwhr;
+ lpwhr = (LPWININETHTTPREQW)lpwh;
+
+ TRACE("HTTPREQ %li\n",dwNumOfBytesToWrite);
+ retval = NETCON_send(&lpwhr->netConnection, lpBuffer,
+ dwNumOfBytesToWrite, 0, (LPINT)lpdwNumOfBytesWritten);
+
+ WININET_Release( lpwh );
+ return retval;
+ }
break;
case WH_HFILE:
More information about the wine-cvs
mailing list