aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--src/router.zig2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/router.zig b/src/router.zig
index 40767a644..16e947248 100644
--- a/src/router.zig
+++ b/src/router.zig
@@ -713,7 +713,7 @@ pub fn match(app: *Router, server: anytype, comptime RequestContextType: type, c
};
}
- if (!ctx.controlled) {
+ if (!ctx.controlled and !ctx.has_called_done) {
try ctx.handleRequest();
}
}