From 4f1c7f632020e44bd17183e10dd447403f32db6c Mon Sep 17 00:00:00 2001 From: andrewlalis Date: Mon, 29 Jan 2024 16:30:37 -0500 Subject: [PATCH] Updated to handy-httpd v8.2.0 --- dub.json | 2 +- dub.selections.json | 4 ++-- source/app.d | 3 ++- 3 files changed, 5 insertions(+), 4 deletions(-) diff --git a/dub.json b/dub.json index 28b303e..bbeef96 100644 --- a/dub.json +++ b/dub.json @@ -6,7 +6,7 @@ "dependencies": { "d-properties": "~>1.0.4", "d2sqlite3": "~>1.0.0", - "handy-httpd": "~>8.1.0" + "handy-httpd": "~>8.2.0" }, "subConfigurations": { "d2sqlite3": "all-included" diff --git a/dub.selections.json b/dub.selections.json index 3222022..b98ff16 100644 --- a/dub.selections.json +++ b/dub.selections.json @@ -3,10 +3,10 @@ "versions": { "d-properties": "1.0.5", "d2sqlite3": "1.0.0", - "handy-httpd": "8.1.0", + "handy-httpd": "8.2.0", "httparsed": "1.2.1", "path-matcher": "1.1.3", - "slf4d": "2.4.3", + "slf4d": "3.0.0", "streams": "3.5.0" } } diff --git a/source/app.d b/source/app.d index 6217c8c..de0ae13 100644 --- a/source/app.d +++ b/source/app.d @@ -10,7 +10,8 @@ import std.json; import std.datetime; void main() { - ServerConfig config = ServerConfig.defaultValues(); + ServerConfig config; + config.receiveBufferSize = 2048; if (exists("application.properties")) { Properties props = Properties("application.properties"); if (props.has("hostname")) {