From e023db2355003ad8373eba245ff1f92c31900f49 Mon Sep 17 00:00:00 2001 From: Carlo Landmeter Date: Fri, 10 Nov 2017 09:37:18 +0000 Subject: main/varnish: upgrade to 5.2.0 --- main/varnish/fix-stack-overflow.patch | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) (limited to 'main/varnish/fix-stack-overflow.patch') diff --git a/main/varnish/fix-stack-overflow.patch b/main/varnish/fix-stack-overflow.patch index f516fdd429..fe1edc4a30 100644 --- a/main/varnish/fix-stack-overflow.patch +++ b/main/varnish/fix-stack-overflow.patch @@ -1,6 +1,6 @@ --- ./bin/varnishd/waiter/cache_waiter_epoll.c.orig +++ ./bin/varnishd/waiter/cache_waiter_epoll.c -@@ -70,7 +70,7 @@ +@@ -68,7 +68,7 @@ static void * vwe_thread(void *priv) { @@ -9,16 +9,17 @@ struct waited *wp; struct waiter *w; double now, then; -@@ -82,6 +82,8 @@ +@@ -80,6 +80,9 @@ w = vwe->waiter; CHECK_OBJ_NOTNULL(w, WAITER_MAGIC); THR_SetName("cache-epoll"); + ev = calloc(NEEV, sizeof(struct epoll_event)); + assert(ev != NULL); ++ + THR_Init(); now = VTIM_real(); - while (1) { -@@ -149,6 +151,7 @@ +@@ -148,6 +151,7 @@ closefd(&vwe->pipe[0]); closefd(&vwe->pipe[1]); closefd(&vwe->epfd); -- cgit v1.2.3