Commit Graph

326 Commits

Author SHA1 Message Date
Arvid Norberg
a20f1a8fa0 keeps track of the number of requests waiting in the send buffer and adjusts bandwidht priority accordingly in the bandwidth limiter 2008-07-08 00:03:08 +00:00
Arvid Norberg
73b54f1d0c added timestamp to events 2008-07-07 12:03:29 +00:00
Arvid Norberg
e576babbb8 changed the alerts to have categories and to be filtered with a bitmask instead of having a severity and be filtered by a severity level. 2008-07-06 12:22:56 +00:00
Arvid Norberg
ecb538b4b2 added alert for torrent state changes. Fixes #360 2008-07-03 10:05:51 +00:00
Arvid Norberg
af0ebb519c added copyright notices in files missing them 2008-07-01 18:59:13 +00:00
Arvid Norberg
9c84908bb9 switched resume data parsing over to use lazy_bdecode. Improves memory allocation performance, especially noticable when heap allocations are expensive. Makes it more practical to run with malloc debug. Changed resume data interface to take a vector as opposed to a parsed structure 2008-06-30 23:14:31 +00:00
Arvid Norberg
e1bedea35d fix warning in client_test 2008-06-30 08:45:44 +00:00
Arvid Norberg
d396ab7b17 added pause and resume to the session. Fixes #349 2008-06-29 19:08:30 +00:00
Arvid Norberg
2ac5c13e6f introduced a stricter timeout on piece requests and snubbing. exposed some more data about this through the peer_info. Fixes #40 2008-06-29 09:50:42 +00:00
Arvid Norberg
2ee95f9143 exception changes to client_test 2008-06-29 05:34:22 +00:00
Arvid Norberg
ca0f17ee95 won't save resume data for torrents without a complete state (checking or queued for checking torrents) 2008-06-24 12:48:28 +00:00
Arvid Norberg
9780d378ed made examples use the new more efficient torrent_info constructor 2008-06-24 11:54:13 +00:00
cg25
71c4f6f9b6 * improved --with-asio configure option behaviour;
* using -version-info flag instead of -revision one for the sake of correct
  interface versioning;
* renaming library to libtorrent-rasterbar.so to avoind conflicting with other
  libraries.
2008-06-23 00:09:12 +00:00
Arvid Norberg
a0517fc3cb client test storage allocation mode fix 2008-06-22 23:09:38 +00:00
Arvid Norberg
d35eb71389 made client test adjust settings for the active torrent instead of all at the same time 2008-06-17 08:32:32 +00:00
Arvid Norberg
a1857f9699 added force_recheck to torrent_handle. Fixes #120 2008-06-07 16:24:56 +00:00
Arvid Norberg
f16b5d0c7a changed default to 5 upload slots in client_test 2008-06-07 14:02:26 +00:00
Arvid Norberg
9d1e77dc88 optimized away torrent::m_have_pieces (#62) and added some documentation on bitfield. The piece picker is now constructed with the torrent, but still freed when turned into a seed 2008-06-07 02:58:28 +00:00
Arvid Norberg
31c9d378f5 completed queuing. It is now possible to change and query queue position of torrents. 2008-05-29 03:37:19 +00:00
Arvid Norberg
0a27b0a2ce bugfix in client_test 2008-05-29 02:21:22 +00:00
Arvid Norberg
3910fe78de separated file_storage from torrent_info and create_torrent 2008-05-28 08:44:40 +00:00
Arvid Norberg
c7c1a3913e fixed client_test to use bitfield type 2008-05-28 06:50:11 +00:00
Arvid Norberg
dbb625a910 torrent_info fixes. make_torrent now builds 2008-05-20 09:49:40 +00:00
Arvid Norberg
67354421fb introduced an error state for torrents. Torrents with an error are not restarted automatically 2008-05-20 07:57:44 +00:00
Arvid Norberg
b859942369 added torrent name to logs 2008-05-20 01:23:26 +00:00
Arvid Norberg
949dbe23d3 added more output in the client_test log 2008-05-19 07:37:01 +00:00
Arvid Norberg
777954ab3e automatically scrape auto managed torrents to keep track of downloader/seed ratio 2008-05-19 04:06:25 +00:00
Arvid Norberg
8ed949c4d5 factored out torrent creation functionality from torrent_info into create_torrent. Modified torrent_info to use lazy_bdecoder for increased performance 2008-05-14 05:29:42 +00:00
Arvid Norberg
e51c8bea37 added makefile support for boost.system (#322) 2008-05-11 22:43:44 +00:00
Arvid Norberg
455045f02a client test update 2008-05-07 18:02:11 +00:00
Arvid Norberg
4f859ba778 client test update 2008-05-07 09:28:49 +00:00
Arvid Norberg
840273a94b example client change 2008-05-07 08:17:28 +00:00
Arvid Norberg
3ddca16525 client test fix 2008-05-07 07:24:34 +00:00
Arvid Norberg
c7e6c04705 switched over to asio from boost-1.35 2008-05-03 16:05:42 +00:00
Arvid Norberg
c3b60f1b8f modified get_default_gateway to not take an interface 2008-04-28 02:20:40 +00:00
Arvid Norberg
c2f7fb0fb4 added enum_routes to dump routing table 2008-04-28 00:20:59 +00:00
Arvid Norberg
6a7790cd28 added implementation for get_default_router for linux 2008-04-25 05:51:21 +00:00
Arvid Norberg
b73112682c client test ui updates 2008-04-24 04:17:54 +00:00
Arvid Norberg
c043d4b21d initial support for queuing 2008-04-24 03:28:48 +00:00
Arvid Norberg
0550363b85 geo ip fix in client_test 2008-04-22 17:17:01 +00:00
Arvid Norberg
9a434a919f some more ASNum additions 2008-04-22 00:05:23 +00:00
Arvid Norberg
eb82e13357 client_test updates 2008-04-16 07:02:19 +00:00
Arvid Norberg
755e50bb12 added active_time, seeding_time, all_time_upload and all_time_download to torrent_status. Also updated docs with some missing entries in torrent_status 2008-04-16 06:31:05 +00:00
Arvid Norberg
3fea2080fd added an asynchronous save_resume_data to make it easier to synchronize with the disk IO thread 2008-04-13 18:54:36 +00:00
Arvid Norberg
42f55adcce support for country lookup through GeoIP 2008-04-11 08:46:43 +00:00
Arvid Norberg
093d912e9a receive buffer optimization. added receive_buffer_size and used_receive_buffer to peer_info. changed plugin api to make use of new disk_buffer_holder type 2008-04-10 10:03:23 +00:00
Arvid Norberg
57d75e120a initial support for GeoIP (only AS mappings for now) 2008-04-05 04:53:22 +00:00
Arvid Norberg
2014e312b1 exposed connection_candidates in torrent_status and made a small optimization to not attempt to connect peers on swarms that don't have any connect candidates 2008-03-29 18:47:24 +00:00
Arvid Norberg
48127a8f6b added enum_if example to the makefile to be part of releases 2008-03-17 02:40:14 +00:00
Arvid Norberg
9d3b60edb7 added support to bind outgoing connections to specific ports (might be useful to do traffic shaping) 2008-02-28 07:34:07 +00:00