Arvid Norberg
|
f89ce2669f
|
fixes #90. adds compact_mode to torrent_status
|
2007-07-23 04:36:56 +00:00 |
Arvid Norberg
|
3050e35adf
|
disabled lsd for private torrents
|
2007-07-23 00:38:31 +00:00 |
Arvid Norberg
|
664abc570b
|
uploads limit fix
|
2007-07-17 06:39:39 +00:00 |
Arvid Norberg
|
6650a34cfd
|
fixed #83
|
2007-07-15 14:20:55 +00:00 |
Arvid Norberg
|
9bdf2a9c8d
|
fixed invariant check in policy
|
2007-07-10 17:25:10 +00:00 |
Arvid Norberg
|
4771f323f6
|
added invariant checks for peer_counter in block_info. added bytes_progress and block_size to block_info (to allow a more detail download progress display). Updated client_test to show download progress per block and also to have a separate color for 'multi blocks' (i.e. blocks that have been requested from more than one peer)
|
2007-07-08 20:45:42 +00:00 |
Arvid Norberg
|
a3e66a3efe
|
made the piece picker handle multi-request blocks better. fixes problem that might occur at the end of a torrent where the piece picker could take over blocks back and forth
|
2007-07-06 17:15:35 +00:00 |
Arvid Norberg
|
3c69e3b2cb
|
updated asserts
|
2007-07-04 16:15:46 +00:00 |
Arvid Norberg
|
b20270d243
|
added more asserts related to recent downloading_piece optimization and fixed a translation problem to the public interface
|
2007-07-04 15:46:10 +00:00 |
Arvid Norberg
|
3bdf01778a
|
chamged peer representation from tcp::endpoint to policy::peer pointer in piece_picker's downloading piece. Saves memory, removes the need for lookup and improves the hash check fail/pass handling for closed connections
|
2007-07-04 02:16:49 +00:00 |
Arvid Norberg
|
e714e1aeba
|
improved bandwidth limiter and added a unit test for it
|
2007-07-02 23:48:06 +00:00 |
Arvid Norberg
|
8aa37dfa39
|
fixed #75
|
2007-07-02 19:31:46 +00:00 |
Arvid Norberg
|
816bf3ff2d
|
made the number of peers requested from trackers customizable
|
2007-07-02 18:44:33 +00:00 |
Arvid Norberg
|
340a91e2a4
|
fixed #74
|
2007-06-21 00:51:42 +00:00 |
Arvid Norberg
|
0d7a208865
|
added more output to transfer tests and changed the data to be more easily debuggable + some code cleanup
|
2007-06-20 18:41:53 +00:00 |
Arvid Norberg
|
bbaa2efcb0
|
removed asserts that are can no longer be maintained with the async io
|
2007-06-13 18:09:52 +00:00 |
Arvid Norberg
|
b75a69cd47
|
added alerts for synchronizing disk io when pausing and moving storage
|
2007-06-11 21:24:14 +00:00 |
Arvid Norberg
|
3b8670626a
|
merged back async_io branch into trunk
|
2007-06-10 20:46:09 +00:00 |
Arvid Norberg
|
a7ad108e8a
|
made the unchoke interval configurable
|
2007-06-07 22:37:58 +00:00 |
Arvid Norberg
|
4f339272dc
|
minor cleanup
|
2007-06-03 05:57:05 +00:00 |
Arvid Norberg
|
31247c046a
|
supports turning on and off upnp, natpmp and lsd. All ofthem are now off by default
|
2007-05-31 00:21:54 +00:00 |
Arvid Norberg
|
f65c08338e
|
fixed bug with torrents having peers despite being paused
|
2007-05-30 08:37:36 +00:00 |
Arvid Norberg
|
14a15831ef
|
exposed piece availability vector
|
2007-05-30 06:52:59 +00:00 |
Arvid Norberg
|
1d15a5040c
|
removed old unused logging
|
2007-05-26 22:55:21 +00:00 |
Arvid Norberg
|
ea965431bf
|
fixed typo
|
2007-05-26 19:28:38 +00:00 |
Arvid Norberg
|
c10e74f4fc
|
improved control over the rate of connection attempts
|
2007-05-25 21:00:35 +00:00 |
Arvid Norberg
|
bb71832f5f
|
exposed some more peer info
|
2007-05-25 19:42:10 +00:00 |
Arvid Norberg
|
685f79b82f
|
option to ignore bandwidth limits for local peers. fixed some asserts when allowing multiple connections per IP
|
2007-05-25 17:06:30 +00:00 |
Arvid Norberg
|
510966f2a5
|
fixed fast resume data bug when using full allocation mode, and moved parts of resume data generation to the storage
|
2007-05-24 18:53:55 +00:00 |
Arvid Norberg
|
58b23a79e7
|
exception fixes
|
2007-05-24 17:07:43 +00:00 |
Arvid Norberg
|
cbd67ed729
|
added support for authentication in the url_parser and added a test for it
|
2007-05-22 20:44:18 +00:00 |
Arvid Norberg
|
ea45641c8b
|
made lsd work
|
2007-05-17 00:01:51 +00:00 |
Arvid Norberg
|
1d68e10684
|
made it build in msvc by inserting ; at the end of function try blocks
|
2007-05-16 01:17:14 +00:00 |
Arvid Norberg
|
f5c449837f
|
introduced an extra invariant check in policy to make sure peers are unique
|
2007-05-12 20:25:44 +00:00 |
Arvid Norberg
|
f39185bb21
|
optimized the read callback to loop and exhaust the read buffer from the socket instead of making another async read call. #43
|
2007-05-10 01:50:11 +00:00 |
Arvid Norberg
|
a5847956e1
|
most of the metadata is now freed when a torrent becomes a seed. #44
|
2007-05-09 22:54:26 +00:00 |
Arvid Norberg
|
6dcca9250b
|
optimized heap allocations in piece_picker. #42
|
2007-05-09 00:49:13 +00:00 |
Arvid Norberg
|
4956639171
|
piece picker optimization
|
2007-05-08 11:13:13 +00:00 |
Arvid Norberg
|
a2b359b64e
|
fixed assert in torrent.cpp
|
2007-05-07 18:19:53 +00:00 |
Arvid Norberg
|
508dfd722a
|
cleaned up policy a bit and the country code list
|
2007-05-05 22:55:34 +00:00 |
Arvid Norberg
|
49bd69cad4
|
introduced a proper half open TCP connection limit. Also exposed the connection queue to let clients use the same connection limiter as libtorrent. UPnP connections and tracker connection are now also limited as well as peer connections and web seeds
|
2007-05-05 00:29:33 +00:00 |
Arvid Norberg
|
983f4bc02e
|
removed unneccesary connection lookup in connect_peer
|
2007-05-04 16:35:29 +00:00 |
Arvid Norberg
|
9be3f14dd7
|
fixed bug in recent connection queue changes
|
2007-05-03 17:12:24 +00:00 |
Arvid Norberg
|
56a4b8412a
|
restored the faster connection behavior
|
2007-05-03 01:49:14 +00:00 |
Arvid Norberg
|
54805ca60b
|
added option to disable country resolving
|
2007-05-02 19:47:38 +00:00 |
Arvid Norberg
|
13bcb48dba
|
fixed warnings and removed unused variables
|
2007-05-02 18:45:29 +00:00 |
Arvid Norberg
|
04e41cf702
|
improved connection queue handling slightly. Will require further improvements
|
2007-05-02 17:38:37 +00:00 |
Arvid Norberg
|
f41fd7d303
|
added catch blocks to lsd. changed bind expressions to use operators
|
2007-04-29 20:49:30 +00:00 |
Arvid Norberg
|
00948e9fc4
|
first attempt to implement SOCKS5 and proper HTTP proxy support. fixes #22
|
2007-04-25 18:26:35 +00:00 |
Arvid Norberg
|
d43a6b80bf
|
added an abstraction layer or tcp sockets, to be able to support socks proxys
|
2007-04-23 21:36:21 +00:00 |
Arvid Norberg
|
75d61207f2
|
fix for prioritize_files()
|
2007-04-17 22:56:14 +00:00 |
Arvid Norberg
|
849db39472
|
added peer_blocked_alert which is generated when a peer is blocked by the IP filter. Fixed the ip-filter parsing in client_test and made it report the peer_blocked_alert. Added documentation.
|
2007-04-17 05:56:43 +00:00 |
Arvid Norberg
|
40804a829b
|
failcount is reset on a peer that successfully connects. documented max_failcount and min_reconnect_time. implemented seed optimization for piece_picker (inc_refcount_all and dec_refcount_all), ticket #17
|
2007-04-15 02:14:02 +00:00 |
Arvid Norberg
|
0e5ce5dd9d
|
cleaned up policy a bit, moved the seed check in on_bitfield to be performed before the piece picker is updated
|
2007-04-13 01:53:25 +00:00 |
Arvid Norberg
|
52623405f0
|
improved unchoking, connecting and disconnecting logic in policy. seems to fix #29
|
2007-04-12 10:21:55 +00:00 |
Arvid Norberg
|
87b1cdc341
|
fix to avoid connecting web seeds when not a seed but finished
|
2007-04-11 22:27:58 +00:00 |
Arvid Norberg
|
e503e334d5
|
fix to previous check-in
|
2007-04-11 17:44:15 +00:00 |
Arvid Norberg
|
109cc3f232
|
made the announce timer (for dht and lsd) use a weak pointer instead of raw pointer, to avoid problems when torrent is being destructed
|
2007-04-11 17:22:19 +00:00 |
Arvid Norberg
|
250adabcfa
|
removed unused web stats
|
2007-04-11 16:50:54 +00:00 |
Arvid Norberg
|
3ed24da320
|
added source to peer_info, which is a bitmask of the sources where the peer has been acquired from
|
2007-04-10 21:23:13 +00:00 |
Arvid Norberg
|
4ceb6a02ea
|
added download_limit and upload_limit functions to torrent_handle
|
2007-04-10 09:25:17 +00:00 |
Arvid Norberg
|
d88ffcc0e4
|
removed some more unecessary boost.date_time dependencies
|
2007-04-10 07:52:58 +00:00 |
Arvid Norberg
|
e7d1f92623
|
removed debug printout
|
2007-04-05 16:33:40 +00:00 |
Arvid Norberg
|
306d015924
|
added a timer abstraction and replaced the use of boost.date_time. the timers used now are QueryPerformanceCounter on windows, mach_absolute_time on darwin and currently falls back on boost.date_time on other platforms. This has the advantage of being a monotonic clock, and also slightly more efficient
|
2007-04-04 22:27:36 +00:00 |
Arvid Norberg
|
a4ccee15df
|
removed unused code
|
2007-04-04 02:10:25 +00:00 |
Arvid Norberg
|
5e32484194
|
first stab at getting local service discovery
|
2007-04-04 02:06:07 +00:00 |
Arvid Norberg
|
ec2962dd62
|
extensions are now instantiated for web seeds as well
|
2007-04-02 20:00:24 +00:00 |
Arvid Norberg
|
f65b5f677b
|
fixed incorrect locking that might cause invariant check failures
|
2007-03-30 22:00:26 +00:00 |
Arvid Norberg
|
513d388c2c
|
added extension hook when files have been checked
|
2007-03-28 22:59:35 +00:00 |
Arvid Norberg
|
ce14cb5783
|
properly updates piece interest bit for deprecated filter functions
|
2007-03-28 22:22:24 +00:00 |
Arvid Norberg
|
f1af5dc637
|
changes to ut_pex, added support for seed flag in pex messages
|
2007-03-28 01:06:15 +00:00 |
Arvid Norberg
|
985e457e91
|
fixed exception issue
|
2007-03-26 06:48:34 +00:00 |
Arvid Norberg
|
20e38bc42b
|
peer interest flag is now updated when priority is changed. fixes in piece_picker
|
2007-03-21 02:09:50 +00:00 |
Arvid Norberg
|
776b399a97
|
added api for piece priorities
|
2007-03-20 01:59:00 +00:00 |
Arvid Norberg
|
7ff5893431
|
reverted bad check-in where files_checked was removed from piece_picker
|
2007-03-17 17:28:59 +00:00 |
Arvid Norberg
|
8957b64c04
|
prepared for precompiled headers support. fixed issue where storage didn't lock the session properly. fixed typo in natpmp.cpp
|
2007-03-17 17:15:16 +00:00 |
Arvid Norberg
|
4ac08f393a
|
simplified the piece picker by initializing it properly in its constructor. Removed natpmp reporting port map success when removing mappings. fix where incoming connections before the files were completely checked would cause an assert.
|
2007-03-16 23:28:26 +00:00 |
Arvid Norberg
|
029953c5ae
|
made the storage into a customization point. it is now interchangable for a custom implementation
|
2007-03-16 05:29:23 +00:00 |
Arvid Norberg
|
ecaa3068d5
|
added natpmp support. bumped version number to 0.13. added piece priority support to the piece picker. optmized and simplified the piece picker in the process.
|
2007-03-15 22:03:56 +00:00 |
Arvid Norberg
|
87d9cdb965
|
fix for msvc-7.1
|
2007-03-11 23:17:40 +00:00 |
Arvid Norberg
|
6f0a0beadb
|
fix to allow hostnames for peers in tracker responses
|
2007-03-07 18:50:38 +00:00 |
Arvid Norberg
|
b0ae8d3a14
|
tracker fixes for trackerless torrents
|
2007-02-21 17:15:47 +00:00 |
Arvid Norberg
|
3fc73cb219
|
added a web seed test (requires manual environment setup for web server). fixed bug in torrent_info where file offsets could be left uninitialized. Fixed bug in torrent which would cause a crash in case a torrent without any trackers would be aborted.
|
2007-02-20 01:42:12 +00:00 |
Arvid Norberg
|
4f86042b97
|
bandwidth management fix + improved string conversion fallback in case strings are incorrect in torrent
|
2007-02-19 23:06:20 +00:00 |
Arvid Norberg
|
f5fe27e691
|
bandwidth management fix + fix to http tracker connection request builder
|
2007-02-19 21:24:48 +00:00 |
Arvid Norberg
|
9c0e9701d9
|
fix for bug in bandwidth throttler when limiting a torrent to lower than bandwidth block size. Fixed #ifndef related to DHT support
|
2007-02-19 00:01:39 +00:00 |
Arvid Norberg
|
889ad70cee
|
fixes for metadata-less torrents, and fixes for peer requests
|
2007-02-15 03:03:50 +00:00 |
Arvid Norberg
|
14cb23cec2
|
tracker announces will always request 50 peers, unless it's stopped
|
2007-02-12 22:45:23 +00:00 |
Arvid Norberg
|
6a47eb501e
|
fixed problem with torrents that were paused not getting any upload slots or connection quota once the were unpaused
|
2007-02-12 18:21:14 +00:00 |
Arvid Norberg
|
f795be7acf
|
made the dht be a fallback by default, fixed glitch in earlier fix to make sure block requests are sent properly, fixed problem in peer_connection::second_tick if the piece picker was removed because of the torrent becoming a seed
|
2007-02-12 09:20:49 +00:00 |
Arvid Norberg
|
98b92e3f02
|
fixed problems in the network layer that made web seeds fail some times. prepared for proxy support in peer connections. worked on the http seeding. added support for web seeds in make_torrent tool
|
2007-02-12 05:46:29 +00:00 |
Arvid Norberg
|
d0ebdb2dee
|
added prioritization in the bandwidth_manager (throttler), web seeds now have lower priority when being handed bandwidth. torrent_reply_alert now includes the number of peers returned from the tracker. updated Changelog
|
2007-02-01 07:33:04 +00:00 |
Arvid Norberg
|
05f4ce5b6c
|
fixed potetial deadlock in bandwidth manager. Fixed http-tracker requests that are sensitive to existing arguments in url (avoids duplicates and doesn't replace arguments)
|
2007-01-30 17:56:42 +00:00 |
Arvid Norberg
|
f14c84b01e
|
fixes in DHT to make it work when the number of transaction slots are full (very rare case). Added a feature to (optionally) resolve the countries of peers and updated the docs (see peer_info::country).
|
2007-01-29 07:39:33 +00:00 |
Arvid Norberg
|
69ef67d71e
|
made a common base class for torrent alerts. Made the bandwidth quota block size variable depending on the limit
|
2007-01-16 05:05:52 +00:00 |
Arvid Norberg
|
cfb238886d
|
added lines that were removed by mistake
|
2007-01-11 02:59:38 +00:00 |
Arvid Norberg
|
87f7b186b0
|
replaced the bandwidth throttling code with a leaky bucket for better accuracy
|
2007-01-10 15:02:25 +00:00 |
Arvid Norberg
|
45864b15ec
|
fixed incorrect assert in bytes_done()
|
2006-12-31 14:48:18 +00:00 |
Arvid Norberg
|
d58c6d2e31
|
fixed so that both session constructors initializes boost.filesystem. Fixed the case where the file check throws exceptions, the torrent is no longer removed, but paused
|
2006-12-30 23:02:21 +00:00 |
Arvid Norberg
|
c69479a166
|
fixed the cause of an inconsistency in the piece picker and the torrent
|
2006-12-22 00:45:43 +00:00 |
Arvid Norberg
|
1b46fb9e1b
|
fixed an assert in teh web seed downloader
|
2006-12-21 02:44:00 +00:00 |
Arvid Norberg
|
ae4267e0a0
|
fixed the new web seed code to work with multi-file torrents
|
2006-12-20 23:06:24 +00:00 |
Arvid Norberg
|
3a7eeb3966
|
rewrote most of the web seed downloader to report its progress accurately (to prevent inconsistencies in the core). Not well tested with multi file torrents yet
|
2006-12-18 01:23:30 +00:00 |
Arvid Norberg
|
0bad3bcc48
|
fixed typos
|
2006-12-15 23:24:40 +00:00 |
Arvid Norberg
|
4c78274897
|
added more asserts in bytes_done()
|
2006-12-15 23:22:40 +00:00 |
Arvid Norberg
|
13facbdb83
|
added a strand for all async operations for thread safety
|
2006-12-15 17:47:21 +00:00 |
Arvid Norberg
|
c567d06406
|
some asserts
|
2006-12-15 12:29:47 +00:00 |
Arvid Norberg
|
79ebcf5dd8
|
modified the hueristic for taking over blocks slightly, added logging
|
2006-12-15 10:42:56 +00:00 |
Arvid Norberg
|
9e27e33c99
|
added some asserts and updated changelog
|
2006-12-14 16:12:31 +00:00 |
Arvid Norberg
|
f0e97d5aff
|
fixes and asserts partly related to the freeing of the piece picker
|
2006-12-11 12:48:33 +00:00 |
Arvid Norberg
|
90feac8126
|
deallocates the piece picker when seeding, to free up unused memory
|
2006-12-04 12:20:34 +00:00 |
Arvid Norberg
|
947df91b20
|
improved support for multiple connections per ip
|
2006-11-30 11:56:19 +00:00 |
Arvid Norberg
|
93b51d7652
|
more tweaks on quota management
|
2006-11-24 16:59:47 +00:00 |
Arvid Norberg
|
c5cf290f49
|
more quota management fixes and more stats for web seeds
|
2006-11-24 14:22:52 +00:00 |
Arvid Norberg
|
8e289bb233
|
improved logging and fixed glitch in quota management.
|
2006-11-21 15:51:28 +00:00 |
Arvid Norberg
|
d90f833eed
|
fixed problem in quota management for upload and download bandwidth
|
2006-11-21 00:42:52 +00:00 |
Arvid Norberg
|
68e8ea35ea
|
added logging of upload and download statistics, revised some of the quota management, added support for sessions to allocate_resources (patch by wojci)
|
2006-11-20 21:03:58 +00:00 |
Arvid Norberg
|
c52de08421
|
added more logging and modified the resource allocation algorithm. A new, looser, upload and download bandwidth limiter is now used, in order to be able to use more of the available bandwidth
|
2006-11-19 15:29:58 +00:00 |
Arvid Norberg
|
51e3261dd0
|
the file pool has been moved to the session and its size can be controlled via session_settings. Added untested option to allow multiple connections from the same IP.
|
2006-11-14 15:53:38 +00:00 |
Arvid Norberg
|
e35fc5c4be
|
refactored extensions and added a plugin interface. fixed file.cpp for windows
|
2006-11-14 00:08:16 +00:00 |
Arvid Norberg
|
f0519e86e8
|
separated session from session_impl and made a real pimpl-class of it. Introduced the possibility to destruct the sessions async.
|
2006-10-11 14:02:21 +00:00 |
Arvid Norberg
|
8346841d35
|
fixed bug in file_progress with file sizes of 0 bytes
|
2006-10-08 20:36:05 +00:00 |
Arvid Norberg
|
411bc4895c
|
incoming connections are now prioritized over outgoing connections with the same ip
|
2006-09-27 17:17:41 +00:00 |
Arvid Norberg
|
80dc56d388
|
fixed crashing bug when removing torrents while checking
|
2006-09-24 11:22:25 +00:00 |
Arvid Norberg
|
1bde539d67
|
made the values sent to the tracker only include complete and hash checked data, to make them increase and decrease monotonically
|
2006-09-24 00:48:31 +00:00 |
Arvid Norberg
|
191fd76b42
|
made sequenced_download_threshold a per torrent setting. Updated the project page layout. Removed incorrect invariant checks in piece picker.
|
2006-09-04 17:17:45 +00:00 |
Arvid Norberg
|
bdf1bbc8f4
|
changed the file format for storing the DHT routing table to support IPv6. Changed the address used to be IPv4-IPv6 independent (ip_filter still onlt works with IPv4). Added default boost-build features to the building documentation. Completed the jamfile's support for building without DHT support. Updated documentation with these changes.
|
2006-09-01 03:06:00 +00:00 |
Arvid Norberg
|
d0a38c50c6
|
fixed crash bug occuring when removing a torrent while it announces on the DHT. Fixed the mainloop not to quit when an uncought exception is thrown.
|
2006-08-29 01:15:24 +00:00 |
Arvid Norberg
|
056558576e
|
fixed overflow bug in file_progress() and bug in the parsing of dht nodes from torrent files
|
2006-08-27 18:38:30 +00:00 |
Arvid Norberg
|
8227b160ea
|
fixed missing header include. added todo comment at a reported bug
|
2006-08-10 23:36:58 +00:00 |
Arvid Norberg
|
5ef57265bf
|
first version with DHT support. Limited pipelining used by url-seeds. Fixed one configuration problem on FreeBSD.
|
2006-08-01 15:27:08 +00:00 |
Arvid Norberg
|
eef4ffa18c
|
preliminary http proxy support for web seeds, bumped version number
|
2006-07-27 18:07:51 +00:00 |
Arvid Norberg
|
00df2b5bc3
|
added build notes for vs.net 2005, removed old code from ip_filter.cpp, fixed problem where the stats could become incorrect in case of very high cpu load, added asserts in storage::read() to make sure one is not trying to read out of bounds.
|
2006-07-26 10:21:25 +00:00 |
Arvid Norberg
|
175fb8770b
|
added peer_timeout and urlseed_timeout to session_settings, they control the timeout for peers and web seeds respectively. Added BitSlug to the projects page. Added more debug logging when resolving web seed hostnames. Updated documentation.
|
2006-06-28 23:27:44 +00:00 |
Arvid Norberg
|
d3ba5edd6d
|
fixed a long standing (quite rare) bug, thanks to Massaroddel. Made the tests clean up their temporary files.
|
2006-06-24 22:30:59 +00:00 |
Arvid Norberg
|
926e6551c1
|
*** empty log message ***
|
2006-06-17 23:42:01 +00:00 |
Arvid Norberg
|
903e11e458
|
moved the asio headers into the include directory, to have them installed when libtorrent is installed. improved the complexity of torrent_info::map_file(), It's now O(1).
|
2006-06-17 22:04:25 +00:00 |
Arvid Norberg
|
8fafa58c1f
|
added per file progress, added patch suggested by Tianhao Qui regarding unchoking when a peer becomes uninterested. Updated documentation and removed block quotes around bullet lists.
|
2006-06-11 23:24:36 +00:00 |
Arvid Norberg
|
94628fa78d
|
fixed race condition in peer_connection, fixed assert in torrent destructor, updated tests
|
2006-05-28 19:03:54 +00:00 |
Arvid Norberg
|
58698d6aea
|
fixed the tests to build with the latest version of asio. added a missing include to identify_client.hpp
|
2006-05-21 15:35:11 +00:00 |
Arvid Norberg
|
d891214358
|
*** empty log message ***
|
2006-05-20 17:59:17 +00:00 |
Arvid Norberg
|
262e97f21d
|
updated to latest version of asio. fixed a problem with low resolution timers in the second_tick code found by Massaroddel.
|
2006-05-20 15:30:40 +00:00 |
Arvid Norberg
|
0b529e8f96
|
added a setting for max outstanding requests, and a limit for BitComet since it's known to have a very low limit, also added an extension header to specify it. Fixed another unnecessary delay spotted by Tianhao Qiu. Cleaned up the logging class a bit. Fixed a bug that would cause an assert when removing a torrent queued for checking.
|
2006-05-14 22:30:05 +00:00 |
Arvid Norberg
|
73b1c5c9b8
|
cleaned up comments, added some asserts, added setup_send() as proposed by Tianhao Qiu to speed up connection attempts
|
2006-05-01 23:34:37 +00:00 |
Arvid Norberg
|
41810b1166
|
merged back the asio development branch
|
2006-04-25 21:04:48 +00:00 |
Arvid Norberg
|
5ea9d2eab4
|
removed special case where interval is set to 2 minutes when num peers == 0 in tracker response
|
2006-02-19 08:28:31 +00:00 |
Arvid Norberg
|
2d70a9b5bf
|
some more steps in the direction of getting it to build on vc7
|
2006-01-10 00:38:52 +00:00 |
Arvid Norberg
|
c64393cb0e
|
more vc7 fixes and unicode fix in file.cpp
|
2006-01-09 00:07:00 +00:00 |
Arvid Norberg
|
bad06d0c4e
|
fixed adl usage to work with vc7 and removed inclusion of lambda header, to make it build in vc7
|
2006-01-07 15:41:20 +00:00 |
Arvid Norberg
|
04ad901577
|
applied (slightly modified) patches from Allen Zhao in an attempt to make it build on vc7
|
2006-01-07 13:48:14 +00:00 |
Arvid Norberg
|
564ae78012
|
fixed bug caused when sockets were bound to non-local interface
|
2006-01-06 20:20:20 +00:00 |
Arvid Norberg
|
d4f85cb8e2
|
more asserts in order to catch an error I can't reproduce
|
2005-11-09 12:40:07 +00:00 |
Arvid Norberg
|
0ae3b24bd2
|
potentially cured the symptoms of a bug where a torrent can be destructed without having all its connections closed first
|
2005-11-08 00:56:26 +00:00 |
Arvid Norberg
|
822ac4a283
|
fixed some bugs in session.cpp where it removed peers from the selector prematurely. made the num_peers in the torrent_status only count connected peers, and updated the docs accordingly
|
2005-11-05 10:56:47 +00:00 |
Arvid Norberg
|
ec7eb0ebd6
|
more asserts in peer_connection
|
2005-11-04 00:14:55 +00:00 |
Arvid Norberg
|
bcbe165aee
|
added the ability to limit the number of half-open tcp connections
|
2005-11-02 16:28:39 +00:00 |
Arvid Norberg
|
3f36dd0395
|
added the ability to build libtorrent as a shared library. Fixed bugs with deleting of incomplete types (replaced auto_ptr with scoped_ptr). Made the string converter fall back on windows local code page if utf-8 decoding failed.
|
2005-11-01 18:30:39 +00:00 |
Arvid Norberg
|
d3996ccfb9
|
added metadata_failed_alert and allcoating torrent state
|
2005-10-17 13:45:53 +00:00 |
Arvid Norberg
|
6db55b87ab
|
fixed problem when aborting checking torrents
|
2005-10-16 21:14:08 +00:00 |
Arvid Norberg
|
23fbb8d240
|
may have fixed a bug where incorrect metadata was sent (introduced with the latest optimization)
|
2005-10-16 20:15:54 +00:00 |
Arvid Norberg
|
f63702c964
|
optimized session::add_torrent() by putting more info in torrent_info, to make it possible to reproduce the exact info section from an torrent_info object. The result is that the .torrent file is only parsed once.
|
2005-10-16 16:58:41 +00:00 |
Arvid Norberg
|
f770d1438d
|
fixed bug introduced in latest storage changes (triggered when using metadata extension). improved commandline switches to client_test
|
2005-10-16 09:15:46 +00:00 |
Arvid Norberg
|
19259170d7
|
fixed problem when using metadata extension
|
2005-10-15 23:07:39 +00:00 |
Arvid Norberg
|
189a8756ee
|
big change in the way storage is checked. The checker thread can now check the fastresume data of a new torrent without waiting for a currently checking one
|
2005-10-13 07:59:05 +00:00 |
Arvid Norberg
|
a09159c239
|
fixed the buggy changes from last revision, modified the invariant checks
|
2005-10-01 15:12:10 +00:00 |
Arvid Norberg
|
cbcf8df504
|
modified some assertions in policy
|
2005-10-01 11:20:47 +00:00 |
Arvid Norberg
|
da6afef0ae
|
*** empty log message ***
|
2005-10-01 10:50:07 +00:00 |
Arvid Norberg
|
8ef7f58d16
|
fixed bug where some blocks weren't restored in the piece picker when the peer they were requested from disconnected. made the invariant check on policy work
|
2005-09-28 23:58:55 +00:00 |
Arvid Norberg
|
8cfc98b976
|
added more invariant checks to policy
|
2005-09-28 16:12:47 +00:00 |
Arvid Norberg
|
09c98711d5
|
made the peer_connection re-request pieces that aren't sent (fixes a problem where the download could get stuck because bitcomet ignores some requests)
|
2005-09-21 21:44:38 +00:00 |
Arvid Norberg
|
a15f589341
|
fixed problem in piece_picker with filtered files, also optimzed it somewhat. Added more logging and added one test to the piece_picker test
|
2005-09-01 21:04:21 +00:00 |
Arvid Norberg
|
84ddeacea0
|
*** empty log message ***
|
2005-08-23 09:59:56 +00:00 |
Arvid Norberg
|
d19c2c6483
|
removed olf workarounds for vc6.5 and added documentation for building with autotools
|
2005-08-15 18:03:57 +00:00 |
Arvid Norberg
|
1934171431
|
bugfixes, fixes for boost 1.33, made the piece picker pick whole pieces from fast peers
|
2005-08-14 22:04:58 +00:00 |
Arvid Norberg
|
e514643056
|
added support for tracker warnings
|
2005-08-10 23:32:39 +00:00 |
Arvid Norberg
|
300e839fab
|
*** empty log message ***
|
2005-07-16 00:56:50 +00:00 |
Arvid Norberg
|
080da58903
|
*** empty log message ***
|
2005-07-10 10:42:00 +00:00 |
Arvid Norberg
|
c094bc98b5
|
*** empty log message ***
|
2005-07-08 14:15:40 +00:00 |
Arvid Norberg
|
9b70048c97
|
*** empty log message ***
|
2005-07-08 14:04:14 +00:00 |
Arvid Norberg
|
d26b6462b5
|
*** empty log message ***
|
2005-07-06 13:18:10 +00:00 |
Arvid Norberg
|
e003bb8ad5
|
added ip filters and fixed torrent_info::create_torrent()
|
2005-07-06 00:58:23 +00:00 |
spyhole
|
8f975b13b1
|
*** empty log message ***
|
2005-07-05 01:54:57 +00:00 |
spyhole
|
3fdf9b378f
|
updated filter_file function
|
2005-07-05 01:34:10 +00:00 |
Arvid Norberg
|
c42a8a50d3
|
*** empty log message ***
|
2005-07-04 16:33:54 +00:00 |
Arvid Norberg
|
aa57fde0db
|
*** empty log message ***
|
2005-07-04 16:27:14 +00:00 |
spyhole
|
6f698e98a5
|
update the function filter_file
|
2005-07-04 15:31:27 +00:00 |
spyhole
|
b4a2cc645f
|
add file file filter functions to test
|
2005-07-03 23:33:47 +00:00 |
spyhole
|
6410cac43c
|
torrent.cpp
|
2005-07-02 08:47:46 +00:00 |
Arvid Norberg
|
4807fe6a46
|
*** empty log message ***
|
2005-06-27 23:11:09 +00:00 |
Arvid Norberg
|
0d6a4de5aa
|
*** empty log message ***
|
2005-06-22 23:04:37 +00:00 |
Arvid Norberg
|
eca5300ebb
|
*** empty log message ***
|
2005-06-15 12:54:35 +00:00 |
Arvid Norberg
|
de63a70323
|
*** empty log message ***
|
2005-06-12 00:21:37 +00:00 |
Arvid Norberg
|
1bc22888a8
|
*** empty log message ***
|
2005-06-10 23:12:50 +00:00 |
Arvid Norberg
|
fbffae1981
|
*** empty log message ***
|
2005-05-30 17:43:03 +00:00 |
Arvid Norberg
|
e525456498
|
*** empty log message ***
|
2005-05-29 17:25:13 +00:00 |
Arvid Norberg
|
2fabb2bf80
|
experimental support for filtering pieces (filter from downloading that is)
|
2005-05-25 10:01:01 +00:00 |
Arvid Norberg
|
9707b6aeb0
|
added support for non-compact storage layout. i.e. all the files are allocated on disk before downloading starts
|
2005-05-13 00:39:39 +00:00 |
Arvid Norberg
|
1f87a19d1c
|
*** empty log message ***
|
2005-04-24 00:50:52 +00:00 |
Arvid Norberg
|
dc40b2e7cd
|
better error reports from tracker failures (with http status codes)
|
2005-04-20 23:00:27 +00:00 |
Arvid Norberg
|
00272bbaea
|
fixed a bug where paused torrents would still get resources allocated for them
|
2005-03-29 23:47:13 +00:00 |
Arvid Norberg
|
d9e10440f3
|
fixed assert bug in policy and generalized the tracker_connection observer interface a bit
|
2005-03-24 12:13:47 +00:00 |
Arvid Norberg
|
6ff7e76ab2
|
*** empty log message ***
|
2005-03-19 12:22:40 +00:00 |
Arvid Norberg
|
89b1f1f5d5
|
*** empty log message ***
|
2005-03-11 17:21:56 +00:00 |
Arvid Norberg
|
5e3896aae0
|
*** empty log message ***
|
2005-03-10 11:41:22 +00:00 |
Arvid Norberg
|
727dc803a3
|
*** empty log message ***
|
2005-03-10 11:26:55 +00:00 |
Arvid Norberg
|
bc77a39f30
|
*** empty log message ***
|
2005-03-10 09:59:12 +00:00 |
Arvid Norberg
|
c69a184216
|
*** empty log message ***
|
2005-03-08 14:16:14 +00:00 |
Arvid Norberg
|
45bf47bbab
|
fixed bug in torrent that sometimes would cause a num_want=0 in the first tracker request
|
2005-03-07 15:39:06 +00:00 |
Arvid Norberg
|
a5c91f683a
|
*** empty log message ***
|
2005-03-05 14:17:17 +00:00 |
Arvid Norberg
|
953d4fb600
|
*** empty log message ***
|
2005-02-23 20:38:29 +00:00 |
Arvid Norberg
|
5c5aabe7b1
|
*** empty log message ***
|
2005-02-23 08:57:54 +00:00 |
Arvid Norberg
|
782a3cfdc6
|
added the ability to get scrape data from the tracker announce reply
|
2005-02-21 13:59:24 +00:00 |
Arvid Norberg
|
344d5b80c8
|
*** empty log message ***
|
2005-01-10 11:14:22 +00:00 |
Arvid Norberg
|
b55a1a6766
|
*** empty log message ***
|
2004-12-21 12:30:09 +00:00 |
Arvid Norberg
|
bc774ff491
|
*** empty log message ***
|
2004-11-30 11:17:32 +00:00 |
Arvid Norberg
|
b29e378f22
|
*** empty log message ***
|
2004-11-18 22:33:50 +00:00 |
Arvid Norberg
|
df281f81ae
|
*** empty log message ***
|
2004-10-31 23:16:08 +00:00 |
Arvid Norberg
|
a34130b446
|
*** empty log message ***
|
2004-10-29 13:21:09 +00:00 |
Arvid Norberg
|
40a88434b1
|
*** empty log message ***
|
2004-10-18 10:36:47 +00:00 |
Arvid Norberg
|
e9ef2b56a5
|
*** empty log message ***
|
2004-10-17 22:23:08 +00:00 |
Arvid Norberg
|
a8e8c715e8
|
*** empty log message ***
|
2004-10-14 01:17:04 +00:00 |
Arvid Norberg
|
a997a43d30
|
*** empty log message ***
|
2004-10-10 00:42:48 +00:00 |
Arvid Norberg
|
d9f0ce12a3
|
*** empty log message ***
|
2004-09-24 10:50:03 +00:00 |
Arvid Norberg
|
922a591154
|
*** empty log message ***
|
2004-09-16 17:18:10 +00:00 |
Arvid Norberg
|
579d63f49d
|
*** empty log message ***
|
2004-09-16 01:14:16 +00:00 |
Arvid Norberg
|
2406d5e54d
|
*** empty log message ***
|
2004-09-12 13:53:00 +00:00 |
Arvid Norberg
|
492565b979
|
*** empty log message ***
|
2004-09-12 10:12:16 +00:00 |
Arvid Norberg
|
b2150236b0
|
*** empty log message ***
|
2004-09-10 00:47:30 +00:00 |
Arvid Norberg
|
bb25ef1cb6
|
*** empty log message ***
|
2004-08-11 17:22:58 +00:00 |
Arvid Norberg
|
a1b50fb1e3
|
*** empty log message ***
|
2004-08-08 21:26:40 +00:00 |
Magnus Jonsson
|
7fe3323ced
|
added num_seeds and distributed_copies to torrent_status
|
2004-08-05 13:56:26 +00:00 |
Arvid Norberg
|
433b3fd27a
|
*** empty log message ***
|
2004-08-01 21:08:34 +00:00 |
Arvid Norberg
|
38f79dd82b
|
*** empty log message ***
|
2004-07-31 06:43:32 +00:00 |
Arvid Norberg
|
bd296f3657
|
*** empty log message ***
|
2004-07-24 11:54:17 +00:00 |
Arvid Norberg
|
1148a5574c
|
*** empty log message ***
|
2004-07-18 00:39:58 +00:00 |
Arvid Norberg
|
d1577962db
|
*** empty log message ***
|
2004-07-06 18:20:07 +00:00 |
Arvid Norberg
|
e23bf90089
|
added torrent_handle::set_download_limit() and fixed typo, thanks to spyhole for reporting
|
2004-07-01 18:51:13 +00:00 |
Arvid Norberg
|
e81d628b53
|
*** empty log message ***
|
2004-06-17 20:56:49 +00:00 |
Arvid Norberg
|
f70bd8ac97
|
added a metadata extension. i.e. torrent-less downloads
|
2004-06-13 23:30:42 +00:00 |
Arvid Norberg
|
22e2f8a164
|
*** empty log message ***
|
2004-05-10 06:12:29 +00:00 |
Arvid Norberg
|
6f818ec7c3
|
*** empty log message ***
|
2004-04-19 20:58:30 +00:00 |
Arvid Norberg
|
7645360cf9
|
*** empty log message ***
|
2004-04-18 13:41:08 +00:00 |
Arvid Norberg
|
adbfc0378c
|
*** empty log message ***
|
2004-04-18 12:28:02 +00:00 |
Arvid Norberg
|
62d633e03f
|
*** empty log message ***
|
2004-04-14 22:16:56 +00:00 |
Arvid Norberg
|
6867b7e79c
|
*** empty log message ***
|
2004-04-14 22:13:33 +00:00 |
Arvid Norberg
|
98c1c824df
|
timeouts become longer the more times a tracker fails
|
2004-04-01 22:29:51 +00:00 |
Arvid Norberg
|
26f114216f
|
*** empty log message ***
|
2004-03-30 19:11:07 +00:00 |
Arvid Norberg
|
fac783b4d8
|
*** empty log message ***
|
2004-03-28 17:45:37 +00:00 |
Arvid Norberg
|
a9b3c6dd41
|
*** empty log message ***
|
2004-03-27 22:02:31 +00:00 |
Arvid Norberg
|
3689e48a3b
|
*** empty log message ***
|
2004-03-26 11:39:17 +00:00 |
Arvid Norberg
|
870b4aeaab
|
*** empty log message ***
|
2004-03-23 22:58:18 +00:00 |
Arvid Norberg
|
bb52b74a9e
|
*** empty log message ***
|
2004-03-21 02:03:37 +00:00 |
Magnus Jonsson
|
1d9b74ffee
|
*** empty log message ***
|
2004-03-07 20:50:56 +00:00 |
Arvid Norberg
|
5d65eab1bd
|
*** empty log message ***
|
2004-03-01 00:50:00 +00:00 |
Arvid Norberg
|
3108cd0182
|
*** empty log message ***
|
2004-02-29 21:33:17 +00:00 |
Arvid Norberg
|
eb46f4711e
|
*** empty log message ***
|
2004-02-26 00:41:36 +00:00 |
Arvid Norberg
|
2d363127e9
|
*** empty log message ***
|
2004-02-26 00:27:06 +00:00 |
Magnus Jonsson
|
4cb125a694
|
*** empty log message ***
|
2004-02-23 22:54:54 +00:00 |
Arvid Norberg
|
9a2fc89eae
|
Made the Jamfile to work with boost-build.
updated documentation to reflect the new (working) Jamfile.
|
2004-02-22 22:40:45 +00:00 |
Arvid Norberg
|
80b57290c9
|
*** empty log message ***
|
2004-01-31 10:46:15 +00:00 |
Arvid Norberg
|
5b7100656e
|
*** empty log message ***
|
2004-01-31 10:20:19 +00:00 |
Arvid Norberg
|
fc74e19224
|
*** empty log message ***
|
2004-01-26 10:29:00 +00:00 |
Magnus Jonsson
|
b716a40795
|
*** empty log message ***
|
2004-01-26 01:45:30 +00:00 |
Arvid Norberg
|
0dbbc18186
|
removed most warnings on msvc.
reimplemented piece_manager::check_pieces to take care of all possible cases of the storage state.
|
2004-01-25 18:18:36 +00:00 |
Arvid Norberg
|
718f01155f
|
*** empty log message ***
|
2004-01-25 12:37:15 +00:00 |
Magnus Jonsson
|
0634e778e9
|
*** empty log message ***
|
2004-01-25 04:18:08 +00:00 |
Magnus Jonsson
|
bb36fa8e24
|
*** empty log message ***
|
2004-01-25 02:59:27 +00:00 |
Magnus Jonsson
|
30329cc225
|
*** empty log message ***
|
2004-01-24 19:19:17 +00:00 |
Arvid Norberg
|
a3b47ec826
|
added documentation of udp-tracker protocol and finalized support for it.
|
2004-01-22 22:45:52 +00:00 |
Arvid Norberg
|
b897315abb
|
implemented completely untested support for udp-trackers.
|
2004-01-21 13:16:11 +00:00 |
Arvid Norberg
|
a9ef075d7d
|
started work on udp-tracker support.
|
2004-01-20 22:59:21 +00:00 |
Arvid Norberg
|
6d22d4144c
|
*** empty log message ***
|
2004-01-20 11:01:50 +00:00 |
Arvid Norberg
|
23256b9b1f
|
*** empty log message ***
|
2004-01-18 19:12:18 +00:00 |
Arvid Norberg
|
e257516670
|
took a shot at making it compile on vc6.
|
2004-01-18 01:58:33 +00:00 |
Arvid Norberg
|
4d33080399
|
*** empty log message ***
|
2004-01-17 20:04:19 +00:00 |
Arvid Norberg
|
410b35f95e
|
*** empty log message ***
|
2004-01-15 16:45:34 +00:00 |
Arvid Norberg
|
fde3a47daa
|
*** empty log message ***
|
2004-01-15 01:01:09 +00:00 |
Arvid Norberg
|
a5f30a6478
|
*** empty log message ***
|
2004-01-15 00:46:44 +00:00 |
Arvid Norberg
|
f036fc99a4
|
*** empty log message ***
|
2004-01-14 19:24:11 +00:00 |
Arvid Norberg
|
62f3af5b0f
|
*** empty log message ***
|
2004-01-14 12:53:17 +00:00 |
Arvid Norberg
|
9983e7c85b
|
*** empty log message ***
|
2004-01-14 01:19:30 +00:00 |
Arvid Norberg
|
abbedbf104
|
*** empty log message ***
|
2004-01-13 03:08:59 +00:00 |
Arvid Norberg
|
b6c826c6af
|
*** empty log message ***
|
2004-01-12 20:31:27 +00:00 |
Arvid Norberg
|
9e979efb8b
|
*** empty log message ***
|
2004-01-12 03:05:10 +00:00 |
Arvid Norberg
|
b9bbf242c6
|
*** empty log message ***
|
2004-01-09 10:50:22 +00:00 |
Arvid Norberg
|
8137e5002d
|
*** empty log message ***
|
2004-01-08 17:03:04 +00:00 |
Arvid Norberg
|
91c9156de1
|
*** empty log message ***
|
2004-01-07 00:48:02 +00:00 |
Arvid Norberg
|
d43380d579
|
*** empty log message ***
|
2004-01-05 01:45:57 +00:00 |
Arvid Norberg
|
e2baa0a646
|
*** empty log message ***
|
2004-01-04 23:51:54 +00:00 |
Arvid Norberg
|
3033f16f47
|
*** empty log message ***
|
2004-01-03 02:10:11 +00:00 |
Arvid Norberg
|
95026395f3
|
*** empty log message ***
|
2004-01-02 20:46:24 +00:00 |
Arvid Norberg
|
5cde50ee01
|
*** empty log message ***
|
2004-01-01 23:23:17 +00:00 |
Arvid Norberg
|
c432c9ad68
|
*** empty log message ***
|
2003-12-22 07:14:35 +00:00 |
Arvid Norberg
|
5ac9f67f23
|
*** empty log message ***
|
2003-12-21 17:28:27 +00:00 |
Arvid Norberg
|
cb89ccf6be
|
*** empty log message ***
|
2003-12-18 03:30:41 +00:00 |
Arvid Norberg
|
7de3079ef0
|
*** empty log message ***
|
2003-12-17 16:37:20 +00:00 |
Arvid Norberg
|
24e4c197c9
|
*** empty log message ***
|
2003-12-14 05:56:12 +00:00 |
Arvid Norberg
|
ef5a49b694
|
*** empty log message ***
|
2003-12-08 21:59:48 +00:00 |
Arvid Norberg
|
3ed0745cb1
|
*** empty log message ***
|
2003-12-08 01:37:30 +00:00 |
Daniel Wallin
|
1313e32954
|
fixed new storage
|
2003-12-07 15:03:06 +00:00 |