Commit 526d3e51 authored by Aric Stewart's avatar Aric Stewart Committed by Alexandre Julliard

Implement the use of NETCON_send for HTTP connections when in

InternetWriteFile.
parent ba190e9a
......@@ -1676,10 +1676,17 @@ BOOL WINAPI InternetWriteFile(HINTERNET hFile, LPCVOID lpBuffer ,
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:
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment