From owner-cvs-all@FreeBSD.ORG Mon Feb 6 01:44:24 2006 Return-Path: X-Original-To: cvs-all@FreeBSD.org Delivered-To: cvs-all@FreeBSD.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 59E5916A420; Mon, 6 Feb 2006 01:44:24 +0000 (GMT) (envelope-from mux@FreeBSD.org) Received: from repoman.freebsd.org (repoman.freebsd.org [216.136.204.115]) by mx1.FreeBSD.org (Postfix) with ESMTP id 2A47943D46; Mon, 6 Feb 2006 01:44:24 +0000 (GMT) (envelope-from mux@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.13.1/8.13.1) with ESMTP id k161iOUj096406; Mon, 6 Feb 2006 01:44:24 GMT (envelope-from mux@repoman.freebsd.org) Received: (from mux@localhost) by repoman.freebsd.org (8.13.1/8.13.1/Submit) id k161iOHM096405; Mon, 6 Feb 2006 01:44:24 GMT (envelope-from mux) Message-Id: <200602060144.k161iOHM096405@repoman.freebsd.org> From: Maxime Henrion Date: Mon, 6 Feb 2006 01:44:24 +0000 (UTC) To: projects-committers@FreeBSD.org, cvs-projects@FreeBSD.org, cvs-all@FreeBSD.org X-FreeBSD-CVS-Branch: HEAD Cc: Subject: cvs commit: projects/csup csup.1 main.c misc.c misc.h X-BeenThere: cvs-all@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: CVS commit messages for the entire tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 06 Feb 2006 01:44:24 -0000 mux 2006-02-06 01:44:24 UTC FreeBSD projects repository Modified files: csup csup.1 main.c misc.c misc.h Log: - Add support for retries when the connection is rejected by the server, using an exponential backoff timer identical to the one in CVSup. The timer is implemented in misc.c with the bt_new(), bt_get(), bt_pause() and bt_free() functions. It is used in main.c. - Add support for the associated -1 and -r n options. - Document the -r n and -1 options in csup.1. While I'm here, document -4 and -6 too, and replace any capitalized form of csup ("Csup") with just "csup". The capitalized form is just too ugly. Submitted by: Ulf Lilleengen [1, 2] (with many mods by me) Revision Changes Path 1.3 +41 -9 projects/csup/csup.1 1.29 +47 -8 projects/csup/main.c 1.23 +74 -1 projects/csup/misc.c 1.21 +7 -1 projects/csup/misc.h