mirror of
https://gitlab.com/gnuwget/wget.git
synced 2025-08-20 16:14:31 +00:00
* src/retr.c (fd_read_body): Increase bufsize from 8k to 64k
This commit is contained in:
@ -254,7 +254,7 @@ fd_read_body (const char *downloaded_filename, int fd, FILE *out, wgint toread,
|
|||||||
FILE *out2)
|
FILE *out2)
|
||||||
{
|
{
|
||||||
int ret = 0;
|
int ret = 0;
|
||||||
int dlbufsize = MAX (BUFSIZ, 8 * 1024);
|
int dlbufsize = MAX (BUFSIZ, 64 * 1024);
|
||||||
char *dlbuf = xmalloc (dlbufsize);
|
char *dlbuf = xmalloc (dlbufsize);
|
||||||
|
|
||||||
struct ptimer *timer = NULL;
|
struct ptimer *timer = NULL;
|
||||||
|
Reference in New Issue
Block a user