mirror of
https://github.com/aria2/aria2.git
synced 2025-02-26 08:22:11 +00:00
* src/PeerAbstractCommand.h (beforeSocketCheck): Removed. * src/PeerAbstractCommand.cc Modified in order to call executeInternal() even if socket check and upload limit check fail. * src/PeerInteractionCommand.h (keepAlive): Removed. (sendKeepAlive): New function. (checkHave): New function. (beforeSocketCheck): Removed. * src/PeerInteractionCommand.cc (executeInternal): Use peerInteraction->checkRequestSlot(). Added calls to checkHave() and sendKeepAlive(). (keepAlive): Renamed to sendKeepAlive(). (sendKeepAlive): New function. (beforeSocketCheck): Removed. (checkHave): New function. * src/BitfieldMan.cc (getMissingIndex): Don't call getMissingIndexRandomly() if max is 0. (getMissingUnusedIndex): Don't call getMissingIndexRandomly() if max is 0. (getMissingIndex): Dont't call getMissingIndexRandomly() if max is 0. * src/TorrentMan.h (UsedPieces): Removed. (Pieces): New type definition. * src/Piece.h: Updated doc. * src/Peer.h (totalLength): Removed. * src/Peer.cc (updateLatency): Fixed the latency calculation. * src/TorrentMan.cc (addPeer): Call deleteOldErrorPeers() only if peers.size() is higher than or equal to MAX_PEER_LIST_SIZE. If duplicate is false and peer.size() >= MAX_PEER_LIST_SIZE, then return false. (deleteOldErrorPeers): Rewritten. (deleteUsedPiece): Fixed the miss use of STL remove. * src/PeerInteraction.h (Pieces): Removed. (deleteTimeoutRequestSlot): Removed. (deleteCompletedRequestSlot): Removed. (checkRequestSlot): New function. * src/PeerInteraction.cc (deleteTimeoutRequestSlot): Merged to checkRequestSlot(). (deleteCompletedRequestSlot): Merged to checkRequestSlot(). (checkRequestSlot): New function. * src/DownloadEngine.cc (run): Clear activeSockets before calling waitData(). (waitData): Removed a call to activeSockets.clear().
18 lines
584 B
Plaintext
18 lines
584 B
Plaintext
* Add HTTP POST support
|
|
* Add expires handling for Cookie
|
|
* Add SSL server cert verification
|
|
* Add SSL client cert support
|
|
* Better HTTP status handling
|
|
* Download files listed in a specifed file.
|
|
* check MD5 checksum
|
|
* Add the feature which adds or removes URLs on-the-fly.
|
|
* Tracker UDP protocol
|
|
* no-compact peers format
|
|
* Add port range command-line option
|
|
* Add max peers command-line option
|
|
* Distinguish seeder from leecher
|
|
* Add Mainline-compatible DHT support
|
|
* Add Message stream encryption support
|
|
* Add announce-list support
|
|
* Refacturing HttpConnection and FtpConnection
|