diff options
| author | Tatsuhiro Tsujikawa <tatsuhiro.t@gmail.com> | 2009-07-02 16:26:04 +0000 |
|---|---|---|
| committer | Tatsuhiro Tsujikawa <tatsuhiro.t@gmail.com> | 2009-07-02 16:26:04 +0000 |
| commit | ffaeb271f9f2e746c702650e26709db35ec7f158 (patch) | |
| tree | fb69a563655bb182ba680b6c90735c9160e8a250 /src/Request.h | |
| parent | 01fdb2aaeb4dcb351931c14ca63d9347f0adc529 (diff) | |
2009-07-03 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
Rewritten PeerStats handling in SegmentMan.cc. Now we have 2 list
of PeerStat in SegmentMan. peerStats is used for calculating
download speed. Therefore all active PeerStats should be in
there. Another one is _fastestPeerStats and it only contains
fastest PeerStat for each hostname/protocol pair. They are used
for updating ServerStat.
* src/DownloadCommand.cc
* src/Request.h
* src/RequestGroupMan.cc
* src/SegmentMan.cc
* src/SegmentMan.h
* test/SegmentManTest.cc
Diffstat (limited to 'src/Request.h')
| -rw-r--r-- | src/Request.h | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/src/Request.h b/src/Request.h index a3552229..cab16999 100644 --- a/src/Request.h +++ b/src/Request.h @@ -185,8 +185,6 @@ public: const SharedHandle<PeerStat>& initPeerStat(); - void purgePeerStat() { _peerStat.reset(); } - static const std::string METHOD_GET; static const std::string METHOD_HEAD; |
