summaryrefslogtreecommitdiff
path: root/src/clients.h
diff options
context:
space:
mode:
authorChristian Pointner <equinox@spreadspace.org>2010-11-30 00:18:18 +0000
committerChristian Pointner <equinox@spreadspace.org>2010-11-30 00:18:18 +0000
commitcbd494dcb3c512940f77358263938cbf1883bd00 (patch)
tree10c4fb47fd504067c5040dafcada6b572851de0e /src/clients.h
parentadded new option to manpage (diff)
only recv if buffer is not full
git-svn-id: https://svn.spreadspace.org/tcpproxy/trunk@17 e61f0598-a718-4e21-a8f0-0aadfa62ad6b
Diffstat (limited to 'src/clients.h')
-rw-r--r--src/clients.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/clients.h b/src/clients.h
index 2515837..5253b35 100644
--- a/src/clients.h
+++ b/src/clients.h
@@ -33,7 +33,7 @@
#include "slist.h"
#include "tcp.h"
-#define BUFFER_LENGTH 1048576
+#define BUFFER_LENGTH 10240
typedef struct {
int fd_[2];