From da74bc08755d027ee400f1503bf76ce557779b37 Mon Sep 17 00:00:00 2001 From: andrewlalis Date: Tue, 1 Jul 2025 21:12:00 -0400 Subject: [PATCH] Upgrade to transport v1.3.0 --- dub.selections.json | 2 +- source/handy_http_starter/package.d | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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(); }