Skip to content

Commit

Permalink
Resolve #392
Browse files Browse the repository at this point in the history
  • Loading branch information
decebals committed Sep 20, 2017
1 parent 73269ca commit 9fcea90
Showing 1 changed file with 5 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ public void start() {
pippoFilterPath = "/*";
}

tomcat = new Tomcat();
tomcat = createTomcat();
tomcat.setBaseDir(getSettings().getBaseFolder());

if (getSettings().getKeystoreFile() == null) {
Expand Down Expand Up @@ -112,6 +112,10 @@ protected TomcatSettings createDefaultSettings() {
return new TomcatSettings(getApplication().getPippoSettings());
}

protected Tomcat createTomcat() {
return new Tomcat();
}

private void enablePlainConnector(Tomcat tomcat) {
log.info("Using http protocol");
tomcat.setPort(getSettings().getPort());
Expand Down

0 comments on commit 9fcea90

Please sign in to comment.