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:
parent
7918e53d2b
commit
a8a1020917
|
@ -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
|
||||
|
|
|
@ -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
|
||||
}
|
||||
|
||||
/* ------------------------------------------------------------ */
|
||||
|
|
Loading…
Reference in New Issue