[master] e40679e Allow expect_close to be used by clients

Poul-Henning Kamp phk at varnish-cache.org
Wed Oct 30 11:19:09 CET 2013


commit e40679e45e72b924ca7045157e294868afc5ca8f
Author: Poul-Henning Kamp <phk at FreeBSD.org>
Date:   Wed Oct 30 10:16:32 2013 +0000

    Allow expect_close to be used by clients

diff --git a/bin/varnishtest/vtc_http.c b/bin/varnishtest/vtc_http.c
index 2349702..dcfe023 100644
--- a/bin/varnishtest/vtc_http.c
+++ b/bin/varnishtest/vtc_http.c
@@ -1050,7 +1050,6 @@ cmd_http_expect_close(CMD_ARGS)
 	(void)vl;
 	CAST_OBJ_NOTNULL(hp, priv, HTTP_MAGIC);
 	AZ(av[1]);
-	assert(hp->sfd != NULL);
 
 	vtc_log(vl, 4, "Expecting close (fd = %d)", hp->fd);
 	while (1) {



More information about the varnish-commit mailing list