wininet: Get rid of no longer needed read_chunked field.

This commit is contained in:
Jacek Caban 2015-06-12 19:46:04 +02:00 committed by Alexandre Julliard
parent 7c4f2b91d6
commit 7fa7e9bd3b
2 changed files with 1 additions and 3 deletions

View file

@ -408,7 +408,7 @@ static void reset_data_stream(http_request_t *req)
destroy_data_stream(req->data_stream);
req->data_stream = &req->netconn_stream.data_stream;
req->read_pos = req->read_size = req->netconn_stream.content_read = 0;
req->read_chunked = req->read_gzip = FALSE;
req->read_gzip = FALSE;
}
static void remove_header( http_request_t *request, const WCHAR *str, BOOL from_request )
@ -2955,7 +2955,6 @@ static DWORD set_content_length(http_request_t *request)
request->data_stream = &chunked_stream->data_stream;
request->contentLength = ~0u;
request->read_chunked = TRUE;
}
if(request->decoding) {

View file

@ -355,7 +355,6 @@ typedef struct
CRITICAL_SECTION read_section; /* section to protect the following fields */
DWORD contentLength; /* total number of bytes to be read */
BOOL read_chunked; /* are we reading in chunked mode? */
BOOL read_gzip; /* are we reading in gzip mode? */
DWORD read_pos; /* current read position in read_buf */
DWORD read_size; /* valid data size in read_buf */