341694 Disable AJP buffer resizing

git-svn-id: svn+ssh://dev.eclipse.org/svnroot/rt/org.eclipse.jetty/jetty/trunk@2985 7e9141cc-0065-0410-87d8-b60c137991c4
This commit is contained in:
Greg Wilkins 2011-04-06 22:24:58 +00:00
parent 7918e53d2b
commit a8a1020917
2 changed files with 22 additions and 0 deletions

View File

@ -28,6 +28,7 @@ jetty-7.4.0.RC0
+ 341736 Split jetty-nested out of war module
+ 341726 JSONPojoConverter handles characters
+ 341992 Overlayed context deployer
+ 341694 Disable AJP buffer resizing
+ 341850 Protect QTP dump from bad stacks
+ JETTY-1245 Pooled Buffers implementation
+ JETTY-1354 Added jetty-nested

View File

@ -162,7 +162,28 @@ public class Ajp13Generator extends AbstractGenerator
_buffer = null; // Buffer for copy of passed _content
_content = null; // Buffer passed to addContent
}
/* ------------------------------------------------------------ */
@Override
public int getContentBufferSize()
{
try
{
initContent();
}
catch(IOException e)
{
throw new RuntimeException(e);
}
return super.getContentBufferSize()-7;
}
/* ------------------------------------------------------------ */
@Override
public void increaseContentBufferSize(int contentBufferSize)
{
// Not supported with AJP
}
/* ------------------------------------------------------------ */