summaryrefslogtreecommitdiff
path: root/src/TimerA2.cc
Commit message (Collapse)AuthorAgeFilesLines
* Add offset value to Timer::clock::now() to treat 0 as special valueTatsuhiro Tsujikawa2016-07-141-3/+11
|
* make clang-format using clang-format-3.6Tatsuhiro Tsujikawa2015-12-271-11/+3
|
* Use user-defined literals for time unitsTatsuhiro Tsujikawa2015-06-211-2/+2
|
* Replace timer facility with chrono libTatsuhiro Tsujikawa2015-06-091-112/+15
|
* Convert most 0/NULL pointers to nullptrNils Maier2013-08-201-1/+1
| | | | Courtesy of llvm cpp11-migrate 3.3
* Added --retry-wait option.Tatsuhiro Tsujikawa2011-01-171-0/+5
| | | | | | | | 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 > 0. We also added error code 29: HTTP_SERVICE_UNAVAILABLE.
* 2010-06-21 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>Tatsuhiro Tsujikawa2010-06-211-19/+19
| | | | | | | Changed naming standards for class member variable: now it looks like var_ instead of _var.
* 2010-04-12 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>Tatsuhiro Tsujikawa2010-04-121-0/+5
| | | | | | | | | | Added warning for the system which lacks clock_gettime with CLOCK_MONOTONIC. * src/MultiUrlRequestInfo.cc * src/TimerA2.cc * src/TimerA2.h
* 2010-04-11 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>Tatsuhiro Tsujikawa2010-04-111-0/+165
Use clock_gettime(CLOCK_MONOTONIC, ...) if it is available and usable to prevent from aria2 from being affected by system time change.