Updated to handy-httpd 7.16.0
This commit is contained in:
parent
2f8621e237
commit
ccc5ced433
2
dub.json
2
dub.json
|
@ -4,7 +4,7 @@
|
||||||
],
|
],
|
||||||
"copyright": "Copyright © 2023, Andrew Lalis",
|
"copyright": "Copyright © 2023, Andrew Lalis",
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"handy-httpd": "~>7.13.0",
|
"handy-httpd": "~>7.16.0",
|
||||||
"requests": "~>2.1.1",
|
"requests": "~>2.1.1",
|
||||||
"scheduled": "~>1.2.0",
|
"scheduled": "~>1.2.0",
|
||||||
"slf4d": "~>2.4.3"
|
"slf4d": "~>2.4.3"
|
||||||
|
|
|
@ -4,10 +4,10 @@
|
||||||
"automem": "0.6.9",
|
"automem": "0.6.9",
|
||||||
"cachetools": "0.4.1",
|
"cachetools": "0.4.1",
|
||||||
"cronexp": "0.1.0-beta3",
|
"cronexp": "0.1.0-beta3",
|
||||||
"handy-httpd": "7.13.0",
|
"handy-httpd": "7.16.0",
|
||||||
"httparsed": "1.2.1",
|
"httparsed": "1.2.1",
|
||||||
"path-matcher": "1.1.3",
|
"path-matcher": "1.1.3",
|
||||||
"requests": "2.1.1",
|
"requests": "2.1.2",
|
||||||
"scheduled": "1.2.0",
|
"scheduled": "1.2.0",
|
||||||
"slf4d": "2.4.3",
|
"slf4d": "2.4.3",
|
||||||
"streams": "3.5.0",
|
"streams": "3.5.0",
|
||||||
|
|
|
@ -10,9 +10,10 @@ import csgs.extract;
|
||||||
|
|
||||||
void startServer() {
|
void startServer() {
|
||||||
ServerConfig config = ServerConfig.defaultValues();
|
ServerConfig config = ServerConfig.defaultValues();
|
||||||
config.workerPoolSize = 3;
|
config.workerPoolSize = 2;
|
||||||
config.connectionQueueSize = 10;
|
config.connectionQueueSize = 10;
|
||||||
config.port = 8100;
|
config.port = 8100;
|
||||||
|
config.enableWebSockets = false;
|
||||||
|
|
||||||
auto handler = new PathHandler();
|
auto handler = new PathHandler();
|
||||||
handler.addMapping(Method.POST, "/extracts", &handleExtract);
|
handler.addMapping(Method.POST, "/extracts", &handleExtract);
|
||||||
|
|
Loading…
Reference in New Issue