[master] febfce2ad vmod_debug: Fix v1l workspace for reembarking transport demo
Nils Goroll
nils.goroll at uplex.de
Fri Dec 13 10:42:06 UTC 2024
commit febfce2ad87d218c6345e343fd712442e86b6c15
Author: Nils Goroll <nils.goroll at uplex.de>
Date: Fri Dec 13 11:39:19 2024 +0100
vmod_debug: Fix v1l workspace for reembarking transport demo
Clearly the v1l can not live on the worker stack.
Noticed thanks to vtest.
Ref 0cfd6cd06e186e0a36094a57294124f2f1cf2cfa
diff --git a/vmod/vmod_debug_transports.c b/vmod/vmod_debug_transports.c
index 90bd0a48b..8a60a5a62 100644
--- a/vmod/vmod_debug_transports.c
+++ b/vmod/vmod_debug_transports.c
@@ -80,7 +80,7 @@ dbg_deliver(struct req *req, int sendbody)
CHECK_OBJ_NOTNULL(req->wrk, WORKER_MAGIC);
- v1l = V1L_Open(req->wrk->aws, &req->sp->fd, req->vsl,
+ v1l = V1L_Open(req->ws, &req->sp->fd, req->vsl,
req->t_prev + SESS_TMO(req->sp, send_timeout),
cache_param->http1_iovs);
More information about the varnish-commit
mailing list