<feed xmlns='http://www.w3.org/2005/Atom'>
<title>aria2/src/CreateRequestCommand.cc, branch libaria2</title>
<subtitle>Aria2 download utility with uTP support</subtitle>
<id>http://x-nagi.com/cgit/aria2/atom?h=libaria2</id>
<link rel='self' href='http://x-nagi.com/cgit/aria2/atom?h=libaria2'/>
<link rel='alternate' type='text/html' href='http://x-nagi.com/cgit/aria2/'/>
<updated>2012-08-31T13:31:31Z</updated>
<entry>
<title>Fixed assertion error if --retry-wait is used</title>
<updated>2012-08-31T13:31:31Z</updated>
<author>
<name>Tatsuhiro Tsujikawa</name>
<email>tatsuhiro.t@gmail.com</email>
</author>
<published>2012-08-31T13:31:31Z</published>
<link rel='alternate' type='text/html' href='http://x-nagi.com/cgit/aria2/commit/?id=0bbda43385c5e660a3365830d0b020e1a8f99970'/>
<id>urn:sha1:0bbda43385c5e660a3365830d0b020e1a8f99970</id>
<content type='text'>
In CreateRequestCommand, if Request object returned from getRequest()
is still sleeping, CreateRequestCommand pools it back but still holds
its reference. This makes assertion error in
UnknownLengthPieceStroage::hasMissingUnusedPiece() from
AbstractCommand::execute().
</content>
</entry>
<entry>
<title>wallclock is now retrieved using global::wallclock() call.</title>
<updated>2011-08-09T16:17:28Z</updated>
<author>
<name>Tatsuhiro Tsujikawa</name>
<email>tatsuhiro.t@gmail.com</email>
</author>
<published>2011-08-09T16:17:28Z</published>
<link rel='alternate' type='text/html' href='http://x-nagi.com/cgit/aria2/commit/?id=e8e3a6f259ab74c486aec9b5ea95d3e1f5068f6c'/>
<id>urn:sha1:e8e3a6f259ab74c486aec9b5ea95d3e1f5068f6c</id>
<content type='text'>
This is necessary to avoid global variable initialization order
problem.
</content>
</entry>
<entry>
<title>Eliminated few seconds delay when downloads stop or pause.</title>
<updated>2011-05-15T14:35:06Z</updated>
<author>
<name>Tatsuhiro Tsujikawa</name>
<email>tatsuhiro.t@gmail.com</email>
</author>
<published>2011-05-15T14:35:06Z</published>
<link rel='alternate' type='text/html' href='http://x-nagi.com/cgit/aria2/commit/?id=49b49c351ab0e5d464d158f2d103333371d9c42a'/>
<id>urn:sha1:49b49c351ab0e5d464d158f2d103333371d9c42a</id>
<content type='text'>
The delay is caused because some Commands are only called in certain
interval(called refreshInterval, default, 1000ms). In aria2 download
stops when all Commands associated to it are stopped. Since some
Commands are called in each 1000ms by default, as mentioned before, we
have to wait for them.  To fix this issue, we call
DownloadEngine::setRefreshInterval(0) when pausing/stopping downloads.
DownloadEngine::setRefreshInterval(0) makes refreshInterval 0 in one
shot.

When all segments are ignored, now DownloadFailureException is thrown.
And stop the download immediately. As described earlier, we call
DownloadEngine::setRefreshInterval(0) in catch block of
DownloadFailureException to eliminate delay.
</content>
</entry>
<entry>
<title>Added --retry-wait option.</title>
<updated>2011-01-17T12:19:45Z</updated>
<author>
<name>Tatsuhiro Tsujikawa</name>
<email>tatsuhiro.t@gmail.com</email>
</author>
<published>2011-01-17T12:19:45Z</published>
<link rel='alternate' type='text/html' href='http://x-nagi.com/cgit/aria2/commit/?id=f2a63fa06a931333ac2e4a3a5d36a56418b4b6cd'/>
<id>urn:sha1:f2a63fa06a931333ac2e4a3a5d36a56418b4b6cd</id>
<content type='text'>
This option was once existed in aria2 but erased on 2009-09-20.  Now
it is resurrected once again.  We choose 2 as default value, but there
is no good theory behind it.  Now we retry HTTP download when remote
server returns 503 Service Unavailable if --retry-wait &gt; 0. We also
added error code 29: HTTP_SERVICE_UNAVAILABLE.
</content>
</entry>
<entry>
<title>Eliminated SocketCore::peekData() form HTTP/FTP downloads.</title>
<updated>2011-01-16T07:55:41Z</updated>
<author>
<name>Tatsuhiro Tsujikawa</name>
<email>tatsuhiro.t@gmail.com</email>
</author>
<published>2011-01-16T07:55:41Z</published>
<link rel='alternate' type='text/html' href='http://x-nagi.com/cgit/aria2/commit/?id=ea1b4b3ee533146763245ecbbb4a31e3ed791498'/>
<id>urn:sha1:ea1b4b3ee533146763245ecbbb4a31e3ed791498</id>
<content type='text'>
We introduced SocketRecvBuffer which buffers received bytes. Since
HTTP response header and response body are divided with \r\n, we have
to buffer up several bytes to find this delimiter. We use
SocketRecvBuffer to hold these bytes and only consumes header and
passes SocketRecvBuffer, which may contain head of response body, to
next Command.  Since FTPConnection doesn't use SocketCore::peekData(),
we left it as is.
</content>
</entry>
<entry>
<title>2010-11-14  Tatsuhiro Tsujikawa  &lt;t-tujikawa@users.sourceforge.net&gt;</title>
<updated>2010-11-14T07:17:55Z</updated>
<author>
<name>Tatsuhiro Tsujikawa</name>
<email>tatsuhiro.t@gmail.com</email>
</author>
<published>2010-11-14T07:17:55Z</published>
<link rel='alternate' type='text/html' href='http://x-nagi.com/cgit/aria2/commit/?id=1372ac51ade17bc27126449bf29f99c6c2cf7703'/>
<id>urn:sha1:1372ac51ade17bc27126449bf29f99c6c2cf7703</id>
<content type='text'>
	Added .cc file for classes/structs that only provided by header
	file. Defined non-POD classes' ctor, dtor in .cc file.  Moved
	implementation code in header file to .cc file for major
	classes/strucsts.


</content>
</entry>
<entry>
<title>2010-11-12  Tatsuhiro Tsujikawa  &lt;t-tujikawa@users.sourceforge.net&gt;</title>
<updated>2010-11-12T12:48:48Z</updated>
<author>
<name>Tatsuhiro Tsujikawa</name>
<email>tatsuhiro.t@gmail.com</email>
</author>
<published>2010-11-12T12:48:48Z</published>
<link rel='alternate' type='text/html' href='http://x-nagi.com/cgit/aria2/commit/?id=93e5dbed325f29c1bf867a2847d3b839d545cfb2'/>
<id>urn:sha1:93e5dbed325f29c1bf867a2847d3b839d545cfb2</id>
<content type='text'>
	Removed SharedHandle::isNull(). Instead we added operator* and
	operator unspecified_bool_type. Removed use of WeakHandle and
	replaced with raw pointer.


</content>
</entry>
<entry>
<title>2010-07-19  Tatsuhiro Tsujikawa  &lt;t-tujikawa@users.sourceforge.net&gt;</title>
<updated>2010-07-19T05:37:40Z</updated>
<author>
<name>Tatsuhiro Tsujikawa</name>
<email>tatsuhiro.t@gmail.com</email>
</author>
<published>2010-07-19T05:37:40Z</published>
<link rel='alternate' type='text/html' href='http://x-nagi.com/cgit/aria2/commit/?id=da668763a682e97b897f75af22b35e269f63261a'/>
<id>urn:sha1:da668763a682e97b897f75af22b35e269f63261a</id>
<content type='text'>
	Added hidden select-least-used-host option.
	* src/CreateRequestCommand.cc
	* src/OptionHandlerFactory.cc
	* src/TrackerWatcherCommand.cc
	* src/prefs.cc
	* src/prefs.h


</content>
</entry>
<entry>
<title>2010-07-17  Tatsuhiro Tsujikawa  &lt;t-tujikawa@users.sourceforge.net&gt;</title>
<updated>2010-07-17T14:33:50Z</updated>
<author>
<name>Tatsuhiro Tsujikawa</name>
<email>tatsuhiro.t@gmail.com</email>
</author>
<published>2010-07-17T14:33:50Z</published>
<link rel='alternate' type='text/html' href='http://x-nagi.com/cgit/aria2/commit/?id=27d5c2badc5bdee4cd8082a732244c6ad87677f5'/>
<id>urn:sha1:27d5c2badc5bdee4cd8082a732244c6ad87677f5</id>
<content type='text'>
	Removed prepareForRetry from CreateRequestCommand
	* src/CreateRequestCommand.cc
	* src/CreateRequestCommand.h


</content>
</entry>
<entry>
<title>2010-07-17  Tatsuhiro Tsujikawa  &lt;t-tujikawa@users.sourceforge.net&gt;</title>
<updated>2010-07-17T03:23:56Z</updated>
<author>
<name>Tatsuhiro Tsujikawa</name>
<email>tatsuhiro.t@gmail.com</email>
</author>
<published>2010-07-17T03:23:56Z</published>
<link rel='alternate' type='text/html' href='http://x-nagi.com/cgit/aria2/commit/?id=d0b727f6dc7131ea5c478bcfdff3b0408f2b26f3'/>
<id>urn:sha1:d0b727f6dc7131ea5c478bcfdff3b0408f2b26f3</id>
<content type='text'>
	Count the number of command used in HTTP(S)/FTP and the number of
	connections in HTTP(S)/FTP independently. The former is used to
	determin whether additional command is needed.  The latter is used
	to report user to how many connections are used in a download.
	* src/AbstractCommand.cc
	* src/AbstractCommand.h
	* src/CreateRequestCommand.cc
	* src/RequestGroup.cc
	* src/RequestGroup.h


</content>
</entry>
</feed>
