From 19722746f44805dd18877820b298ee3d2cd0f592 Mon Sep 17 00:00:00 2001 From: "Tristan B. Velloza Kildaire" Date: Mon, 25 Sep 2023 14:39:20 +0200 Subject: [PATCH] CoapRequestFuture - When the `wait(Duration)` returns `false` (i.e. times out) then also set the state to `RequestState.TIMEDOUT` --- source/doap/client/request.d | 1 + 1 file changed, 1 insertion(+) diff --git a/source/doap/client/request.d b/source/doap/client/request.d index d23f7c3..e705645 100644 --- a/source/doap/client/request.d +++ b/source/doap/client/request.d @@ -435,6 +435,7 @@ public class CoapRequestFuture } else { + this.state = RequestState.TIMEDOUT; throw new RequestTimeoutException(this, timeout); } }