[master] b8e277ba7 Fix error message when pushing v1d fails
Nils Goroll
nils.goroll at uplex.de
Sun Apr 23 08:46:10 UTC 2023
commit b8e277ba7a9e0b0588377605887384005fa50c2e
Author: Nils Goroll <nils.goroll at uplex.de>
Date: Sun Apr 23 09:55:33 2023 +0200
Fix error message when pushing v1d fails
Currently the only possible cause is a workspace_client overflow,
but should v1d ever gain an init callback, that could change.
At any rate the cause is never a workspace_thread overflow.
diff --git a/bin/varnishd/http1/cache_http1_deliver.c b/bin/varnishd/http1/cache_http1_deliver.c
index 0d0b1bf39..00331091e 100644
--- a/bin/varnishd/http1/cache_http1_deliver.c
+++ b/bin/varnishd/http1/cache_http1_deliver.c
@@ -123,7 +123,7 @@ V1D_Deliver(struct req *req, struct boc *boc, int sendbody)
INIT_OBJ(ctx, VRT_CTX_MAGIC);
VCL_Req2Ctx(ctx, req);
if (VDP_Push(ctx, req->vdc, req->ws, &v1d_vdp, NULL)) {
- v1d_error(req, "workspace_thread overflow");
+ v1d_error(req, "Failure to push v1d processor");
return;
}
}
More information about the varnish-commit
mailing list