diff options
| author | Tatsuhiro Tsujikawa <tatsuhiro.t@gmail.com> | 2009-07-06 14:35:42 +0000 |
|---|---|---|
| committer | Tatsuhiro Tsujikawa <tatsuhiro.t@gmail.com> | 2009-07-06 14:35:42 +0000 |
| commit | db84b1b65237acfe5a231bea2dd28c3795400f33 (patch) | |
| tree | 16229dde0fbf2ac6329471c032e819494b13e949 /src/CreateRequestCommand.h | |
| parent | 69c3dfded4f2816ce734828e3a7dbae6caf32a8e (diff) | |
2009-07-06 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
Keep CreateRequestCommand in queue when no segment is available so
that they can pick up pieces which slow BitTorrent peers are
downloading.
* src/AbstractCommand.cc
* src/CreateRequestCommand.cc
* src/CreateRequestCommand.h
Diffstat (limited to 'src/CreateRequestCommand.h')
| -rw-r--r-- | src/CreateRequestCommand.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/CreateRequestCommand.h b/src/CreateRequestCommand.h index d4f5fae3..12dd9aa6 100644 --- a/src/CreateRequestCommand.h +++ b/src/CreateRequestCommand.h @@ -46,6 +46,8 @@ public: DownloadEngine* e); protected: virtual bool executeInternal(); + + virtual bool prepareForRetry(time_t wait); }; } // namespace aria2 |
