summaryrefslogtreecommitdiff
path: root/usr.bin/nc
diff options
context:
space:
mode:
authorTed Unangst <tedu@cvs.openbsd.org>2014-10-30 16:08:32 +0000
committerTed Unangst <tedu@cvs.openbsd.org>2014-10-30 16:08:32 +0000
commit5ae04802d0f9f738f3a8173f817515060f6d14fb (patch)
tree7c37af73164f8cb43b4074f0f39d545dcc0cdca5 /usr.bin/nc
parent69f3638728dc2a04e5609c3a3ca408db376a0051 (diff)
my mistake. we already did increase buffers to 16k; increasing to 64k
would be the next stage of embiggening. restore 16k.
Diffstat (limited to 'usr.bin/nc')
-rw-r--r--usr.bin/nc/netcat.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.bin/nc/netcat.c b/usr.bin/nc/netcat.c
index a8e90186e9f..7a523ccabab 100644
--- a/usr.bin/nc/netcat.c
+++ b/usr.bin/nc/netcat.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: netcat.c,v 1.125 2014/10/30 16:06:07 tedu Exp $ */
+/* $OpenBSD: netcat.c,v 1.126 2014/10/30 16:08:31 tedu Exp $ */
/*
* Copyright (c) 2001 Eric Jackson <ericj@monkey.org>
*
@@ -68,7 +68,7 @@
#define POLL_NETOUT 1
#define POLL_NETIN 2
#define POLL_STDOUT 3
-#define BUFSIZE 2048
+#define BUFSIZE 16384
/* Command Line Options */
int dflag; /* detached, no stdin */