[prev in list] [next in list] [prev in thread] [next in thread] 

List:       varnish-commit
Subject:    [master] b8e277ba7 Fix error message when pushing v1d fails
From:       Nils Goroll <nils.goroll () uplex ! de>
Date:       2023-04-23 8:46:10
Message-ID: 20230423084610.A88D770BA () lists ! varnish-cache ! org
[Download RAW message or body]


commit b8e277ba7a9e0b0588377605887384005fa50c2e
Author: Nils Goroll <nils.goroll@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;
 		}
 	}
_______________________________________________
varnish-commit mailing list
varnish-commit@varnish-cache.org
https://www.varnish-cache.org/lists/mailman/listinfo/varnish-commit
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic