From: Matthias Lederhofer Date: Tue, 18 Jul 2006 17:14:51 +0000 (+0200) Subject: upload-pack: fix timeout in create_pack_file X-Git-Tag: v1.4.2-rc2~11 X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=0d516adab8014bc0d16a0ae7bed7a76e4bd98ec5;p=git.git upload-pack: fix timeout in create_pack_file Signed-off-by: Matthias Lederhofer Signed-off-by: Junio C Hamano --- 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;