remove setContentLength with -1 to fix CGI on jetty 9, see #481

This commit is contained in:
Sebastian Sdorra
2013-11-05 08:56:12 +01:00
parent 5f782811a2
commit 477a425b5a

View File

@@ -425,8 +425,6 @@ public class DefaultCGIExecutor extends AbstractCGIExecutor
{
String line = null;
response.setContentLength(-1);
while ((line = getTextLineFromStream(is)).length() > 0)
{
if (logger.isTraceEnabled())