Fix BZ 44620 https://issues.apache.org/bugzilla/show_bug.cgi?id=44620
authormarkt <markt@13f79535-47bb-0310-9956-ffa450edef68>
Mon, 24 Mar 2008 20:52:42 +0000 (20:52 +0000)
committermarkt <markt@13f79535-47bb-0310-9956-ffa450edef68>
Mon, 24 Mar 2008 20:52:42 +0000 (20:52 +0000)
commit0d7aef71bffcb4f28b3ebee65c9df365c7191f09
treea93cb62fe6b9d50a626d89657dc3c039f8482652
parent090219664e005e2e3448bb189c11c9534d9d2392
Fix BZ 44620 https://issues.apache.org/bugzilla/show_bug.cgi?id=44620
Move the code that handles writing more than the output buffer can accept in a single write to the method that does the writing. This then protects all calls to addToBB() from the issue described in BZ 44620 and does not require the socket.appWriteBufSize to be >= maxHttpHeaderSize

git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@640572 13f79535-47bb-0310-9956-ffa450edef68
java/org/apache/coyote/http11/InternalNioOutputBuffer.java