diff --git a/dub.json b/dub.json index 0c70e55..60dc1be 100644 --- a/dub.json +++ b/dub.json @@ -4,7 +4,7 @@ ], "copyright": "Copyright © 2023, Andrew Lalis", "dependencies": { - "handy-httpd": "~>7.13.0", + "handy-httpd": "~>7.16.0", "requests": "~>2.1.1", "scheduled": "~>1.2.0", "slf4d": "~>2.4.3" diff --git a/dub.selections.json b/dub.selections.json index befefbb..375a223 100644 --- a/dub.selections.json +++ b/dub.selections.json @@ -4,10 +4,10 @@ "automem": "0.6.9", "cachetools": "0.4.1", "cronexp": "0.1.0-beta3", - "handy-httpd": "7.13.0", + "handy-httpd": "7.16.0", "httparsed": "1.2.1", "path-matcher": "1.1.3", - "requests": "2.1.1", + "requests": "2.1.2", "scheduled": "1.2.0", "slf4d": "2.4.3", "streams": "3.5.0", diff --git a/source/csgs/http.d b/source/csgs/http.d index 40030eb..f4d2416 100644 --- a/source/csgs/http.d +++ b/source/csgs/http.d @@ -10,9 +10,10 @@ import csgs.extract; void startServer() { ServerConfig config = ServerConfig.defaultValues(); - config.workerPoolSize = 3; + config.workerPoolSize = 2; config.connectionQueueSize = 10; config.port = 8100; + config.enableWebSockets = false; auto handler = new PathHandler(); handler.addMapping(Method.POST, "/extracts", &handleExtract);