Re: [1/3] wininet: Remember that headers were not received.
27 Feb
2013
27 Feb
'13
10:07 a.m.
Hi Ričardas, On 02/27/13 00:07, Ričardas Barkauskas wrote:
@@ -5708,6 +5708,7 @@ static INT HTTP_GetResponseHeaders(http_request_t *request, BOOL clear)
heap_free(request->rawHeaders); request->rawHeaders = heap_strdupW(szDefaultHeader); + request->flags |= INTERNET_REQFLAG_NO_HEADERS;
I don't think we want to maintain valid request->flags for that particular flag. Checking for request->rawHeaders should be enough. If we avoided setting rawHeaders here, we'd achieve the same behaviour. Jacek
4761
Age (days ago)
4761
Last active (days ago)
0 comments
1 participants
participants (1)
-
Jacek Caban