<feed xmlns='http://www.w3.org/2005/Atom'>
<title>aria2/src/CreateRequestCommand.cc, branch dynamic-select-file</title>
<subtitle>Aria2 download utility with uTP support</subtitle>
<id>http://x-nagi.com/cgit/aria2/atom?h=dynamic-select-file</id>
<link rel='self' href='http://x-nagi.com/cgit/aria2/atom?h=dynamic-select-file'/>
<link rel='alternate' type='text/html' href='http://x-nagi.com/cgit/aria2/'/>
<updated>2015-12-27T09:40:08Z</updated>
<entry>
<title>make clang-format using clang-format-3.6</title>
<updated>2015-12-27T09:40:08Z</updated>
<author>
<name>Tatsuhiro Tsujikawa</name>
<email>tatsuhiro.t@gmail.com</email>
</author>
<published>2015-12-27T09:39:47Z</published>
<link rel='alternate' type='text/html' href='http://x-nagi.com/cgit/aria2/commit/?id=b1132d6b10cd3791b9529d7031d723fd0e2d8215'/>
<id>urn:sha1:b1132d6b10cd3791b9529d7031d723fd0e2d8215</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Fix busy loop with --dry-run and 4xx response for URI listed in metalink</title>
<updated>2015-06-26T12:38:03Z</updated>
<author>
<name>Tatsuhiro Tsujikawa</name>
<email>tatsuhiro.t@gmail.com</email>
</author>
<published>2015-06-26T12:35:55Z</published>
<link rel='alternate' type='text/html' href='http://x-nagi.com/cgit/aria2/commit/?id=7e3d82cb2250c679a5d7dcc7e0e4f25cdd283c36'/>
<id>urn:sha1:7e3d82cb2250c679a5d7dcc7e0e4f25cdd283c36</id>
<content type='text'>
See GH-430
</content>
</entry>
<entry>
<title>Use std::unique_ptr for URISelector instead of std::shared_ptr</title>
<updated>2013-07-03T16:16:48Z</updated>
<author>
<name>Tatsuhiro Tsujikawa</name>
<email>tatsuhiro.t@gmail.com</email>
</author>
<published>2013-07-03T16:16:48Z</published>
<link rel='alternate' type='text/html' href='http://x-nagi.com/cgit/aria2/commit/?id=a479473949a8b82b1943c7d57966acfbb58f6c81'/>
<id>urn:sha1:a479473949a8b82b1943c7d57966acfbb58f6c81</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Wrap Command object in std::unique_ptr</title>
<updated>2013-06-23T12:55:52Z</updated>
<author>
<name>Tatsuhiro Tsujikawa</name>
<email>tatsuhiro.t@gmail.com</email>
</author>
<published>2013-06-23T12:55:52Z</published>
<link rel='alternate' type='text/html' href='http://x-nagi.com/cgit/aria2/commit/?id=fa9f3fb5a3c8912a0a6880ffba9c72f4424ea044'/>
<id>urn:sha1:fa9f3fb5a3c8912a0a6880ffba9c72f4424ea044</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Require -std=c++11 and use std::shared_ptr instead of SharedHandle</title>
<updated>2013-06-21T16:10:38Z</updated>
<author>
<name>Tatsuhiro Tsujikawa</name>
<email>tatsuhiro.t@gmail.com</email>
</author>
<published>2013-06-21T16:10:38Z</published>
<link rel='alternate' type='text/html' href='http://x-nagi.com/cgit/aria2/commit/?id=07d270c87e6f9184aea4ca17eb26e466712e8db2'/>
<id>urn:sha1:07d270c87e6f9184aea4ca17eb26e466712e8db2</id>
<content type='text'>
</content>
</entry>
<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>
</feed>
