summaryrefslogtreecommitdiffstats
path: root/modules/context/private.go
diff options
context:
space:
mode:
Diffstat (limited to 'modules/context/private.go')
-rw-r--r--modules/context/private.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/context/private.go b/modules/context/private.go
index 6e5ef1bd12..b57ba102e6 100644
--- a/modules/context/private.go
+++ b/modules/context/private.go
@@ -79,6 +79,6 @@ func PrivateContexter() func(http.Handler) http.Handler {
// the underlying request has timed out from the ssh/http push
func OverrideContext(ctx *PrivateContext) (cancel context.CancelFunc) {
// We now need to override the request context as the base for our work because even if the request is cancelled we have to continue this work
- ctx.Override, _, cancel = process.GetManager().AddContext(graceful.GetManager().HammerContext(), fmt.Sprintf("PrivateContext: %s", ctx.Req.RequestURI))
+ ctx.Override, _, cancel = process.GetManager().AddTypedContext(graceful.GetManager().HammerContext(), fmt.Sprintf("PrivateContext: %s", ctx.Req.RequestURI), process.RequestProcessType, true)
return
}