JETTY-1048

git-svn-id: svn+ssh://dev.eclipse.org/svnroot/rt/org.eclipse.jetty/jetty/trunk@439 7e9141cc-0065-0410-87d8-b60c137991c4
This commit is contained in:
Greg Wilkins 2009-06-26 00:34:00 +00:00
parent 02dd1975ec
commit 87d35a5dfd
2 changed files with 7 additions and 1 deletions

View File

@ -1,6 +1,7 @@
jetty-7.0.0.M4-SNAPSHOT
+ 281059 NPE in QTP with debug on
+ JETTY-1042 Prevent cookie leak between shared connection
+ JETTY-1048 Fix for large partially filtered static content
jetty-7.0.0.M3 20 June 2009
+ fixed race with expired async listeners

View File

@ -690,11 +690,16 @@ public class DefaultServlet extends HttpServlet implements ResourceFactory
writeOptionHeaders(((Response)response).getHttpFields());
((HttpConnection.Output)out).sendContent(content);
}
else
else if (content.getBuffer()!=null)
{
writeHeaders(response,content,content_length);
((HttpConnection.Output)out).sendContent(content.getBuffer());
}
else
{
writeHeaders(response,content,content_length);
resource.writeTo(out,0,content_length);
}
}
else
{