353839: Ajp13Generator fix for file upload

Signed-off-by: Simone Bordet <simone.bordet@gmail.com>
This commit is contained in:
Thomas Becker 2011-09-22 11:42:05 +02:00 committed by Simone Bordet
parent e2bdcbe38c
commit af7252b719
1 changed files with 2 additions and 3 deletions

View File

@ -793,9 +793,8 @@ public class Ajp13Generator extends AbstractGenerator
/* ------------------------------------------------------------ */
public void getBodyChunk() throws IOException
{
_needMore = true;
_expectMore = true;
flushBuffer();
ByteArrayBuffer bf = new ByteArrayBuffer(AJP13_MORE_CONTENT);
_endp.flush(bf);
}
/* ------------------------------------------------------------ */