mirror of https://github.com/aria2/aria2
2010-06-03 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
Use downloadresultcode::IN_PROGRESS for RequestGroup::SHUTDOWN_SIGNAL. * src/RequestGroup.ccpull/1/head
parent
1c8b61cad4
commit
1986f45d4a
|
@ -1,3 +1,9 @@
|
|||
2010-06-03 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
|
||||
|
||||
Use downloadresultcode::IN_PROGRESS for
|
||||
RequestGroup::SHUTDOWN_SIGNAL.
|
||||
* src/RequestGroup.cc
|
||||
|
||||
2010-06-03 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
|
||||
|
||||
Call requestForceHalt() instead of _requestGroupMan->forceHalt().
|
||||
|
|
|
@ -175,7 +175,8 @@ downloadresultcode::RESULT RequestGroup::downloadResult() const
|
|||
return downloadresultcode::FINISHED;
|
||||
else {
|
||||
if (_lastUriResult.isNull()) {
|
||||
if(_haltReason == RequestGroup::USER_REQUEST) {
|
||||
if(_haltReason == RequestGroup::USER_REQUEST ||
|
||||
_haltReason == RequestGroup::SHUTDOWN_SIGNAL) {
|
||||
return downloadresultcode::IN_PROGRESS;
|
||||
} else {
|
||||
return downloadresultcode::UNKNOWN_ERROR;
|
||||
|
|
Loading…
Reference in New Issue