Commit 3d02c42b authored by Alexandre Julliard's avatar Alexandre Julliard

wininet: Add a read-ahead buffer to allow InternetQueryDataAvailable to return…

wininet: Add a read-ahead buffer to allow InternetQueryDataAvailable to return the right values in chunked mode.
parent e531ccd6
......@@ -207,6 +207,9 @@ typedef struct
struct HttpAuthInfo *pAuthInfo;
struct HttpAuthInfo *pProxyAuthInfo;
BOOL read_chunked; /* are we reading in chunked mode? */
DWORD read_pos; /* current read position in read_buf */
DWORD read_size; /* valid data size in read_buf */
char read_buf[4096]; /* buffer for already read but not returned data */
} WININETHTTPREQW, *LPWININETHTTPREQW;
......
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