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.lorimer.id.au/gitweb.git/diff_plain/0d516adab8014bc0d16a0ae7bed7a76e4bd98ec5 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 f6f5a7e3db..07ecdb4281 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;