mirror of
https://github.com/linuxkit/linuxkit.git
synced 2025-07-22 10:31:35 +00:00
nc-vsock: Use a 256K buffer
Signed-off-by: Ian Campbell <ian.campbell@docker.com>
This commit is contained in:
parent
eb221b4d4f
commit
8fdebc091c
@ -207,7 +207,7 @@ static void set_nonblock(int fd, bool enable)
|
||||
|
||||
static int xfer_data(int in_fd, int out_fd)
|
||||
{
|
||||
char buf[4096];
|
||||
char buf[256*1024];
|
||||
char *send_ptr = buf;
|
||||
ssize_t nbytes;
|
||||
ssize_t remaining;
|
||||
|
Loading…
Reference in New Issue
Block a user