Skip to content
This repository has been archived by the owner on Sep 8, 2022. It is now read-only.

Commit

Permalink
Merge pull request #6 from kzantow/JENKINS-34287-diyChunking-fix
Browse files Browse the repository at this point in the history
[FIXED JENKINS-34287] CLI over HTTP no longer functions
  • Loading branch information
daniel-beck committed May 6, 2016
2 parents f44c32e + bea2f0a commit 5a5f013
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions src/main/java/Main.java
Expand Up @@ -170,11 +170,6 @@ private static void _main(String[] args) throws Exception {
// this is so that JFreeChart can work nicely even if we are launched as a daemon
System.setProperty("java.awt.headless","true");

// tell Jenkins that Winstone doesn't support chunked encoding.
// this is no longer neede for Winstone 2.x
if(System.getProperty("hudson.diyChunking")==null)
System.setProperty("hudson.diyChunking","true");

File me = whoAmI(extractedFilesFolder);
System.out.println("Running from: " + me);
System.setProperty("executable-war",me.getAbsolutePath()); // remember the location so that we can access it from within webapp
Expand Down

0 comments on commit 5a5f013

Please sign in to comment.