summary refs log tree commit diff
diff options
context:
space:
mode:
-rw-r--r--hittpd.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/hittpd.c b/hittpd.c
index 2ce162e..bbf9b21 100644
--- a/hittpd.c
+++ b/hittpd.c
@@ -781,6 +781,11 @@ finish_response(int i)
 	datas[i].ims = 0;
 	datas[i].host = 0;
 
+	datas[i].off = 0;
+	datas[i].first = 0;
+	datas[i].last = -1;
+	datas[i].state = NONE;
+
 	client[i].events = POLLRDNORM;
 
 	if (parsers[i].flags & F_CONNECTION_CLOSE)