Arvid Norberg
|
675721d971
|
basic support for bittorrent connections over SSL
|
2011-09-10 05:52:07 +00:00 |
Arvid Norberg
|
92bcb9ebfd
|
feature to encrypt peer connections with a secret AES-256 key stored in .torrent file
|
2011-09-05 05:50:41 +00:00 |
Arvid Norberg
|
97ca82984f
|
ssl comment
|
2011-08-29 02:05:37 +00:00 |
Arvid Norberg
|
0a250c8f36
|
minor fixes
|
2011-08-29 00:59:42 +00:00 |
Arvid Norberg
|
a286a6b4aa
|
initial attempt at verifying the certificate of ssl trackers, by including the certificate in the .torrent file
|
2011-08-28 21:06:15 +00:00 |
Arvid Norberg
|
51c10cc76f
|
on disk errors, only set upload-only for some errors. For all others, pause the torrent. Also fixed some release asserts
|
2011-08-22 01:37:56 +00:00 |
Arvid Norberg
|
a2e24faa01
|
fix logging build with no encryption
|
2011-08-21 02:04:14 +00:00 |
Arvid Norberg
|
fb06fd928b
|
fixed issue where the next tier in a set of trackers would not be tried for the configuration of announce_to_all_trackers = true and announce_to_all_tiers = false
|
2011-08-17 23:01:35 +00:00 |
Arvid Norberg
|
1d40d7aad9
|
fixing up some asserts and verbose logging
|
2011-08-13 18:46:52 +00:00 |
Arvid Norberg
|
f6554bad08
|
back ported feature to expose which pieces have been verified in seed_mode and exposes it in client_test (initially implemented in the libtorrent_aio branch)
|
2011-08-07 07:19:18 +00:00 |
Arvid Norberg
|
47cf5dd27c
|
another piece deadline fix
|
2011-08-06 10:57:32 +00:00 |
Arvid Norberg
|
6a4708ef15
|
fix potential infinite loop in request_time_critical_pieces
|
2011-08-05 17:35:09 +00:00 |
Arvid Norberg
|
38b91cba40
|
added some comments to time-critical-pieces
|
2011-08-05 07:56:07 +00:00 |
Arvid Norberg
|
109e527568
|
added reset_piece_deadline function
|
2011-08-05 06:31:46 +00:00 |
Arvid Norberg
|
fbd7d49d7e
|
fix silly typo
|
2011-07-26 18:44:39 +00:00 |
Arvid Norberg
|
98157176c2
|
return a full bitmask for pieces when seeding, don't allocate empty allocations for 0-sized bitmasks
|
2011-07-26 01:52:51 +00:00 |
Arvid Norberg
|
f722d2951a
|
fix earlier time-critical-piece patch
|
2011-07-24 16:18:54 +00:00 |
Arvid Norberg
|
1b353ce5af
|
fix beos build
|
2011-07-20 05:14:25 +00:00 |
Arvid Norberg
|
bbb0461bf1
|
fix possible streaming issue when re-checking
|
2011-07-14 16:41:03 +00:00 |
Arvid Norberg
|
8d86c3bacc
|
fixed release-asserts bulid
|
2011-07-05 04:05:12 +00:00 |
Arvid Norberg
|
67ad61fd0a
|
fix invalid assert for resume data being loaded
|
2011-06-09 05:46:47 +00:00 |
Arvid Norberg
|
887423ef1e
|
fix comment
|
2011-06-08 08:45:28 +00:00 |
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
|
ebba1f3c57
|
fix assert when pausing session while checking torrents
|
2011-06-03 08:40:13 +00:00 |
Arvid Norberg
|
0c35fde81c
|
memory usage optimization in policy::peer
|
2011-06-01 06:47:57 +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
|
58d723012a
|
support DHT scrape
|
2011-05-23 00:45:36 +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
|
fa61a1eada
|
fixed typo in logic that connects web seeds
|
2011-05-14 03:03:11 +00:00 |
Arvid Norberg
|
a73960aa5a
|
support release asserts
|
2011-05-08 09:04:59 +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
|
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
|
810ce884fb
|
always post cache_flushed_alert when removing a torrent
|
2011-04-26 16:26:53 +00:00 |
Arvid Norberg
|
86d52bbe13
|
include info-hash in torrent_status and post event when disk cache is fully flushed when deleting a torrent
|
2011-04-19 08:21:09 +00:00 |
Arvid Norberg
|
c0f2d5186f
|
added option to replace trackers or add trackers when loading trackers from resume data
|
2011-04-10 21:33:29 +00:00 |
Arvid Norberg
|
3435da235d
|
make is_upload_only() be accurate and deal with super seeding special case only where necessary. Fix pointless assert in invariant check
|
2011-04-09 23:57:56 +00:00 |
Arvid Norberg
|
087e4a3fdc
|
fixed msvc build
|
2011-04-09 21:04:02 +00:00 |
Arvid Norberg
|
56ab4db2e7
|
fixed bug introduced when trying to fix a warning of shadowing variables
|
2011-04-02 19:54:30 +00:00 |
Arvid Norberg
|
113fa0ba3d
|
fixed some shadowed variable warnings
|
2011-03-30 16:03:35 +00:00 |
Arvid Norberg
|
311f7f0e57
|
fixed typo
|
2011-03-27 08:05:57 +00:00 |
Arvid Norberg
|
afc80b7e98
|
fix invalid assert that would trigger when allow_multiple_connections_per_ip was true
|
2011-03-27 06:07:23 +00:00 |
Arvid Norberg
|
65943e7ff7
|
fixed reconnect delay when leaving upload only mode
|
2011-03-25 05:14:14 +00:00 |
Arvid Norberg
|
e9459b4df8
|
rss fixes
|
2011-03-23 02:46:22 +00:00 |
Arvid Norberg
|
0b25b87593
|
add a bunch more stats logged to session stats
|
2011-03-17 05:31:06 +00:00 |
Arvid Norberg
|
f9f5e3138c
|
fix suggest piece bug
|
2011-03-15 01:58:48 +00:00 |
Arvid Norberg
|
44fe8c160a
|
fix no-exceptions build
|
2011-03-10 05:01:36 +00:00 |
Arvid Norberg
|
9ecfbd17e6
|
prioritize trackers after adding the initial tracker
|
2011-03-07 03:51:52 +00:00 |
Arvid Norberg
|
b215c0c5e6
|
fix for incoming connections with torrents exempted from ip filter
|
2011-03-06 20:38:24 +00:00 |
Arvid Norberg
|
9d0b99480b
|
fix ip filter exemption for trackers. also add a global setting to always exempt trackers
|
2011-03-04 06:55:39 +00:00 |
Arvid Norberg
|
cefc97597d
|
improve error reporting for save resume data for torrents with no metadata
|
2011-03-04 06:17:55 +00:00 |
Arvid Norberg
|
2bdfea4248
|
fix count for non-ip-filtered torrents
|
2011-03-03 03:57:47 +00:00 |
Arvid Norberg
|
0aff6803fb
|
fix to IP filter exemptions
|
2011-03-02 17:37:10 +00:00 |
Arvid Norberg
|
c15880be91
|
support having torrents that the IP filter doesn't apply to
|
2011-02-27 17:26:57 +00:00 |
Arvid Norberg
|
ab3b82b8ee
|
replaced std::rand() with custom random generator
|
2011-02-26 07:55:51 +00:00 |
Arvid Norberg
|
7288f77ec9
|
support saving metadata in resume file, enable it by default for magnet links
|
2011-02-26 07:48:05 +00:00 |
Arvid Norberg
|
56937edf56
|
cleaned up some exception handling and introduced macros like BOOST_TRY/BOOST_CATCH to make the optional exception handling nicer
|
2011-02-25 17:00:36 +00:00 |
Arvid Norberg
|
ca106ca4e0
|
some warning fixes and cleanup
|
2011-02-24 04:25:35 +00:00 |
Arvid Norberg
|
141ada013f
|
fixed a whole bunch of build warnings on gcc and msvc, along with some fixes discovered along the way
|
2011-02-21 05:24:41 +00:00 |
Arvid Norberg
|
28243bff31
|
fix typo
|
2011-02-20 23:23:55 +00:00 |
Arvid Norberg
|
d67e935faf
|
fix torrent constructor to allow a half-constructed torrent_info object for magnet links
|
2011-02-20 23:21:29 +00:00 |
Arvid Norberg
|
261e2e2726
|
deadline-piece picking fix
|
2011-02-19 21:24:32 +00:00 |
Arvid Norberg
|
513914050c
|
fixed broadcast_lsd option. in trunk, redefined it to only broadcast every 8th packet
|
2011-02-16 10:16:52 +00:00 |
Arvid Norberg
|
94027cbea3
|
fix failed invariant check by pausing torrents that are just completing checking and are auto-managed earlier
|
2011-02-11 07:10:47 +00:00 |
Arvid Norberg
|
a42d42fd11
|
CPU optimization for end-game piece picker
|
2011-02-09 02:56:00 +00:00 |
Arvid Norberg
|
06d8142c5b
|
checking torrents don't count in auto manage logic
|
2011-02-04 06:55:05 +00:00 |
Arvid Norberg
|
b842815710
|
added new session functions to more efficiently query torrent status
|
2011-02-01 09:48:28 +00:00 |
Arvid Norberg
|
3e4634097d
|
mapped file resume data fixes
|
2011-01-31 00:47:09 +00:00 |
Arvid Norberg
|
19ae5440f2
|
make auto-manager kick in immediately when torrents are added and paused (reduces a 10 seconds delay)
|
2011-01-30 13:15:29 +00:00 |
Arvid Norberg
|
0c16163e71
|
fix build with no extensions support
|
2011-01-29 12:13:49 +00:00 |
Arvid Norberg
|
87dfdd4790
|
expanded plugin interface to support session state. improved re-request logic in ut_metadata extension. made max metadata size configurable
|
2011-01-29 10:37:21 +00:00 |
Arvid Norberg
|
fccd38d355
|
fixed last-seen-complete bug in torrent::status
|
2011-01-25 08:20:22 +00:00 |
Arvid Norberg
|
9964b9cdb6
|
support a separate option to use proxies for peers or not
|
2011-01-24 03:24:28 +00:00 |
Arvid Norberg
|
2732a6bc47
|
move alert queue size limit into session_settings. make some alerts non-discardable (don't throw them out, even when the queue is full). Make session pause also pause all checking files. optimize rejecting incoming connections when the session is paused
|
2011-01-23 18:00:52 +00:00 |
Arvid Norberg
|
ec6ef250bf
|
fixed build warning
|
2011-01-22 19:47:11 +00:00 |
Arvid Norberg
|
1dc0e71716
|
added torrent_error_alert when a torrent encounters an error
|
2011-01-22 19:06:43 +00:00 |
Arvid Norberg
|
483870cd83
|
add runtime boundary checks for piece and file priority functions
|
2011-01-22 19:01:44 +00:00 |
Arvid Norberg
|
c223291fb4
|
added support for RSS feeds
|
2011-01-18 03:41:54 +00:00 |
Arvid Norberg
|
7b4998213f
|
graceful pause fix
|
2011-01-18 01:19:58 +00:00 |
Arvid Norberg
|
04086ad2f0
|
url download fix
|
2011-01-16 02:56:57 +00:00 |
Arvid Norberg
|
e31aceeda4
|
added error category and error codes for HTTP errors
|
2011-01-16 02:54:59 +00:00 |
Arvid Norberg
|
97695d6c1d
|
url download fix
|
2010-12-30 23:09:16 +00:00 |
Arvid Norberg
|
26053e4b76
|
support adding torrents by url to a .torrent file
|
2010-12-30 01:47:30 +00:00 |
Arvid Norberg
|
dc9af94ee1
|
avoid self-assignment of tcp::endpoint (causes a memcpy with overlapping ranges)
|
2010-12-25 09:13:50 +00:00 |
Arvid Norberg
|
451c583023
|
more robust mechanism to determine external IP
|
2010-12-24 01:31:41 +00:00 |
Arvid Norberg
|
3616c2f720
|
fixed bug in seeding_outgoing_connections
|
2010-12-18 23:21:13 +00:00 |
Arvid Norberg
|
a1aaf4010a
|
don't boost more connections than allowed within the connection_speed. i.e. honor the connection_speed setting
|
2010-12-18 23:18:20 +00:00 |
Arvid Norberg
|
f2416af718
|
added feature to turn off making outgoing connections for seeds
|
2010-12-17 03:20:36 +00:00 |
Arvid Norberg
|
d554cf88e6
|
optimized swarm startup time (shaved off about 1-2 seconds) by introducing torrent connection boost on the first tracker response for a torrent
|
2010-12-17 03:10:56 +00:00 |
Arvid Norberg
|
d301890d78
|
fixed edge case of pad file support
|
2010-12-13 16:47:12 +00:00 |
Arvid Norberg
|
1c99bf1de3
|
more network thread asserts to make sure only the network thread touches network-thread only data. Also delay starting the network thread until after the session constructor is done with its setup
|
2010-12-04 22:20:31 +00:00 |
Arvid Norberg
|
e5f980d80d
|
merged uTP branch into trunk (yay)
|
2010-11-29 01:33:05 +00:00 |
Arvid Norberg
|
df1372e04b
|
disable slight memory optimization because it appears to cause leaks
|
2010-11-28 02:34:24 +00:00 |
Arvid Norberg
|
2e871382d7
|
add debug configuration to debug shutdown-stall bugs / outstanding async operations
|
2010-11-28 01:47:30 +00:00 |
Arvid Norberg
|
27f84d1618
|
fixed minor error handling logging and assert issue in disk io thread
|
2010-11-26 20:38:31 +00:00 |
Arvid Norberg
|
894db973e8
|
optimized memory usage of torrent_info and file_storage
|
2010-11-24 23:49:22 +00:00 |
Arvid Norberg
|
7cd628e78d
|
fix for unchoking optimistically unchoked peers
|
2010-11-23 20:36:27 +00:00 |
Arvid Norberg
|
a05acc4bac
|
support trackerid tracker extension
|
2010-11-18 05:51:52 +00:00 |
Arvid Norberg
|
8c404cc5c1
|
optimized memory usage of torrent_info
|
2010-11-15 05:10:36 +00:00 |
Arvid Norberg
|
b3c0fa9f45
|
fixed some graceful pause mode edge cases
|
2010-11-07 09:39:35 +00:00 |
Arvid Norberg
|
a2a2ac08a2
|
move queue_position and need_save_resume into torrent_status. optimized client_test to make fewer synchronous calls and pull more out of torrent_status
|
2010-11-06 18:04:07 +00:00 |
Arvid Norberg
|
0773644a4e
|
fixed web seed test to work with invariant checks turned on and fixed error reporting when receiving an unexpected responce for http seeds
|
2010-10-30 19:45:50 +00:00 |
Arvid Norberg
|
a76570b563
|
deprecated a bunch of query functions on torrent_handle in favor of using status() to get as much information as possible in fewer calls, and saving time on synchronizing with the main thread
|
2010-10-30 17:23:30 +00:00 |
Arvid Norberg
|
e4de1fc8b1
|
graceful disconnect mode which finishes transactions before disconnecting peers
|
2010-10-30 08:36:18 +00:00 |
Arvid Norberg
|
0dbef9103a
|
some reordering and asserts around web seed name resolution
|
2010-10-30 07:11:04 +00:00 |
Arvid Norberg
|
0d196d3c84
|
document the problem of the disk cache potentially modifying files after saving resume data. In trunk, add a flag to flush the cache in the same call as saving resume data
|
2010-10-29 02:21:43 +00:00 |
Arvid Norberg
|
fc1b44b560
|
improve error reporting of lazy_bdecode to use error_code
|
2010-10-28 04:01:59 +00:00 |
Arvid Norberg
|
d737dd051d
|
added support for chunked encoding for web seeds
|
2010-10-27 06:39:18 +00:00 |
Arvid Norberg
|
4968192654
|
revert bad change to &downloaded= tracker announce semantics
|
2010-10-26 16:39:20 +00:00 |
Arvid Norberg
|
eba657d8ad
|
reports redundant downloads to tracker, fixed downloaded calculation to be more stable when not including redundant. Improved redundant data accounting to be more accurate
|
2010-10-18 00:10:33 +00:00 |
Arvid Norberg
|
643a49f022
|
optimized session/torrent startup time (shaved off about 2 seconds)
|
2010-10-17 18:36:37 +00:00 |
Arvid Norberg
|
3948ca3179
|
fixed bugs in http seed connection and added unit test for it
|
2010-10-17 16:15:32 +00:00 |
Arvid Norberg
|
bd1f0726ce
|
fix const issue
|
2010-10-12 09:01:51 +00:00 |
Arvid Norberg
|
7bd25edc9d
|
generalize SSL support to also include web seeds (and in theory regular peers)
|
2010-10-12 08:57:43 +00:00 |
Arvid Norberg
|
72322dbc10
|
allow extending web seeds with extra headers and custom authorization schemese
|
2010-10-10 18:43:58 +00:00 |
Arvid Norberg
|
21cbd1fac4
|
deprecated setters for max connections, max half-open, upload and download rates and unchoke slots. These are now set through session_settings
|
2010-10-09 19:09:38 +00:00 |
Arvid Norberg
|
440abdfaf2
|
optimistic unchoke fix
|
2010-10-04 04:06:14 +00:00 |
Arvid Norberg
|
f11b1ce6a0
|
fixed failing invariant check in peer_connection's download queue
|
2010-10-03 22:06:53 +00:00 |
Arvid Norberg
|
8e4addf2c5
|
improved set_max_connections to immediately disconnect peers to match the new limit
|
2010-10-03 10:07:38 +00:00 |
Arvid Norberg
|
a7c87e14dd
|
added functions to query an individual peer's upload and download limit
|
2010-10-01 16:09:22 +00:00 |
Arvid Norberg
|
a1567458ca
|
seeding torrents should not send event=paused
|
2010-09-24 15:52:40 +00:00 |
Arvid Norberg
|
fc0916d450
|
fixed logging build
|
2010-09-22 16:59:28 +00:00 |
Arvid Norberg
|
3fb9fcab9e
|
full support for bep-21 (event=paused)
|
2010-09-06 04:02:15 +00:00 |
Arvid Norberg
|
b6f92aa981
|
added initial support for share-mode
|
2010-09-05 16:01:36 +00:00 |
Arvid Norberg
|
a8cc326df6
|
minor redundant connection fixes
|
2010-09-05 04:31:13 +00:00 |
Arvid Norberg
|
a17f4e4e71
|
fixed bug where event=completed would not be sent if it violated the min-interval
|
2010-09-01 03:14:12 +00:00 |
Arvid Norberg
|
fb8ebc53dd
|
save resume data every 15 minutes no matter what
|
2010-08-25 06:38:04 +00:00 |
Arvid Norberg
|
b747cdab8a
|
merged all proxy settings into a single one
|
2010-08-23 06:27:18 +00:00 |
Arvid Norberg
|
2736a3b7ff
|
fixed file checking bug
|
2010-08-23 05:51:12 +00:00 |
Arvid Norberg
|
ad07883228
|
use the same logic to post resume data failed messages as to determine whether to do a full check or not
|
2010-08-19 16:10:31 +00:00 |
Arvid Norberg
|
a85f1f5c61
|
improved logging
|
2010-08-18 17:14:40 +00:00 |
Arvid Norberg
|
fd5f1bf80b
|
improved SOCKS5 support
|
2010-08-03 09:08:37 +00:00 |
Arvid Norberg
|
0c7b5ab3da
|
fix to tracker announce code
|
2010-07-17 23:32:17 +00:00 |
Arvid Norberg
|
0dd925ef14
|
fixed bug in network interface bind code from multi-home support patch
|
2010-07-17 18:32:06 +00:00 |
Arvid Norberg
|
64682072d8
|
save last_download,last_upload and last_scrape states
|
2010-07-17 07:25:28 +00:00 |
Arvid Norberg
|
1e70456f58
|
improved support for multi-homed clients
|
2010-07-17 07:13:14 +00:00 |
Arvid Norberg
|
4c6be42b74
|
added feature to not count downloaded bytes from web seeds in stats
|
2010-07-15 06:27:44 +00:00 |
Arvid Norberg
|
aa25ed00c6
|
fix force-reannounce and tracker retry issue
|
2010-07-15 05:16:06 +00:00 |
Arvid Norberg
|
97afe3fca8
|
added option to set file priorities when adding torrents
|
2010-07-15 01:14:36 +00:00 |
Arvid Norberg
|
4e576f93fd
|
removed the session mutex for improved performance
|
2010-07-14 04:16:38 +00:00 |
Arvid Norberg
|
3310198dae
|
added upload and download activity timer stats for torrents
|
2010-07-08 19:29:38 +00:00 |
Arvid Norberg
|
06190d8920
|
fixed bug in web_peer_connection which could cause a hang when downloading from web servers
|
2010-06-22 18:09:04 +00:00 |
Arvid Norberg
|
19df3dbc2f
|
fixed bug where local peer discovery and DHT wouldn't be announced to without trackers
|
2010-06-17 17:01:28 +00:00 |
Arvid Norberg
|
e4ef0b853e
|
don't reannounce on failure when shutting down
|
2010-05-23 21:27:04 +00:00 |
Arvid Norberg
|
39a166844e
|
fixed issue where trackers wouldn't tried immediately when the previous one failed
|
2010-05-17 02:06:30 +00:00 |
Arvid Norberg
|
ef0abcb359
|
move need_save_resume_data to when a piece is completed instead of when it's written to disk
|
2010-05-16 23:12:37 +00:00 |
Arvid Norberg
|
2e34bef04c
|
spell correction
|
2010-05-06 23:56:54 +00:00 |
Arvid Norberg
|
feaf4aa082
|
another attempt to fix tracker timer bug. Fixes issue where the tracker timer would be triggered repeatedly. Fixes bug where trackers loaded from resume data would get a fail limit of 3 (now they don't have a limit)
|
2010-05-03 08:24:30 +00:00 |
Arvid Norberg
|
cc3c515458
|
more vs10 build fixes
|
2010-05-02 06:29:52 +00:00 |
Arvid Norberg
|
1f44ec75a0
|
fixed bug in add_piece() that would trigger asserts
|
2010-05-01 17:47:28 +00:00 |
Arvid Norberg
|
dce2edb6cc
|
fixed vs 2010 build
|
2010-04-30 19:08:16 +00:00 |
Arvid Norberg
|
2705859bb4
|
fixed bug where trackers wouldn't be retried if they failed
|
2010-04-27 18:22:59 +00:00 |
Arvid Norberg
|
d1addf876a
|
added some asserts
|
2010-04-24 19:24:27 +00:00 |
Arvid Norberg
|
d7c30bc01b
|
fixed potential issue where a piece could be checked twice
|
2010-04-22 01:53:09 +00:00 |
Arvid Norberg
|
50c334660d
|
fixed typo in should_check_files()
|
2010-04-15 14:31:49 +00:00 |
Arvid Norberg
|
9a5f5562cb
|
improve web seed connection handling
|
2010-04-14 06:22:00 +00:00 |
Arvid Norberg
|
eeda665d06
|
report tracker errors in the tracker list
|
2010-04-13 04:37:39 +00:00 |
Arvid Norberg
|
384bfdec48
|
added anonymous mode to disable some particular features that might give away the user's and the client's identity
|
2010-04-13 04:30:34 +00:00 |
Arvid Norberg
|
8e3c5f45e3
|
initialize need save resume data to true to get the initial state (potentially allocated files) saved
|
2010-04-13 02:29:13 +00:00 |
Arvid Norberg
|
b5efe1c92a
|
added feature to ask a torrent if it needs to save its resume data or not
|
2010-04-12 00:36:31 +00:00 |
Arvid Norberg
|
4c4c7f832a
|
fix for torrent announcing bug introduced when supporting fine grained control over sources torrents are announced to
|
2010-03-31 02:40:00 +00:00 |
Arvid Norberg
|
7e851818b1
|
support more fine-grained torrent states between which peer sources it announces too
|
2010-03-29 00:34:04 +00:00 |
Arvid Norberg
|
8724b89499
|
never finalize pad files
|
2010-03-21 18:19:59 +00:00 |
Arvid Norberg
|
126ba1fd34
|
fixed issue with sign extend from 24 bits to 32 bits
|
2010-03-21 18:15:04 +00:00 |
Arvid Norberg
|
6c42e759c3
|
removed incorrect assert
|
2010-03-21 18:09:34 +00:00 |
Arvid Norberg
|
d1df643baf
|
msvc8 build fix
|
2010-03-21 17:41:17 +00:00 |
Arvid Norberg
|
686fc1a1c7
|
windows fixes
|
2010-03-21 02:13:56 +00:00 |
Arvid Norberg
|
786172455b
|
added save resume action to client_test. potential small optimization in resume data save function
|
2010-03-20 22:00:13 +00:00 |
Arvid Norberg
|
9435e84644
|
precaution: clear current_tracker in torrent::status()
|
2010-03-20 00:52:36 +00:00 |
Arvid Norberg
|
5224e0c340
|
complete_ago extension
|
2010-03-19 18:39:51 +00:00 |
Arvid Norberg
|
0db27ab9b6
|
fixed typo
|
2010-03-09 21:57:20 +00:00 |
Arvid Norberg
|
a3bff512e1
|
added 'added' and 'completed' time to torrent_status
|
2010-03-09 03:21:35 +00:00 |
Arvid Norberg
|
723c59b6e8
|
fixed incorrect merge
|
2010-03-08 02:06:30 +00:00 |
Arvid Norberg
|
d18b1612e4
|
more asserts to try to catch crash in disconnect_peers
|
2010-03-08 01:54:56 +00:00 |
Arvid Norberg
|
d4854024db
|
added flags to torrent::status() that can filter which values are calculated
|
2010-03-04 19:15:23 +00:00 |
Arvid Norberg
|
fb06acc828
|
add default peer rate limit setting
|
2010-03-03 01:31:31 +00:00 |
Arvid Norberg
|
e8523a3ad4
|
fixed issue with 0-sized torrents and verify_piece assert
|
2010-03-02 07:08:29 +00:00 |
Arvid Norberg
|
aa5fc72fbf
|
made tracker errors use error_code
|
2010-02-23 21:53:45 +00:00 |
Arvid Norberg
|
eff49e42a7
|
added support for torrents with odd piece sizes
|
2010-02-23 16:26:24 +00:00 |
Arvid Norberg
|
210c663596
|
fixed error handling with torrents with invalid piece sizes
|
2010-02-22 01:51:25 +00:00 |
Arvid Norberg
|
59deff7a44
|
fixed issue with disk read cache not being cleared when removing torrents
|
2010-02-21 08:52:26 +00:00 |
Arvid Norberg
|
04d31cea6e
|
support option to report redundant bytes or not to tracker as well as 'corrupt' argument
|
2010-02-18 06:45:07 +00:00 |
Arvid Norberg
|
9197081618
|
announce edge case fixes
|
2010-02-18 03:53:16 +00:00 |
Arvid Norberg
|
69e0249317
|
don't lookup country for local IPs
|
2010-02-15 07:52:32 +00:00 |
Arvid Norberg
|
08c8bfae29
|
more wide character and mingw fixes
|
2010-02-15 05:49:10 +00:00 |
Arvid Norberg
|
c050b22d8f
|
optimized memory usage for torrent objects
|
2010-02-14 01:39:55 +00:00 |
Arvid Norberg
|
b12b3ff105
|
simplified web seed logic
|
2010-02-12 06:10:20 +00:00 |
Arvid Norberg
|
0816ff69c6
|
fixed streaming bug
|
2010-02-09 07:52:17 +00:00 |
Arvid Norberg
|
d019833043
|
fixed finished_time bug
|
2010-02-09 04:42:32 +00:00 |
Arvid Norberg
|
7e343a9d6f
|
add size logging to various classes
|
2010-02-08 04:51:34 +00:00 |
Arvid Norberg
|
bb9426b97c
|
post read_piece messages as a result of set_piece_deadline if a piece is found during checking
|
2010-02-06 07:31:43 +00:00 |
Arvid Norberg
|
088f4bf700
|
improved LSD performance and made the interval configurable
|
2010-02-05 08:23:17 +00:00 |
Arvid Norberg
|
fc310ffde1
|
fixed add_piece()
|
2010-02-01 00:44:31 +00:00 |
Arvid Norberg
|
82b49b541e
|
fixed crash when adding pieces to seeds
|
2010-01-27 06:06:57 +00:00 |
Arvid Norberg
|
942c4e0a7c
|
fixed torrent_deleted_alert to not dead-lock
|
2010-01-23 22:42:48 +00:00 |
Arvid Norberg
|
45cd9fe407
|
ignore paused and automanaged from metadata for magnet links
|
2010-01-18 23:44:05 +00:00 |
Arvid Norberg
|
d959331c1e
|
renamed some torrent check queue related functions to be more descriptive
|
2010-01-17 21:42:14 +00:00 |
Arvid Norberg
|
c9b594fde1
|
support sending suggest messages based on what's in the read cache. support 'explicit read cache'
|
2010-01-15 16:45:42 +00:00 |
Arvid Norberg
|
18454d6344
|
replace trackers from resume data instead of adding them.
|
2010-01-10 03:02:46 +00:00 |
Arvid Norberg
|
85951208e4
|
added support for explicitly flushing the disk cache
|
2010-01-09 21:17:52 +00:00 |
Arvid Norberg
|
d498c129ab
|
clear sparse flag on files that complete on windows
|
2010-01-09 18:40:05 +00:00 |
Arvid Norberg
|
cbf2526a8c
|
added stats_alert reporting raw transfer stats per torrent every second
|
2010-01-02 14:16:35 +00:00 |
Arvid Norberg
|
0350e86867
|
fixed web seed unit test
|
2009-12-29 17:49:24 +00:00 |
Arvid Norberg
|
d157af5305
|
build fixes
|
2009-12-28 20:59:34 +00:00 |
Arvid Norberg
|
cdf459dad5
|
only keep one outstanding duplicate request per peer
|
2009-12-25 16:52:57 +00:00 |
Arvid Norberg
|
0fc90b5655
|
fixed support for min-interval on tracker failures
|
2009-12-21 09:47:32 +00:00 |
Arvid Norberg
|
cebcbc3eeb
|
fixed force reannounce bug with min_interval support
|
2009-12-13 16:36:45 +00:00 |
Arvid Norberg
|
6aa9d5fa52
|
more logging
|
2009-12-07 05:03:23 +00:00 |
Arvid Norberg
|
a6ed83e7fe
|
add load_state/save_state to python bindings and made them build
|
2009-12-05 07:24:22 +00:00 |
Arvid Norberg
|
ff2063651b
|
build fixes
|
2009-12-03 17:44:11 +00:00 |
Arvid Norberg
|
1e654220fa
|
added support for min_interval
|
2009-12-02 04:05:24 +00:00 |
Arvid Norberg
|
ea1043a293
|
fix crash in force_recheck for torrents with no metadata
|
2009-11-29 17:57:42 +00:00 |
Arvid Norberg
|
1f5859d31f
|
error_code fix. added is_error_code_enum template specialization and using the abbreviated syntax to build error_codes
|
2009-11-29 07:06:38 +00:00 |
Arvid Norberg
|
39d14146e7
|
dynamic_cast fix
|
2009-11-27 21:04:26 +00:00 |
Arvid Norberg
|
8dd244581d
|
header optimizations
|
2009-11-26 05:45:43 +00:00 |
Arvid Norberg
|
18e5d67967
|
protect file_priority functions from being called on torrents without metadata
|
2009-11-26 00:09:49 +00:00 |
Arvid Norberg
|
2280454a99
|
support upload-only extension message
|
2009-11-24 18:49:59 +00:00 |
Arvid Norberg
|
6343fe6a6d
|
optimized header dependencies to lower build time
|
2009-11-23 08:38:50 +00:00 |
Arvid Norberg
|
603e719117
|
save and restore the super-seed state of torrents
|
2009-11-18 17:40:38 +00:00 |
Arvid Norberg
|
d9671d05b5
|
fixed uninitialized member in torrent
|
2009-11-18 08:39:15 +00:00 |
Arvid Norberg
|
e43340c961
|
made it possible to build without RTTI
|
2009-11-02 20:43:38 +00:00 |
Arvid Norberg
|
70df388e6c
|
removed one iostream dependency
|
2009-10-28 19:55:20 +00:00 |
Arvid Norberg
|
c418165e07
|
replaced boost.filesystem with custom functions (improves efficiency and drops unnecessary dependencies and improves libtorrent portability)
|
2009-10-26 01:29:39 +00:00 |
Arvid Norberg
|
6c137d6ef6
|
announces torrents immediately to the DHT when it's started
|
2009-10-25 02:37:45 +00:00 |
Arvid Norberg
|
8a5b7d5d36
|
got rid of the last recursive mutexes. abstracted the threading primitives (and switched over to use asio's internal ones).
|
2009-10-20 02:49:56 +00:00 |
Arvid Norberg
|
ea1761838a
|
added torrent_status::finished_time
|
2009-09-30 17:21:59 +00:00 |
Arvid Norberg
|
9b15c11740
|
don't send stats to trackers received through tracker exchange
|
2009-09-25 18:17:59 +00:00 |
Arvid Norberg
|
7e430d5a2a
|
resume data alerts are always posted, regardless of alert mask
|
2009-09-23 18:44:21 +00:00 |
Arvid Norberg
|
35bca49c61
|
add torrent priority to adjust bandwidth allocation of torrent's peers
|
2009-09-13 02:24:25 +00:00 |
Arvid Norberg
|
8e068cb801
|
fixed interger overflow bug
|
2009-09-09 17:59:01 +00:00 |
Arvid Norberg
|
d168a709a2
|
promote an assert to expensive invariant checks only
|
2009-09-09 16:34:50 +00:00 |
Arvid Norberg
|
d69d615be4
|
fixed bug where web seeds would not disconnect if being resolved when the torrent was paused
|
2009-09-07 06:17:22 +00:00 |
Arvid Norberg
|
3e9725b5d7
|
made peer_blocked_alert derive from torrent_alert
|
2009-09-07 01:47:30 +00:00 |
Arvid Norberg
|
6d01cb475c
|
msvc build fixes
|
2009-09-06 00:57:01 +00:00 |
Georg Rudoy
|
ce16f9848c
|
Fix build with MSVS (use const_iterator where non-const one is not needed).
|
2009-09-01 13:36:30 +00:00 |
Arvid Norberg
|
1f5a722b01
|
improved sun studio support (it seems to lack a lot of stl)
|
2009-08-30 07:38:52 +00:00 |
Arvid Norberg
|
1e45b85c34
|
fixed incorrect assert in torrent::we_have
|
2009-08-26 02:42:42 +00:00 |
Arvid Norberg
|
45fd696bc6
|
added I2P support
|
2009-08-20 03:19:12 +00:00 |
Arvid Norberg
|
13967086aa
|
added and removed some comments
|
2009-08-08 15:23:12 +00:00 |
Arvid Norberg
|
78a6df0b2a
|
connect candidate fix
|
2009-08-01 22:48:43 +00:00 |
Arvid Norberg
|
137d2d63f5
|
cleaned up policy. Moved logic from policy to torrent
|
2009-07-23 04:38:52 +00:00 |
Arvid Norberg
|
ae3be201c4
|
reduced the number of floating point operations to better support systems with no FPU
|
2009-07-19 04:59:27 +00:00 |
Arvid Norberg
|
e2b8434361
|
simplified should_announce_dht slightly
|
2009-07-18 16:50:56 +00:00 |
Arvid Norberg
|
944b1a7d57
|
fixed inversed seed_time ratio logic
|
2009-07-18 07:16:20 +00:00 |
Arvid Norberg
|
93e204223d
|
removed debug printouts
|
2009-07-04 05:06:50 +00:00 |
Arvid Norberg
|
51992dda6a
|
added new alert when individual files complete
|
2009-07-04 04:58:24 +00:00 |
Arvid Norberg
|
8ee50045ca
|
added support for uTorrent interpretation of multi-tracker torrents (off by default)
|
2009-06-28 20:21:55 +00:00 |
Arvid Norberg
|
e9bd8f6e1f
|
turned fast-resume errors into error_codes. fixed typo in documentation
|
2009-06-28 00:36:41 +00:00 |
Arvid Norberg
|
44ace0b86b
|
fixed resume data compatibility with 0.13
|
2009-06-27 21:47:30 +00:00 |
Arvid Norberg
|
cc3e6621ed
|
fixed rename_file() bug where the new name would not be saved in the resume data in some cases
|
2009-06-22 00:52:57 +00:00 |
Arvid Norberg
|
306b75e6b1
|
boost 1.35 fixes
|
2009-06-19 16:42:33 +00:00 |
Arvid Norberg
|
f09774607f
|
added upload mode
|
2009-06-18 22:32:55 +00:00 |
Arvid Norberg
|
6b048dc85e
|
fixed bug in connect candidate counter
|
2009-06-18 16:16:41 +00:00 |
Arvid Norberg
|
2c34e0aa18
|
only write operations should trigger piece_picker::write_failed
|
2009-06-13 17:40:18 +00:00 |
Arvid Norberg
|
07bcb3545a
|
converted a whole lot of error strings into error_codes. Documented some previously undocumented alerts as well as all the error codes
|
2009-06-12 16:40:38 +00:00 |
Arvid Norberg
|
5e87420b6f
|
set all piece priorities to 0 when a write fails
|
2009-06-10 09:20:55 +00:00 |
Arvid Norberg
|
6b908e5f3f
|
fixed compile warnings
|
2009-06-10 08:42:05 +00:00 |
Arvid Norberg
|
f0134c1b11
|
improved disk error handling and expanded use of error_code in error reporting
|
2009-06-10 08:30:55 +00:00 |
Arvid Norberg
|
4554e06837
|
fixed bug when setting unlimited upload or download rates for torrents
|
2009-06-09 19:33:18 +00:00 |
Arvid Norberg
|
e438a3ccfc
|
more boost-1.34.1 fixes
|
2009-06-03 07:46:50 +00:00 |
Arvid Norberg
|
bd33814376
|
improve disk error handling
|
2009-05-31 22:41:53 +00:00 |
Arvid Norberg
|
c695729bbe
|
fixed bug when force-checking a torrent with partial pieces
|
2009-05-25 20:31:20 +00:00 |
Arvid Norberg
|
efb6ec5824
|
fixed expensive-invariant-checks build
|
2009-05-25 17:23:03 +00:00 |
Arvid Norberg
|
aa02e36327
|
retry web seeds when name lookup fails instead of discarding them
|
2009-05-25 07:04:14 +00:00 |
Arvid Norberg
|
30c704523c
|
caches the time every 100 ms and use the cache where high resolution timer is not needed
|
2009-05-25 02:45:51 +00:00 |
Arvid Norberg
|
e3c07c0934
|
converted some recursive mutexes to regular ones
|
2009-05-23 21:36:09 +00:00 |
Arvid Norberg
|
5fbff8e060
|
fixed a bug when checking a torrent twice
|
2009-05-23 15:58:32 +00:00 |
Arvid Norberg
|
11e97842da
|
changed the optimistic disconnect implementation to be slightly more efficient
|
2009-05-22 06:27:47 +00:00 |
Arvid Norberg
|
a51dfa50f5
|
renamed peer_from_tracker to add_peer
|
2009-05-15 22:07:19 +00:00 |
Arvid Norberg
|
437cb94fd0
|
improved IPv6 support by announcing twice when necessary
|
2009-05-15 21:23:41 +00:00 |
Arvid Norberg
|
b7c5d2f12d
|
add a separate setting for max peer list size for paused torrents
|
2009-05-13 01:34:10 +00:00 |
Arvid Norberg
|
92f42eb23c
|
fixed move_stororage to handle the case where it fails
|
2009-05-11 21:18:09 +00:00 |
Arvid Norberg
|
d0d2328288
|
fixed indentation
|
2009-05-07 06:47:19 +00:00 |
Arvid Norberg
|
838df44184
|
documented file_rename_failed_alert and file_renamed_alert. they were previously not documented. Fixed bug where the storage would be left in an error state (and eventually pause the torrent) when a rename_file() failed. The error is now only reported back through the alert
|
2009-05-07 06:41:41 +00:00 |
Arvid Norberg
|
c8176cca55
|
optimized peer storage in resume data an in memory. Should use far less memory than previously for the peer list. Introduced peer source affinity, to avoid problem with a peer list that's diluted with stale peers
|
2009-05-06 22:36:24 +00:00 |
Arvid Norberg
|
ff3db926fb
|
allocates 10 disk buffers at a time instead of 32. Fixed bug where connection candidates would be too high
|
2009-05-06 07:06:26 +00:00 |
Arvid Norberg
|
641abc6c4a
|
slight memory optimization and some header cleanup
|
2009-05-03 20:21:24 +00:00 |
Arvid Norberg
|
d73c97e444
|
made get_download_queue() use considerably less memory and scale with larger piece_sizes
|
2009-05-03 09:45:07 +00:00 |
Arvid Norberg
|
84dda7b617
|
support for adjusting the socket buffer sizes through session_settings
|
2009-05-01 04:59:15 +00:00 |
Arvid Norberg
|
3cf34e3a91
|
greatly optimised memory usage for peer list
|
2009-04-30 05:49:46 +00:00 |
Arvid Norberg
|
5fc239bd23
|
ignore empty strings when passed as a tracker url to the torrent constructor
|
2009-04-26 19:16:55 +00:00 |
Arvid Norberg
|
3ecbcc8fe7
|
filters trackers with empty url fields
|
2009-04-26 08:05:42 +00:00 |
Arvid Norberg
|
86a3bf3e07
|
fixed assert when adding a torrent with resume data and immediately setting all piece priorities to 0
|
2009-04-26 07:31:26 +00:00 |
Arvid Norberg
|
7109b86566
|
greatly simplified the rate limiter and generalized all rate limits (peer, torrent, global) to allow for arbitrary rate limit configurations
|
2009-04-26 00:21:59 +00:00 |
Arvid Norberg
|
9ea68dbb9c
|
fixed bug where an asio exception could be thrown when resolving peer countries
|
2009-04-24 17:29:57 +00:00 |
Andrew Resch
|
4137f47386
|
Do not set an error when pausing a checking torrent
|
2009-04-19 19:49:33 +00:00 |
Arvid Norberg
|
6a11d6ee4e
|
IPv6 tracker fix
|
2009-04-12 00:37:06 +00:00 |
Arvid Norberg
|
a051228069
|
fixed bug in storage when forcing recheck while renaming a file or moving it
|
2009-04-10 07:22:27 +00:00 |
Arvid Norberg
|
2bb1772299
|
time_duration fix (works with boost.date-time again)
|
2009-04-06 17:12:14 +00:00 |
Arvid Norberg
|
aba5b2e9d0
|
dropped some iostream dependencies
|
2009-04-04 09:52:25 +00:00 |
Arvid Norberg
|
d4e08cd37f
|
generate partial resume data for torrents that haven't been checked
|
2009-03-27 18:40:05 +00:00 |
Arvid Norberg
|
643be6c44b
|
fixed issue where renamed files would sometimes not be saved in the resume data
|
2009-03-22 22:21:48 +00:00 |
Arvid Norberg
|
1ed7e222f8
|
added documentation to explain how paused and auto_managed are overridden by resume_data. Added a mechanism to trunk to ignore the resume data for those two settings. Updated documentation in trunk to include more fields in the resume data. Fixed broken links in the trunk docs
|
2009-03-21 04:33:53 +00:00 |
Arvid Norberg
|
31054ef069
|
first implementation of set_piece_deadline
|
2009-03-17 09:34:44 +00:00 |
Arvid Norberg
|
84a513bffb
|
initial support for merkle hash tree torrents
|
2009-03-13 06:09:39 +00:00 |
Arvid Norberg
|
b25a8db2a6
|
added more error codes. consolidated exception classes into one. moved over more places to use error_code instead of strings. fixed proper error handling for torrent_info
|
2009-02-23 01:21:19 +00:00 |
Arvid Norberg
|
658b7309d3
|
fixed issue where web peers would be connected before files were checked
|
2009-02-22 20:19:58 +00:00 |