nc-vsock: Use a 256K buffer

Signed-off-by: Ian Campbell <ian.campbell@docker.com>
This commit is contained in:
Ian Campbell 2016-03-29 15:43:49 +01:00
parent eb221b4d4f
commit 8fdebc091c

View File

@ -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;