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")) {