From 0fc0fb0e8bcfad006eb9c35af9e46d5691a03b69 Mon Sep 17 00:00:00 2001 From: Denis Feklushkin Date: Mon, 17 Dec 2018 14:18:12 +0700 Subject: [PATCH] HTTPServerOption.parseJsonBody deprecated, deps versions updated --- dub.sdl | 6 +++--- source/app.d | 1 - 2 files changed, 3 insertions(+), 4 deletions(-) diff --git a/dub.sdl b/dub.sdl index 2329327..44db064 100644 --- a/dub.sdl +++ b/dub.sdl @@ -3,9 +3,9 @@ description "Application server that transforms JSON-RPC calls into SQL queries authors "Denis Feklushkin " license "MIT" copyright "Copyright © 2016" -dependency "vibe-d:http" version="~>0.8.2" -dependency "dpq2" version="~>1.0.0-alpha.9" -dependency "vibe-d-postgresql" version="~>2.0.0-alpha.1" +dependency "vibe-d:http" version="~>0.8.4" +dependency "dpq2" version="~>1.0.0" +dependency "vibe-d-postgresql" version="~>2.0.0" targetType "executable" subPackage { diff --git a/source/app.d b/source/app.d index ea39d72..727eee8 100644 --- a/source/app.d +++ b/source/app.d @@ -249,7 +249,6 @@ void loop(in Bson cfg, PostgresClient client, immutable Method[string] methods) auto settings = new HTTPServerSettings; // settings.options |= HTTPServerOption.distribute; // causes stuck on epoll_wait () from /lib/x86_64-linux-gnu/libc.so.6 - settings.options |= HTTPServerOption.parseJsonBody; settings.bindAddresses = cfg["listenAddresses"].deserializeBson!(string[]); settings.port = to!ushort(cfg["listenPort"].get!long);