Arvid Norberg
|
c384d00dbf
|
make bdecoder more robust when encountering errors (leave the resulting tree consistent)
|
2012-02-10 04:19:11 +00:00 |
Arvid Norberg
|
679abf2e57
|
this time, actually remove the encrypted torrent (AES-256 encrypted peer connections)
|
2012-02-09 06:47:22 +00:00 |
Arvid Norberg
|
f7b5c10b2b
|
add asserts to try to catch crash in peer_connection::received_valid_data
|
2012-02-09 06:24:58 +00:00 |
Arvid Norberg
|
8b459a27bd
|
remove 'encrypted peer connections' feature (ssl is a better idea)
|
2012-02-09 06:23:58 +00:00 |
Arvid Norberg
|
94a1cae4a3
|
don't disconnect peers that don't have metadata
|
2012-02-07 09:18:07 +00:00 |
Arvid Norberg
|
a6b5f761e8
|
rename is_local to is_outgoing and m_active to m_outgoing
|
2012-02-07 03:46:21 +00:00 |
Arvid Norberg
|
5df78592db
|
fix some config defines
|
2012-02-01 06:24:30 +00:00 |
Arvid Norberg
|
639039a94e
|
attempt to fix TOS setting (IP type of service)
|
2012-01-29 20:59:20 +00:00 |
Arvid Norberg
|
89ee8463c6
|
properly authenticate web seeds and trackers over SSL
|
2012-01-29 02:27:55 +00:00 |
Arvid Norberg
|
f13a91d8a8
|
support backtraces on windows
|
2012-01-26 10:33:39 +00:00 |
Arvid Norberg
|
818620a5a8
|
fixed release build
|
2012-01-23 05:14:12 +00:00 |
Arvid Norberg
|
1a32205944
|
graceful shutdown of uTP sockets
|
2012-01-23 05:02:12 +00:00 |
Arvid Norberg
|
4706807300
|
fix issue with outgoing connections not being tied to a torrent
|
2012-01-21 21:29:22 +00:00 |
Arvid Norberg
|
7f90a241b6
|
don't let hung outgoing connection attempts block incoming connections
|
2012-01-21 09:05:34 +00:00 |
Arvid Norberg
|
5c8d476022
|
fix http_connection timeout (improves shutdown delay)
|
2012-01-21 08:18:41 +00:00 |
Arvid Norberg
|
ef1d8b5921
|
fix build
|
2012-01-20 06:07:19 +00:00 |
Arvid Norberg
|
ed56520d24
|
more asserts around state updates
|
2012-01-20 05:40:32 +00:00 |
Arvid Norberg
|
ef61b32d9e
|
fix unit test build on windows
|
2012-01-19 08:01:38 +00:00 |
Arvid Norberg
|
0159b66756
|
fix iconv signature on mingw
|
2012-01-19 07:54:23 +00:00 |
Arvid Norberg
|
9df6e5ee7e
|
provide defines for PRIu32 when missing
|
2012-01-19 06:56:36 +00:00 |
Arvid Norberg
|
9c24b7e23f
|
provide definitions for PRIu64 if missing
|
2012-01-19 06:28:29 +00:00 |
Arvid Norberg
|
ae90a8f85e
|
verify that torrent names matches the DNS name in its certificate (RFC 2818-style). Fix issues that was breaking SSL support and tidy up a bit
|
2012-01-15 23:34:43 +00:00 |
Arvid Norberg
|
4a40e68a82
|
landed ssl branch back into trunk
|
2012-01-14 16:04:25 +00:00 |
Arvid Norberg
|
cbe02221cd
|
replace calls to isspace() with is_space() to avoid asserts in the CRT
|
2012-01-13 12:06:50 +00:00 |
Arvid Norberg
|
61e8d3dd49
|
improved peer exchange performance by sharing incoming connections which advertize listen port
|
2012-01-04 20:49:54 +00:00 |
Arvid Norberg
|
315ff0bb83
|
exporting min_memory_usage() and high_performance_seed() functions from DLL
|
2012-01-04 12:36:58 +00:00 |
Arvid Norberg
|
152cee19f1
|
add compile-time feature to enable logging of all peer requests
|
2011-12-29 12:15:29 +00:00 |
Arvid Norberg
|
f60ea6a4a9
|
support queue positions greater than 32768
|
2011-12-23 19:30:23 +00:00 |
Arvid Norberg
|
d7103ab5b0
|
updated client_test to use post_torrent_updates()
|
2011-12-23 05:36:13 +00:00 |
Arvid Norberg
|
ef724014aa
|
deprecated per-peer rate limits (and removed them from libtorrent_aio)
|
2011-12-18 12:52:09 +00:00 |
Arvid Norberg
|
78f16cedd9
|
deprecate torrent::set_ratio
|
2011-12-18 07:18:42 +00:00 |
Arvid Norberg
|
8e8f798905
|
get rid of read-recurse hack
|
2011-11-30 20:07:18 +00:00 |
Arvid Norberg
|
c4dded04ca
|
fixed small memory leak in DHT
|
2011-11-28 11:11:29 +00:00 |
Arvid Norberg
|
614b279acb
|
fix assert
|
2011-11-27 05:46:52 +00:00 |
Arvid Norberg
|
f979f7a77b
|
make receive_buffer() not return a range exceeding the actual buffer
|
2011-11-27 01:08:28 +00:00 |
Arvid Norberg
|
c3695d9fbb
|
add have_piece function to torrent_handle
|
2011-11-27 00:01:13 +00:00 |
Arvid Norberg
|
c279870516
|
add web seed support for torrents with pad files
|
2011-11-26 20:48:31 +00:00 |
Arvid Norberg
|
faf11fc27d
|
web seed fix
|
2011-11-25 10:56:33 +00:00 |
Arvid Norberg
|
cab1f3d207
|
fix issue when peer list is full, previously we would sometimes reject new connections
|
2011-11-24 17:50:57 +00:00 |
Arvid Norberg
|
5d8ce01c7a
|
silence valgrind warning about uninitialized memory
|
2011-11-20 20:49:18 +00:00 |
Arvid Norberg
|
c40d072ab1
|
increase default cache expiry to 5 minutes
|
2011-11-16 09:49:00 +00:00 |
Arvid Norberg
|
85ef2528c6
|
serve cache hits without a round-trip to the disk thread for improved seeding performance
|
2011-11-16 07:09:12 +00:00 |
Arvid Norberg
|
fdc5e7e8b2
|
keep track of where redundant downloads come from. make the timing out of block requests more reasonable in an attempt to actually complete pieces from other peers when stuck on a slow one
|
2011-11-16 02:29:59 +00:00 |
Arvid Norberg
|
0320546fee
|
fix build
|
2011-11-15 06:47:02 +00:00 |
Arvid Norberg
|
c4232065d8
|
introduced a more scalable API for torrent status updates (post_torrent_updates())
|
2011-11-15 02:34:00 +00:00 |
Arvid Norberg
|
51c32fefbc
|
workaround an old asio bug on 64 bit machines
|
2011-11-13 09:25:50 +00:00 |
Arvid Norberg
|
96adfc2ad5
|
windows build fixes
|
2011-11-13 05:51:03 +00:00 |
Arvid Norberg
|
95769f3901
|
fix windows build
|
2011-11-13 05:04:05 +00:00 |
Arvid Norberg
|
344e6c8a3b
|
align error codes
|
2011-11-13 03:35:03 +00:00 |
Arvid Norberg
|
2330520c51
|
change the add_torrent_params API to use flags instead of a bunch of bools (but leave it backwards compatible)
|
2011-11-08 05:36:22 +00:00 |
Arvid Norberg
|
261648d60a
|
fix test_buffer build when linking dynamically
|
2011-11-02 09:31:32 +00:00 |
Arvid Norberg
|
4559980c92
|
fix issue in big_number shift left operator
|
2011-11-01 17:06:31 +00:00 |
Arvid Norberg
|
e58e27e83a
|
change peer_states to be a bitmask (bw_limit, bw_network, bw_disk)
|
2011-10-25 17:34:42 +00:00 |
Arvid Norberg
|
0a2b352795
|
possible dangling pointer fix in broadcast_socket
|
2011-10-25 05:55:32 +00:00 |
Arvid Norberg
|
9afd09d797
|
optimize sending buffers on peer sockets by corking and uncorking
|
2011-10-24 04:22:53 +00:00 |
Arvid Norberg
|
15f20c887d
|
fix msvc build
|
2011-10-22 17:44:40 +00:00 |
Arvid Norberg
|
b430152174
|
post disk job completions in batches to save CPU in the network thread
|
2011-10-19 05:46:49 +00:00 |
Arvid Norberg
|
d3fb55e1da
|
optimize socket send buffers a bit
|
2011-10-19 02:40:37 +00:00 |
Arvid Norberg
|
7d20c0b0c4
|
log CPU usage of network thread
|
2011-10-17 17:12:08 +00:00 |
Arvid Norberg
|
8b6522a763
|
log buffer sizes passed to read() and write() at the socket layer (to identify performane problems)
|
2011-10-17 06:54:02 +00:00 |
Arvid Norberg
|
aab4cb6937
|
log number of asio messages passed through the queue per second (to track down performance issue)
|
2011-10-17 05:17:21 +00:00 |
Arvid Norberg
|
01405f32ee
|
added async_add_torrent for increased performance when adding many torrents (no documentation yet though)
|
2011-10-12 10:27:17 +00:00 |
Arvid Norberg
|
2741563711
|
set alert_mask early
|
2011-10-08 09:52:36 +00:00 |
Arvid Norberg
|
15b6888eb3
|
export default_storage to make it available to derive from
|
2011-10-07 00:26:19 +00:00 |
Arvid Norberg
|
d54c85d31b
|
log uTP receive delay in stats log
|
2011-09-28 00:03:12 +00:00 |
Arvid Norberg
|
f6b6b57c0e
|
fix avoid-readback cache algorithm
|
2011-09-27 04:05:05 +00:00 |
Arvid Norberg
|
4cde952a68
|
fix default settings for cache expiry and disk queue size
|
2011-09-26 05:32:22 +00:00 |
Arvid Norberg
|
451c31828f
|
changed semantics of send_buffer_watermark_factor to be specified as a percentage
|
2011-09-23 21:12:28 +00:00 |
Arvid Norberg
|
85db40e2c5
|
log outstanding reading bytes from peers in stats log
|
2011-09-23 20:57:42 +00:00 |
Arvid Norberg
|
976a50384a
|
some more struct layout optimization
|
2011-09-22 10:37:47 +00:00 |
Arvid Norberg
|
7a50255865
|
improved struct layout debug logging and optimized some structs
|
2011-09-21 09:27:07 +00:00 |
Arvid Norberg
|
f8d5ea4db7
|
fix some encryption warnings
|
2011-09-18 20:42:35 +00:00 |
Arvid Norberg
|
f5b5160169
|
add incoming_connection_alert for logging all successful incoming connections
|
2011-09-17 01:44:05 +00:00 |
Arvid Norberg
|
3e91b45904
|
lower some default settings
|
2011-09-16 09:58:45 +00:00 |
Arvid Norberg
|
469414d486
|
initial BitTorrent over SSL support
|
2011-09-12 03:51:49 +00:00 |
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
|
43c9e640ab
|
honor IOV_MAX when using writev and readv
|
2011-09-05 05:47:50 +00:00 |
Arvid Norberg
|
bc1e47a486
|
solaris fixes
|
2011-09-04 23:29:47 +00:00 |
Arvid Norberg
|
864da49dd6
|
fix build error caused by stupid openssl macro
|
2011-08-31 20:40:29 +00:00 |
Arvid Norberg
|
ec74d500a4
|
clean up encryption code some
|
2011-08-29 02:00:17 +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
|
51ed06304e
|
deprecated compact storage allocation
|
2011-08-22 00:51:14 +00:00 |
Arvid Norberg
|
293e41afff
|
msvc build fix
|
2011-08-16 09:22:41 +00:00 |
Arvid Norberg
|
1c5399b736
|
piece picker optimization
|
2011-08-16 06:30:53 +00:00 |
Arvid Norberg
|
25ad24ec68
|
piece picker optimization. O(log n), lookup of downloading pieces instead of O(n)
|
2011-08-15 04:16:43 +00:00 |
Arvid Norberg
|
b9be2fe94b
|
fix production assert
|
2011-08-14 23:55:41 +00:00 |
Arvid Norberg
|
524e116277
|
fix production asserts build
|
2011-08-14 23:30:40 +00:00 |
Arvid Norberg
|
88441e4fdc
|
another attempt at optimizing piece picker
|
2011-08-14 23:16:12 +00:00 |
Arvid Norberg
|
e26d49a71c
|
expose new listen_on flags to python
|
2011-08-13 23:30:11 +00:00 |
Arvid Norberg
|
1b470e0961
|
move the code of chained buffer out to its own cpp file
|
2011-08-13 23:01:38 +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
|
601443afd3
|
close files in separate thread on systems where close() may block (Mac OS X for instance)
|
2011-08-07 04:41:10 +00:00 |
Arvid Norberg
|
d4958c9286
|
support for dont-have extension message
|
2011-08-07 00:41:13 +00:00 |
Arvid Norberg
|
109e527568
|
added reset_piece_deadline function
|
2011-08-05 06:31:46 +00:00 |
Arvid Norberg
|
1537299666
|
add missing header file to makfile
|
2011-08-02 16:59:03 +00:00 |
Arvid Norberg
|
6a01b035be
|
add missing files
|
2011-08-01 08:03:26 +00:00 |
Arvid Norberg
|
bc2f0c8c5e
|
move disk_buffer_pool out to its own file
|
2011-07-31 02:24:36 +00:00 |
Arvid Norberg
|
7817229f5d
|
improve support for merkle tree torrent creation
|
2011-07-30 17:35:22 +00:00 |
Arvid Norberg
|
270f6959e4
|
fix PRId64 macro for mingw
|
2011-07-23 21:18:25 +00:00 |
Arvid Norberg
|
ff6da81c4c
|
fix iconv use on mingw
|
2011-07-23 19:30:23 +00:00 |
Arvid Norberg
|
1b353ce5af
|
fix beos build
|
2011-07-20 05:14:25 +00:00 |
Arvid Norberg
|
bf231bf86c
|
apply patch to fix build on GNU hurd
|
2011-07-14 14:16:32 +00:00 |
Arvid Norberg
|
8d86c3bacc
|
fixed release-asserts bulid
|
2011-07-05 04:05:12 +00:00 |
Arvid Norberg
|
bf9d864dd2
|
stronger low-pass filter for iops reporting
|
2011-07-04 05:52:15 +00:00 |
Arvid Norberg
|
de3ea9214a
|
log a low-pass filtered iops to stats log
|
2011-07-03 17:21:45 +00:00 |
Arvid Norberg
|
90d8030269
|
log VM stats alongside the session stats
|
2011-06-28 22:20:34 +00:00 |
Arvid Norberg
|
209b9e4186
|
make disk timing be average over the last second. fixed some other bugs in previous changes
|
2011-06-26 19:45:33 +00:00 |
Arvid Norberg
|
c647e95244
|
adjust default read cache line size and log IOPS in session stats
|
2011-06-26 19:00:40 +00:00 |
Arvid Norberg
|
fdd2482536
|
fix windows isspace issue
|
2011-06-22 01:17:22 +00:00 |
Arvid Norberg
|
c390dd5858
|
measure uTP send delay and log it in stats log. change unit on times to seconds (from milliseconds and microseconds)
|
2011-06-21 07:44:13 +00:00 |
Arvid Norberg
|
060b849dda
|
factor encryption handler a bit and add proposal for an authentication extension
|
2011-06-18 16:58:36 +00:00 |
Arvid Norberg
|
3ba914b419
|
fix build
|
2011-06-14 06:10:35 +00:00 |
Arvid Norberg
|
78c6bd3b08
|
fix signature for set_alert_mask
|
2011-06-13 16:46:46 +00:00 |
Arvid Norberg
|
d6c8184381
|
support locking files
|
2011-06-09 06:08:24 +00:00 |
Arvid Norberg
|
f6f516bed0
|
fix file_storage copy constructor (would break python bindings)
|
2011-06-06 07:47:29 +00:00 |
Arvid Norberg
|
57f24128a9
|
add more default reporting about the request and download queue of peers to track end-game stall issue
|
2011-06-06 04:24:12 +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
|
df003ef57c
|
fix checking behavior when pausing/resuming the session
|
2011-06-05 03:06:34 +00:00 |
Arvid Norberg
|
0c35fde81c
|
memory usage optimization in policy::peer
|
2011-06-01 06:47:57 +00:00 |
Arvid Norberg
|
e6640de205
|
updated IP->ID formula for DHT
|
2011-05-26 17:04:53 +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
|
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
|
801d3637b9
|
attempt to fix crash in udp_socket when using a broken socks5 proxy
|
2011-05-14 22:25:49 +00:00 |
Arvid Norberg
|
a9e14217ac
|
address is the sort key in policy::peer and should never change
|
2011-05-14 20:57:58 +00:00 |
Arvid Norberg
|
a73960aa5a
|
support release asserts
|
2011-05-08 09:04:59 +00:00 |
Arvid Norberg
|
aeb90205c7
|
fixed typo in release assert support
|
2011-05-08 06:29:28 +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
|
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
|
a9cc2101c6
|
fixed bug with setting and getting file priorities
|
2011-05-01 17:43:15 +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
|
e389f5963d
|
added support for fadvise/F_RDADVISE for improved disk read performance
|
2011-04-26 07:03:05 +00:00 |
Arvid Norberg
|
d0af936933
|
don't turn off read-ahead by default on files. Might impact hash checking
|
2011-04-25 02:15:18 +00:00 |
Arvid Norberg
|
573a291495
|
first step to remove recursion in bandwidth channel
|
2011-04-21 03:13: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
|
caed433cc7
|
make it possible to derive from default_storage class
|
2011-04-16 22:58:11 +00:00 |
Arvid Norberg
|
9382c77ea2
|
fix minor mingw issue
|
2011-04-14 07:23:48 +00:00 |
Arvid Norberg
|
abec8aed8c
|
use 'avoid_readback' as default disk cache eviction algorithm
|
2011-04-11 03:36:37 +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
|
eaedc22831
|
added make_torrent.py example and polished the python binding for creating torrents
|
2011-04-10 08:41:07 +00:00 |
Arvid Norberg
|
381f42bcf2
|
fix mingw build
|
2011-04-10 03:45:13 +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
|
e5720eafd8
|
fix crash in udp_socket when using SOCKS5 proxy
|
2011-04-09 17:59:00 +00:00 |
Arvid Norberg
|
8aae74ea03
|
make enum_net use feature ifdefs instead of platform ifdefs
|
2011-04-09 03:49:46 +00:00 |
Arvid Norberg
|
22f20253f8
|
support turning logging on and off during run-time when built with stats logging
|
2011-04-06 06:27:42 +00:00 |
Arvid Norberg
|
35d2354c38
|
bump default .torrent file size limit for magnet files to 3 MB and add more verbose logging to ut_metadata.cpp
|
2011-04-02 08:13:35 +00:00 |
Arvid Norberg
|
74ccff22be
|
use a deque instead of list for disk io jobs queue
|
2011-03-28 06:01:24 +00:00 |