Implement the use of NETCON_send for HTTP connections when in
InternetWriteFile.
This commit is contained in:
parent
ba190e9af6
commit
526d3e51ee
|
@ -1676,10 +1676,17 @@ BOOL WINAPI InternetWriteFile(HINTERNET hFile, LPCVOID lpBuffer ,
|
||||||
switch (lpwh->htype)
|
switch (lpwh->htype)
|
||||||
{
|
{
|
||||||
case WH_HHTTPREQ:
|
case WH_HHTTPREQ:
|
||||||
FIXME("This shouldn't be here! We don't support this kind"
|
{
|
||||||
" of connection anymore. Must use NETCON functions,"
|
LPWININETHTTPREQW lpwhr;
|
||||||
" especially if using SSL\n");
|
lpwhr = (LPWININETHTTPREQW)lpwh;
|
||||||
nSocket = ((LPWININETHTTPREQW)lpwh)->netConnection.socketFD;
|
|
||||||
|
TRACE("HTTPREQ %li\n",dwNumOfBytesToWrite);
|
||||||
|
retval = NETCON_send(&lpwhr->netConnection, lpBuffer,
|
||||||
|
dwNumOfBytesToWrite, 0, (LPINT)lpdwNumOfBytesWritten);
|
||||||
|
|
||||||
|
WININET_Release( lpwh );
|
||||||
|
return retval;
|
||||||
|
}
|
||||||
break;
|
break;
|
||||||
|
|
||||||
case WH_HFILE:
|
case WH_HFILE:
|
||||||
|
|
Loading…
Reference in New Issue