Hans Leidekker : winhttp: Double the size of the internal read buffer.

Alexandre Julliard julliard at wine.codeweavers.com
Tue Dec 9 15:35:50 CST 2014


Module: wine
Branch: master
Commit: cd7806b2239baea45355a166a3bc0af3025eb839
URL:    http://source.winehq.org/git/wine.git/?a=commit;h=cd7806b2239baea45355a166a3bc0af3025eb839

Author: Hans Leidekker <hans at codeweavers.com>
Date:   Tue Dec  9 12:49:02 2014 +0100

winhttp: Double the size of the internal read buffer.

---

 dlls/winhttp/winhttp_private.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dlls/winhttp/winhttp_private.h b/dlls/winhttp/winhttp_private.h
index 0f7749c..d08d153 100644
--- a/dlls/winhttp/winhttp_private.h
+++ b/dlls/winhttp/winhttp_private.h
@@ -194,7 +194,7 @@ typedef struct
     BOOL  read_chunked_size; /* chunk size remaining */
     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 */
+    char  read_buf[8192]; /* buffer for already read but not returned data */
     header_t *headers;
     DWORD num_headers;
     WCHAR **accept_types;




More information about the wine-cvs mailing list