mirror of
https://github.com/scm-manager/scm-manager.git
synced 2025-11-09 15:05:44 +01:00
remove setContentLength with -1 to fix CGI on jetty 9, see #481
This commit is contained in:
@@ -425,8 +425,6 @@ public class DefaultCGIExecutor extends AbstractCGIExecutor
|
|||||||
{
|
{
|
||||||
String line = null;
|
String line = null;
|
||||||
|
|
||||||
response.setContentLength(-1);
|
|
||||||
|
|
||||||
while ((line = getTextLineFromStream(is)).length() > 0)
|
while ((line = getTextLineFromStream(is)).length() > 0)
|
||||||
{
|
{
|
||||||
if (logger.isTraceEnabled())
|
if (logger.isTraceEnabled())
|
||||||
|
|||||||
Reference in New Issue
Block a user