[master] dc4662bc5 v1l: Always initialize err
Dridi Boukelmoune
dridi.boukelmoune at gmail.com
Mon Jun 12 05:50:06 UTC 2023
commit dc4662bc5beafe05ba6e916441c1698e71844a70
Author: Dridi Boukelmoune <dridi.boukelmoune at gmail.com>
Date: Mon Jun 12 07:44:33 2023 +0200
v1l: Always initialize err
Should we give it an explicit ETIMEDOUT in the dripping write case?
diff --git a/bin/varnishd/http1/cache_http1_line.c b/bin/varnishd/http1/cache_http1_line.c
index db5ca93c5..8c6f53b16 100644
--- a/bin/varnishd/http1/cache_http1_line.c
+++ b/bin/varnishd/http1/cache_http1_line.c
@@ -205,6 +205,7 @@ V1L_Flush(const struct worker *wrk)
}
i = 0;
+ err = 0;
do {
if (VTIM_real() > v1l->deadline) {
VSLb(v1l->vsl, SLT_Debug,
More information about the varnish-commit
mailing list