CoapRequestFuture

- When the `wait(Duration)` returns `false` (i.e. times out) then also set the state to `RequestState.TIMEDOUT`
This commit is contained in:
Tristan B. Velloza Kildaire 2023-09-25 14:39:20 +02:00
parent 9b779b4c9b
commit 19722746f4

View File

@ -435,6 +435,7 @@ public class CoapRequestFuture
}
else
{
this.state = RequestState.TIMEDOUT;
throw new RequestTimeoutException(this, timeout);
}
}