-
Notifications
You must be signed in to change notification settings - Fork 41.3k
Open
Labels
status: pending-design-workNeeds design work before any code can be developedNeeds design work before any code can be developedtype: taskA general taskA general task
Milestone
Description
The behaviour is as follows when starting with server.port=-1
:
- Jetty: app starts and stays running, but is not listening for HTTP connections
- Netty: app fails to start as -1 is an illegal port number
- Tomcat: app starts and stays running, but is not listening for HTTP connections
- Undertow: app starts and then stops
Further to the above, the way that autoStart
is implemented at the moment is a little odd. When a web server is created with autoStart
set to false
, calling start()
on that server will then have no effect and there's no way to set autoStart
back to true
so that the web server can be started. In other words, it's not really disabling automatic start, but disabling start altogether.
Metadata
Metadata
Assignees
Labels
status: pending-design-workNeeds design work before any code can be developedNeeds design work before any code can be developedtype: taskA general taskA general task