HttpEndRequest does not actually send an extra NULL byte at the end of

the request. Help from Rob Shearman on this one.
oldstable
Aric Stewart 2005-11-22 16:18:48 +00:00 committed by Alexandre Julliard
parent 99d8083a80
commit ed0eba24f9
1 changed files with 0 additions and 5 deletions

View File

@ -596,8 +596,6 @@ BOOL WINAPI HttpEndRequestW(HINTERNET hRequest,
BOOL rc = FALSE;
LPWININETHTTPREQW lpwhr;
INT responseLen;
INT cnt;
static const char nullbuff[] = "\0";
TRACE("-->\n");
lpwhr = (LPWININETHTTPREQW) WININET_GetObject( hRequest );
@ -611,9 +609,6 @@ BOOL WINAPI HttpEndRequestW(HINTERNET hRequest,
lpwhr->hdr.dwFlags |= dwFlags;
lpwhr->hdr.dwContext = dwContext;
/* End the request by sending a NULL byte */
rc = NETCON_send(&lpwhr->netConnection, nullbuff, 1, 0, &cnt);
SendAsyncCallback(&lpwhr->hdr, lpwhr->hdr.dwContext,
INTERNET_STATUS_RECEIVING_RESPONSE, NULL, 0);