• Dave Syer's avatar
    Refine semantics of server.port=0 · 8bc5e9c3
    Dave Syer authored
    If the server port is 0 it doesn't mean you don't want *any* container
    because there might still be servlet context aware components in the
    classpath. Better to try and stop the server from actually starting.
    
    This change is a step in the right direction: it prevents the server
    from starting in the start() method (even though for technical reasons
    it may have already been started and stopped in initialize()).
    
    N.B. Tomcat at least uses port=0 as a signal it should pick a random
    port. Pertty useful feature that we may want to capitalize on at some
    point (on the other hand having our own port scanner would be useful
    generally too).
    8bc5e9c3
Name
Last commit
Last update
docs Loading commit data...
eclipse Loading commit data...
spring-boot Loading commit data...
spring-boot-actuator Loading commit data...
spring-boot-autoconfigure Loading commit data...
spring-boot-cli Loading commit data...
spring-boot-dependencies Loading commit data...
spring-boot-full-build Loading commit data...
spring-boot-integration-tests Loading commit data...
spring-boot-javadoc Loading commit data...
spring-boot-parent Loading commit data...
spring-boot-samples Loading commit data...
spring-boot-starters Loading commit data...
spring-boot-tools Loading commit data...
.gitignore Loading commit data...
.settings-template.xml Loading commit data...
.travis.yml Loading commit data...
CONTRIBUTING.md Loading commit data...
README.md Loading commit data...
pom.xml Loading commit data...