From e1803284cd6e5c86772b298fd203b64c9e090351 Mon Sep 17 00:00:00 2001 From: Vsevolod Stakhov Date: Tue, 28 Jul 2009 15:17:42 +0400 Subject: [PATCH] * Fix initializing of http reply structure to avoid core dumps when we got connection errors --- src/map.c | 1 + 1 file changed, 1 insertion(+) diff --git a/src/map.c b/src/map.c index 5ed1cfe40..8bef4d179 100644 --- a/src/map.c +++ b/src/map.c @@ -676,6 +676,7 @@ http_callback (int fd, short what, void *ud) cbd->data = data; cbd->state = 0; cbd->fd = sock; + cbd->reply = NULL; event_add (&cbd->ev, &cbd->tv); } } -- 2.39.5