Commit Graph

2322 Commits

Author SHA1 Message Date
Arvid Norberg
9bf25d1006 changed the definition of file_progress and deprecated the old function. Python bindings only exposes the new one 2008-07-12 13:38:22 +00:00
Arvid Norberg
e49c015c92 fixed torrent alert assert 2008-07-12 11:04:23 +00:00
Arvid Norberg
c5af2c2eaf moved tracker announces into a timer instead of polling every second. Added state to properly send complete, started and stopped events 2008-07-12 08:25:19 +00:00
Arvid Norberg
9122ed8cea support for logging to file in client_test 2008-07-12 08:19:17 +00:00
Arvid Norberg
2435c5f19b increased accuracy of file_progress down to bytes (from 16kB blocks) 2008-07-11 14:10:33 +00:00
Arvid Norberg
486fb1082d reports event in tracker_announce_alert 2008-07-11 12:00:29 +00:00
Arvid Norberg
792726be8d print cache age in client_test 2008-07-11 10:35:59 +00:00
Arvid Norberg
9c9c13c7bb exposed read cache info as well as write cache 2008-07-11 10:29:26 +00:00
Arvid Norberg
535aaf8182 fix to previous parole fix 2008-07-11 09:25:03 +00:00
Arvid Norberg
589e098002 fixed parole mode with timeouts and made it optional 2008-07-11 09:23:22 +00:00
Arvid Norberg
de8f676b98 increase timeouts 2008-07-11 09:02:05 +00:00
Arvid Norberg
5e48b63ede removed hard coded file permission bits 2008-07-11 08:53:33 +00:00
Arvid Norberg
1b6cc3b870 wait a bit longer for fastresume data 2008-07-11 07:33:34 +00:00
Arvid Norberg
96ca475652 added redundant and failed byte counters to session 2008-07-11 07:30:04 +00:00
Arvid Norberg
680dab5a67 make 'snubbed' more sticky by only giving one request_timeout back when a new block is being received 2008-07-10 19:31:22 +00:00
Arvid Norberg
1bdb6afebd fixes to previous connection timeout check-in 2008-07-10 10:58:30 +00:00
Arvid Norberg
d2c53b50d5 timeout incoming connections 2008-07-10 10:35:11 +00:00
Arvid Norberg
d51bdc0ec0 rare request optimization 2008-07-09 18:01:00 +00:00
Arvid Norberg
22da6b5901 fixed bug where FAST pieces were cancelled when choking 2008-07-09 17:45:37 +00:00
Arvid Norberg
74fd7eea71 fixed alert posting typo 2008-07-09 17:40:03 +00:00
Arvid Norberg
fc3bb01587 ignore zero size piece messages 2008-07-09 17:37:38 +00:00
Arvid Norberg
06f3ad65e8 fix to file_progress improvement 2008-07-09 15:23:42 +00:00
Andrew Resch
066fb98864 Update alerts in python bindings 2008-07-09 12:34:26 +00:00
Arvid Norberg
2d099b090f peer snubbing fix 2008-07-09 11:11:06 +00:00
Arvid Norberg
d06f125513 improved accuracy of the file progress report to include completed blocks from incomplete pieces (but not partial blocks) 2008-07-09 10:45:07 +00:00
Arvid Norberg
9d97fc4bb9 print out percentage complete of files in client_test 2008-07-09 10:02:24 +00:00
Arvid Norberg
63d4e0d4a3 invariant check fix 2008-07-08 21:33:36 +00:00
Arvid Norberg
55a944c014 added a unwanted_block_alert 2008-07-08 18:41:04 +00:00
Arvid Norberg
5c749bcb3c added base class for peer_alerts and turned more alerts into peer_alerts with more information about the peer that generated it 2008-07-08 09:30:10 +00:00
Arvid Norberg
8d4bea9f95 fixed invariant check that could be triggered since peer snubbing was introduced 2008-07-08 08:13:45 +00:00
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
a7ed5578b6 made the tests build again 2008-07-08 00:00:49 +00:00
Arvid Norberg
f7042ca84a improved piece timeout and peer snubbing logic 2008-07-07 12:04:06 +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
dab1b22982 made get_asio.sh script check out asio directly into the libtorrent directory. Certain tools cannot handle the symbolic links properly, such as vmware folder sharing 2008-07-05 17:41:54 +00:00
Andrew Resch
b93d3cf7c1 Add state_changed_alert to python bindings 2008-07-03 23:47:48 +00:00
Arvid Norberg
ecb538b4b2 added alert for torrent state changes. Fixes #360 2008-07-03 10:05:51 +00:00
Arvid Norberg
d2b37572fa disable endpoint sorting in http_connection for msvc, since it ICEs the compiler. Fixes #361 2008-07-03 10:05:19 +00:00
cg25
f09b9c6252 Added --enable-tests option to configure script. 2008-07-02 23:23:55 +00:00
Arvid Norberg
66a7f98d84 fixed missing torrent error state 2008-07-02 21:27:16 +00:00
Arvid Norberg
722e9e95e3 frees resume data when done with it 2008-07-02 21:23:02 +00:00
Arvid Norberg
ac6dfa9ea3 factored out constants to enums in lazy_bdecode 2008-07-02 21:19:50 +00:00
cg25
63a1521cfa Fixed build problem with options --with-asio=system. 2008-07-02 14:46:04 +00:00
Arvid Norberg
0ec6753028 fix build 2008-07-01 22:44:17 +00:00
Andrew Resch
d6743037b3 Add session pause and resume to python bindings 2008-07-01 21:11:30 +00:00
Andrew Resch
94cbac20cd Do not count downloads as seeds in the queue system. 2008-07-01 21:07:18 +00:00
Arvid Norberg
b354e7e0d9 fixed bug in extension loop 2008-07-01 20:22:25 +00:00
Arvid Norberg
af0ebb519c added copyright notices in files missing them 2008-07-01 18:59:13 +00:00
Arvid Norberg
d2a12a5e44 fixed python binding bugs and updated to work with latest api updates 2008-07-01 16:02:17 +00:00