propagate a ctx all the way from input to output of a route

This commit is contained in:
Joel Wetzell
2025-12-28 12:21:58 -06:00
parent 12de947f3d
commit f97f9b9fc9
18 changed files with 21 additions and 22 deletions

View File

@@ -115,7 +115,7 @@ func (us *UDPServer) Run() error {
}
message := buffer[:numBytes]
if us.router != nil {
us.router.HandleInput(us.Id(), message)
us.router.HandleInput(us.ctx, us.Id(), message)
} else {
us.logger.Error("input received but no router is configured")
}