|
@@ -245,6 +245,7 @@ public class HttpServer implements FilterContainer {
|
|
// default value (currently 250).
|
|
// default value (currently 250).
|
|
QueuedThreadPool threadPool = maxThreads == -1 ?
|
|
QueuedThreadPool threadPool = maxThreads == -1 ?
|
|
new QueuedThreadPool() : new QueuedThreadPool(maxThreads);
|
|
new QueuedThreadPool() : new QueuedThreadPool(maxThreads);
|
|
|
|
+ threadPool.setDaemon(true);
|
|
webServer.setThreadPool(threadPool);
|
|
webServer.setThreadPool(threadPool);
|
|
|
|
|
|
final String appDir = getWebAppsPath(name);
|
|
final String appDir = getWebAppsPath(name);
|