Commit Graph

3439 Commits

Author SHA1 Message Date
Arvid Norberg
b8614a36b3 fix resume state for paused when torrent was in graceful pause mode 2011-06-05 20:48:00 +00:00
Arvid Norberg
f60e88e7f8 fix crash when passing in an uninitialized entry to session::load_state 2011-06-05 06:42:51 +00:00
Arvid Norberg
68dee0342b minor fix 2011-06-05 06:32:00 +00:00
Arvid Norberg
df003ef57c fix checking behavior when pausing/resuming the session 2011-06-05 03:06:34 +00:00
Arvid Norberg
4a914852cc support torrents whose name is empty 2011-06-03 08:48:33 +00:00
Arvid Norberg
ebba1f3c57 fix assert when pausing session while checking torrents 2011-06-03 08:40:13 +00:00
Arvid Norberg
1a927787b1 distinguish between an empty name and missing name in torrent files 2011-06-02 22:15:42 +00:00
Arvid Norberg
ae76e77065 fix up some cases where we shouldn't be in end-game mode 2011-06-01 09:14:21 +00:00
Arvid Norberg
8190744f0c fix DHT error messages to either not be sent or contain valid transaction IDs 2011-06-01 07:44:33 +00:00
Arvid Norberg
05e91f1a6d fix uninitialized sequence number for session stats logs 2011-06-01 07:06:20 +00:00
Arvid Norberg
0c35fde81c memory usage optimization in policy::peer 2011-06-01 06:47:57 +00:00
Arvid Norberg
5dbc41447d fixed build issue 2011-05-28 00:55:47 +00:00
Arvid Norberg
b4a141a26c cleanup ut_metadata 2011-05-27 22:47:14 +00:00
Arvid Norberg
e6640de205 updated IP->ID formula for DHT 2011-05-26 17:04:53 +00:00
Arvid Norberg
d855bcc815 fix potential crash when peers get disconnected when we announce pieces to them 2011-05-25 16:06:51 +00:00
Arvid Norberg
2bb53ce6e8 fix non-openssl builds and improved error messages for mutable puts 2011-05-25 02:41:48 +00:00
Arvid Norberg
6fa1827c39 add support for mutable put/get functions in DHT 2011-05-25 02:26:07 +00:00
Arvid Norberg
5bbbf0cd41 add rsa sign and verification functions for future DHT extensions 2011-05-23 23:42:52 +00:00
Arvid Norberg
f13de88b63 fixed dht logging build 2011-05-23 06:37:43 +00:00
Arvid Norberg
6830eb10a9 remove old search code from DHT. modify announce-item to fit with more recent proposal of get/put. Only immutable entries for now 2011-05-23 05:07:52 +00:00
Arvid Norberg
58d723012a support DHT scrape 2011-05-23 00:45:36 +00:00
Arvid Norberg
88fa0b9393 optimize send buffer allocation and deallocation by not allowing requiring contiguous buffers 2011-05-19 02:41:28 +00:00
Arvid Norberg
24f72b2045 fix bug in peer list when hitting the upper size limit 2011-05-16 16:37:37 +00:00
Arvid Norberg
6e23b9f5a6 allow torrents to keep running when they encounter an error (such as disk full) but still report the error in the torrent's error string 2011-05-16 07:47:21 +00:00
Arvid Norberg
801d3637b9 attempt to fix crash in udp_socket when using a broken socks5 proxy 2011-05-14 22:25:49 +00:00
Arvid Norberg
fa61a1eada fixed typo in logic that connects web seeds 2011-05-14 03:03:11 +00:00
Arvid Norberg
e946ba654f release assert fixes 2011-05-08 23:52:06 +00:00
Arvid Norberg
a73960aa5a support release asserts 2011-05-08 09:04:59 +00:00
Arvid Norberg
a329a11b57 add build option to always enable asserts (i.e. allow asserts in release builds) 2011-05-07 19:58:38 +00:00
Arvid Norberg
56364cc9c7 disable hash checks fix 2011-05-05 04:02:10 +00:00
Arvid Norberg
c003e4f810 extend plugin API to allow hooking when peers are added to the peer list 2011-05-02 01:45:56 +00:00
Arvid Norberg
6f127dd07b fixed build with no deprecated functions 2011-05-01 19:28:13 +00:00
Arvid Norberg
83ba5afaa5 don't reject peer connections just because the peerlist is full 2011-05-01 18:37:49 +00:00
Arvid Norberg
a9cc2101c6 fixed bug with setting and getting file priorities 2011-05-01 17:43:15 +00:00
Arvid Norberg
449733d518 logging fixes 2011-05-01 08:58:45 +00:00
Arvid Norberg
eaea22be71 make torrent priority stricly prefer unchoking peers on high priority torrents 2011-04-30 20:33:35 +00:00
Arvid Norberg
e07e8b2f98 fixed connection limit to take web seeds into account as well 2011-04-30 20:05:23 +00:00
Arvid Norberg
0eb7505ad9 fix race condition when resolving the hostname of a web seed and removing it 2011-04-29 08:09:03 +00:00
Arvid Norberg
90719bf77d fixed bug when receiving a have message before having the metadata 2011-04-29 02:45:02 +00:00
Arvid Norberg
2ab17b7a51 handle incoming invalid piece messages sizes 2011-04-28 08:55:27 +00:00
Arvid Norberg
58ea6f5b3c don't start the next checking torrent when the session is paused 2011-04-28 07:54:57 +00:00
Arvid Norberg
c4761e3922 proper seed mode fix 2011-04-28 07:32:42 +00:00
Arvid Norberg
bbde8f772a fix bug in seed mode when a piece fails hash check 2011-04-28 06:36:44 +00:00
Arvid Norberg
4fcb26c8ad revert file_too_short error message, since it breaks checking 2011-04-28 04:31:45 +00:00
Arvid Norberg
ebd116cce3 clean up disk callbacks a bit with regards to whether the torrent is still alive 2011-04-28 03:23:14 +00:00
Arvid Norberg
dab3d5706f for high performance preset, support accepting many connections simultaneously 2011-04-27 08:06:44 +00:00
Arvid Norberg
1723e2d4f7 don't time out peers as long as we can upload to them 2011-04-27 08:05:37 +00:00
Arvid Norberg
810ce884fb always post cache_flushed_alert when removing a torrent 2011-04-26 16:26:53 +00:00
Arvid Norberg
2eff66c9b0 removed invalid assert 2011-04-26 16:22:21 +00:00
Arvid Norberg
5811e9eef8 small hint_read issue 2011-04-26 08:08:54 +00:00