aboutsummaryrefslogtreecommitdiffstats
path: root/src/w32-estream.c
diff options
context:
space:
mode:
authorWerner Koch <[email protected]>2019-03-19 08:00:43 +0000
committerWerner Koch <[email protected]>2019-03-19 08:00:43 +0000
commite4f460d8e338d6866a6ab457dcd811c63399706a (patch)
tree2ee1bcaf0d8d023f3430980a56a72c43751e3855 /src/w32-estream.c
parentsyscfg: Add armv7a-unknown-linux-gnueabihf as an alias. (diff)
downloadlibgpg-error-e4f460d8e338d6866a6ab457dcd811c63399706a.tar.gz
libgpg-error-e4f460d8e338d6866a6ab457dcd811c63399706a.zip
estream: Increase buffer size for Windows.
* src/gpgrt-int.h (BUFFER_BLOCK_SIZE) [W32]: Increase from 512 to 8k. * src/w32-estream.c (READBUF_SIZE, WRITEBUF_SIZE): Increase from 4k to 8k. Signed-off-by: Werner Koch <[email protected]>
Diffstat (limited to 'src/w32-estream.c')
-rw-r--r--src/w32-estream.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/w32-estream.c b/src/w32-estream.c
index 9e33cdd..8ce9419 100644
--- a/src/w32-estream.c
+++ b/src/w32-estream.c
@@ -56,8 +56,8 @@
#define DIM(array) (sizeof (array) / sizeof (*array))
#endif
-#define READBUF_SIZE 4096
-#define WRITEBUF_SIZE 4096
+#define READBUF_SIZE 8192
+#define WRITEBUF_SIZE 8192
typedef struct estream_cookie_w32_pollable *estream_cookie_w32_pollable_t;