diff --git a/dub.selections.json b/dub.selections.json index 0a3b529..e198b80 100644 --- a/dub.selections.json +++ b/dub.selections.json @@ -5,7 +5,7 @@ "dxml": "0.4.4", "handy-http-data": "1.2.0", "handy-http-primitives": "1.6.0", - "handy-http-transport": "1.2.1", + "handy-http-transport": "1.3.0", "handy-http-websockets": "1.1.1", "mir-algorithm": "3.22.4", "mir-core": "1.7.3", diff --git a/source/handy_http_starter/package.d b/source/handy_http_starter/package.d index c44b4bb..528114d 100644 --- a/source/handy_http_starter/package.d +++ b/source/handy_http_starter/package.d @@ -13,7 +13,7 @@ public import handy_http_websockets; * port = The port to host the server on. Defaults to 8080. */ void startServer(HttpRequestHandler handler, ushort port = 8080) { - HttpTransport tp = new Http1Transport(handler, port); + HttpTransport tp = new TaskPoolHttp1Transport(handler, port); tp.start(); }