summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authortedu <tedu@openbsd.org>2014-10-30 16:08:31 +0000
committertedu <tedu@openbsd.org>2014-10-30 16:08:31 +0000
commit733693bdfe4ed914e5482b641f551f61dc97817f (patch)
treee9a76cbe3af8f1bad65943b21f783f49345e654e
parentrework the poll loop to poll in both directions so it doesn't get stuck (diff)
downloadwireguard-openbsd-733693bdfe4ed914e5482b641f551f61dc97817f.tar.xz
wireguard-openbsd-733693bdfe4ed914e5482b641f551f61dc97817f.zip
my mistake. we already did increase buffers to 16k; increasing to 64k
would be the next stage of embiggening. restore 16k.
-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 */