mirror of
https://github.com/mirror/wget.git
synced 2025-03-14 11:50:18 +08:00
* src/retr.c (fd_read_body): Increase bufsize from 8k to 64k
This commit is contained in:
parent
c77c95033a
commit
d96d20630b
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user