aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorThomas Becker2013-06-12 02:40:55 (EDT)
committerThomas Becker2013-06-12 02:43:25 (EDT)
commitc5bf9c3d49124334e5cafa80193081b7921e0d86 (patch)
tree215e945668607fbe0a81b1dae9e33b7ef8afb284
parent53270e7edb4e16c3ec9cb796aafa3e9e6de89fef (diff)
downloadorg.eclipse.jetty.project-c5bf9c3d49124334e5cafa80193081b7921e0d86.zip
org.eclipse.jetty.project-c5bf9c3d49124334e5cafa80193081b7921e0d86.tar.gz
org.eclipse.jetty.project-c5bf9c3d49124334e5cafa80193081b7921e0d86.tar.bz2
Increase buffer size of BufferUtil.writeTo to 4k
-rw-r--r--jetty-util/src/main/java/org/eclipse/jetty/util/BufferUtil.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/jetty-util/src/main/java/org/eclipse/jetty/util/BufferUtil.java b/jetty-util/src/main/java/org/eclipse/jetty/util/BufferUtil.java
index 85ee7a6..198e9e7 100644
--- a/jetty-util/src/main/java/org/eclipse/jetty/util/BufferUtil.java
+++ b/jetty-util/src/main/java/org/eclipse/jetty/util/BufferUtil.java
@@ -84,7 +84,7 @@ import java.nio.charset.Charset;
*/
public class BufferUtil
{
- static final int TEMP_BUFFER_SIZE = 512;
+ static final int TEMP_BUFFER_SIZE = 4096;
static final byte SPACE = 0x20;
static final byte MINUS = '-';
static final byte[] DIGIT =