From ed0eba24f9b26b61596bbb0c26ec9b53251a0d32 Mon Sep 17 00:00:00 2001 From: Aric Stewart Date: Tue, 22 Nov 2005 16:18:48 +0000 Subject: [PATCH] HttpEndRequest does not actually send an extra NULL byte at the end of the request. Help from Rob Shearman on this one. --- dlls/wininet/http.c | 5 ----- 1 file changed, 5 deletions(-) diff --git a/dlls/wininet/http.c b/dlls/wininet/http.c index c2ba1a7fd6e..624c718e90b 100644 --- a/dlls/wininet/http.c +++ b/dlls/wininet/http.c @@ -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);