[master] 7d6d1d853 Use req->ws in VDI_Http1Pipe()
Nils Goroll
nils.goroll at uplex.de
Mon Jan 11 14:26:03 UTC 2021
commit 7d6d1d853bf9561a0d62c5d8c4d74049020a60ec
Author: Reza Naghibi <reza at naghibi.com>
Date: Fri Sep 11 10:19:01 2020 -0400
Use req->ws in VDI_Http1Pipe()
diff --git a/bin/varnishd/cache/cache_director.c b/bin/varnishd/cache/cache_director.c
index c7e701026..50e487f63 100644
--- a/bin/varnishd/cache/cache_director.c
+++ b/bin/varnishd/cache/cache_director.c
@@ -208,6 +208,7 @@ VDI_Http1Pipe(struct req *req, struct busyobj *bo)
INIT_OBJ(ctx, VRT_CTX_MAGIC);
VCL_Req2Ctx(ctx, req);
VCL_Bo2Ctx(ctx, bo);
+ ctx->ws = req->ws;
d = VDI_Resolve(ctx);
if (d == NULL || d->vdir->methods->http1pipe == NULL) {
More information about the varnish-commit
mailing list