Closed hidemikimura closed 1 month ago
Hi, don't follow. what would you like to change?
Executing Context.send() within CompletionStage will raise an exception after the response. Please make sure that no exception is raised.
Please add an example to reproduce the issue.
install(new NettyServer());
setExecutionMode(ExecutionMode.EVENT_LOOP);
use(ReactiveSupport.concurrent());
get("/", ctx -> CompletableFuture.supplyAsync(() -> {
ctx.send("top page");
return ctx;
}));
Thanks for the correction
It seems that something is being sent after the response is sent with Context.send() in CompletionStage. Can the process here in
io.jooby.internal.handler.apply()
be changed?