From 0d516adab8014bc0d16a0ae7bed7a76e4bd98ec5 Mon Sep 17 00:00:00 2001 From: Matthias Lederhofer Date: Tue, 18 Jul 2006 19:14:51 +0200 Subject: [PATCH] upload-pack: fix timeout in create_pack_file Signed-off-by: Matthias Lederhofer Signed-off-by: Junio C Hamano --- upload-pack.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/upload-pack.c b/upload-pack.c index f6f5a7e3d..07ecdb428 100644 --- a/upload-pack.c +++ b/upload-pack.c @@ -182,6 +182,8 @@ static void create_pack_file(void) ssize_t sz; int pe, pu, pollsize; + reset_timeout(); + pollsize = 0; pe = pu = -1; -- 2.26.2