aboutsummaryrefslogtreecommitdiffstats
path: root/jrt
diff options
context:
space:
mode:
Diffstat (limited to 'jrt')
-rw-r--r--jrt/src/com/yahoo/jrt/Connection.java4
1 files changed, 2 insertions, 2 deletions
diff --git a/jrt/src/com/yahoo/jrt/Connection.java b/jrt/src/com/yahoo/jrt/Connection.java
index 5a4478cf91e..7393d30fc81 100644
--- a/jrt/src/com/yahoo/jrt/Connection.java
+++ b/jrt/src/com/yahoo/jrt/Connection.java
@@ -32,8 +32,8 @@ class Connection extends Target {
private int state = INITIAL;
private final Queue queue = new Queue();
private final Queue myQueue = new Queue();
- private final Buffer input = new Buffer(READ_SIZE * 2);
- private final Buffer output = new Buffer(WRITE_SIZE * 2);
+ private final Buffer input = new Buffer(0x1000); // Start off with small buffer.
+ private final Buffer output = new Buffer(0x1000); // Start off with small buffer.
private int maxInputSize = 64*1024;
private int maxOutputSize = 64*1024;
private final boolean tcpNoDelay;