Skip to content

Commit

Permalink
Merge pull request #168 from DSoftOut/deprecation_warning
Browse files Browse the repository at this point in the history
HTTPServerOption.parseJsonBody deprecated, deps versions updated
  • Loading branch information
denizzzka authored Dec 17, 2018
2 parents 7191207 + 0fc0fb0 commit 4c6fc8c
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 4 deletions.
6 changes: 3 additions & 3 deletions dub.sdl
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,9 @@ description "Application server that transforms JSON-RPC calls into SQL queries
authors "Denis Feklushkin <denis.feklushkin@gmail.com>"
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 {
Expand Down
1 change: 0 additions & 1 deletion source/app.d
Original file line number Diff line number Diff line change
Expand Up @@ -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);

Expand Down

0 comments on commit 4c6fc8c

Please sign in to comment.