[master] 7cfe66d4c Add missing VTCP_Close()

Poul-Henning Kamp phk at FreeBSD.org
Wed Jun 13 10:03:13 UTC 2018


commit 7cfe66d4c84d0e475f3f0515a4207b4f070be35b
Author: Poul-Henning Kamp <phk at FreeBSD.org>
Date:   Wed Jun 13 10:02:28 2018 +0000

    Add missing VTCP_Close()

diff --git a/bin/varnishd/cache/cache_backend_probe.c b/bin/varnishd/cache/cache_backend_probe.c
index fa823d47f..dfa594ce8 100644
--- a/bin/varnishd/cache/cache_backend_probe.c
+++ b/bin/varnishd/cache/cache_backend_probe.c
@@ -318,6 +318,7 @@ vbp_poke(struct vbp_target *vt)
 
 	if (proxy_header < 0) {
 		bprintf(vt->resp_buf, "%s", "No backend");
+		VTCP_close(&s);
 		return;
 	}
 


More information about the varnish-commit mailing list