From 68156ef258079c50965b86483ea7b119a82c93ad Mon Sep 17 00:00:00 2001
From: Tatsuhiro Tsujikawa
Date: Tue, 30 Mar 2010 14:17:16 +0000
Subject: [PATCH] 2010-03-30 Tatsuhiro Tsujikawa
Added --bt-tracker-connect-timeout and --bt-tracker-timeout
option.
* doc/aria2c.1.txt
* src/OptionHandlerFactory.cc
* src/TrackerWatcherCommand.cc
* src/prefs.cc
* src/prefs.h
* src/usage_text.h
---
ChangeLog | 11 +++++++++++
doc/aria2c.1 | 14 ++++++++++++++
doc/aria2c.1.html | 21 ++++++++++++++++++++-
doc/aria2c.1.txt | 11 +++++++++++
src/OptionHandlerFactory.cc | 18 ++++++++++++++++++
src/TrackerWatcherCommand.cc | 9 ++++++---
src/prefs.cc | 4 ++++
src/prefs.h | 4 ++++
src/usage_text.h | 8 ++++++++
9 files changed, 96 insertions(+), 4 deletions(-)
diff --git a/ChangeLog b/ChangeLog
index 847f6656..4b924077 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,14 @@
+2010-03-30 Tatsuhiro Tsujikawa
+
+ Added --bt-tracker-connect-timeout and --bt-tracker-timeout
+ option.
+ * doc/aria2c.1.txt
+ * src/OptionHandlerFactory.cc
+ * src/TrackerWatcherCommand.cc
+ * src/prefs.cc
+ * src/prefs.h
+ * src/usage_text.h
+
2010-03-30 Tatsuhiro Tsujikawa
Documented that specifying --seed-time=0 disables seeding after
diff --git a/doc/aria2c.1 b/doc/aria2c.1
index ede4733e..259680be 100644
--- a/doc/aria2c.1
+++ b/doc/aria2c.1
@@ -695,6 +695,14 @@ is given, this feature is disabled\&. Default:
\fI0\fR
.RE
.PP
+\fB\-\-bt\-tracker\-connect\-timeout\fR=SEC
+.RS 4
+Set the connect timeout in seconds to establish connection to tracker\&. After the connection is established, this option makes no effect and
+\fB\-\-bt\-tracker\-timeout\fR
+option is used instead\&. Default:
+\fI60\fR
+.RE
+.PP
\fB\-\-bt\-tracker\-interval\fR=SEC
.RS 4
Set the interval in seconds between tracker requests\&. This completely overrides interval value and aria2 just uses this value and ignores the min interval and interval value in the response of tracker\&. If
@@ -703,6 +711,12 @@ is set, aria2 determines interval based on the response of tracker and the downl
\fI0\fR
.RE
.PP
+\fB\-\-bt\-tracker\-timeout\fR=SEC
+.RS 4
+Set timeout in seconds\&. Default:
+\fI60\fR
+.RE
+.PP
\fB\-\-dht\-entry\-point\fR=HOST:PORT
.RS 4
Set host and port as an entry point to DHT network\&.
diff --git a/doc/aria2c.1.html b/doc/aria2c.1.html
index 645b59b2..37ab5da3 100644
--- a/doc/aria2c.1.html
+++ b/doc/aria2c.1.html
@@ -1433,6 +1433,17 @@ writes the piece to the appropriate files.
+--bt-tracker-connect-timeout=SEC
+
+
+
+ Set the connect timeout in seconds to establish connection to
+ tracker. After the connection is established, this option makes no
+ effect and --bt-tracker-timeout option is used instead. Default:
+ 60
+
+
+
--bt-tracker-interval=SEC
@@ -1445,6 +1456,14 @@ writes the piece to the appropriate files.
+--bt-tracker-timeout=SEC
+
+
+
+ Set timeout in seconds. Default: 60
+
+
+
--dht-entry-point=HOST:PORT
@@ -4057,7 +4076,7 @@ files in the program, then also delete it here.