* src/retr.c (fd_read_body): Increase bufsize from 8k to 64k

This commit is contained in:
Tim Rühsen 2023-02-12 14:08:47 +01:00
parent c77c95033a
commit d96d20630b

View File

@ -254,7 +254,7 @@ fd_read_body (const char *downloaded_filename, int fd, FILE *out, wgint toread,
FILE *out2)
{
int ret = 0;
int dlbufsize = MAX (BUFSIZ, 8 * 1024);
int dlbufsize = MAX (BUFSIZ, 64 * 1024);
char *dlbuf = xmalloc (dlbufsize);
struct ptimer *timer = NULL;