Commit ed0eba24 authored by Aric Stewart's avatar Aric Stewart Committed by Alexandre Julliard

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

the request. Help from Rob Shearman on this one.
parent 99d8083a
......@@ -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);
......
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