From 140089290e4bac894888c88db94e3841f8ed43ba Mon Sep 17 00:00:00 2001 From: fhanik Date: Mon, 23 Oct 2006 18:24:59 +0000 Subject: [PATCH] remy is right, lets not sacrifice performance to protect against bad servlet code git-svn-id: https://svn.apache.org/repos/asf/tomcat/tc6.0.x/trunk@467065 13f79535-47bb-0310-9956-ffa450edef68 --- java/org/apache/coyote/http11/InternalNioOutputBuffer.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/java/org/apache/coyote/http11/InternalNioOutputBuffer.java b/java/org/apache/coyote/http11/InternalNioOutputBuffer.java index 09f87e792..37459c1e9 100644 --- a/java/org/apache/coyote/http11/InternalNioOutputBuffer.java +++ b/java/org/apache/coyote/http11/InternalNioOutputBuffer.java @@ -604,7 +604,7 @@ public class InternalNioOutputBuffer } int total = 0; - private synchronized void addToBB(byte[] buf, int offset, int length) throws IOException { + private void addToBB(byte[] buf, int offset, int length) throws IOException { if (socket.getBufHandler().getWriteBuffer().capacity() <= (offset + length)) { flushBuffer(); } -- 2.11.0