Arvid Norberg
|
b3e061ca94
|
clean up of some test and fix warnings
|
2015-04-11 15:25:24 +00:00 |
Arvid Norberg
|
fb40cb484e
|
merged changes from RC_1_0
|
2015-04-11 14:17:33 +00:00 |
Arvid Norberg
|
af57bdfe6a
|
clean up use of error categories in file.cpp
|
2015-04-10 23:19:47 +00:00 |
Arvid Norberg
|
10cbe7f969
|
log fewer false positive udp tracker errors (when we can't find the transaction ID)
|
2015-04-10 04:20:20 +00:00 |
Arvid Norberg
|
c47699005f
|
merge fixes from RC_1_0
|
2015-04-10 03:25:02 +00:00 |
Arvid Norberg
|
bb48b6e83c
|
eliminate one more session dependency in peer_connection
|
2015-04-10 01:50:42 +00:00 |
Arvid Norberg
|
06135941f3
|
be a bit more lenient with invalid metadata requests
|
2015-04-09 04:24:13 +00:00 |
Arvid Norberg
|
20aa53953c
|
fix etensions being passed all alerts
|
2015-04-07 00:50:21 +00:00 |
Arvid Norberg
|
6d09050d08
|
fix build without deprecated functions
|
2015-04-06 00:06:26 +00:00 |
Arvid Norberg
|
b07b208a4a
|
rate limit how often recalculate_auto_managed can be called (it's expensive)
|
2015-04-05 19:35:58 +00:00 |
Arvid Norberg
|
2a3a34bf8d
|
fix warnings in alert_manager and fix test_resolve_links for windows
|
2015-04-04 19:11:14 +00:00 |
Arvid Norberg
|
013ed36f09
|
landed alert_queue feature branch into trunk
|
2015-04-03 20:15:48 +00:00 |
Arvid Norberg
|
f168849f51
|
clean up lsd logging
|
2015-03-29 23:25:25 +00:00 |
Arvid Norberg
|
837e709628
|
deprecate RSS API
|
2015-03-28 17:31:27 +00:00 |
Arvid Norberg
|
a516bf46e5
|
merged changes from RC_1_0
|
2015-03-22 04:34:11 +00:00 |
Arvid Norberg
|
9af3066b56
|
fix file collision logic in torrent_info
|
2015-03-21 16:55:23 +00:00 |
Arvid Norberg
|
3f21a846f6
|
fix build without deprecated function. extend test_coverage script. comment out DHT sanity check assert that fires in the wild
|
2015-03-21 00:50:28 +00:00 |
Arvid Norberg
|
ccc7e45406
|
landed mutable torrents branch in trunk
|
2015-03-21 00:12:40 +00:00 |
Arvid Norberg
|
1b07ec491d
|
fix build issue out of recent changes of exported functions
|
2015-03-16 04:38:28 +00:00 |
Arvid Norberg
|
74ca290fe6
|
attempt to fix build
|
2015-03-15 06:05:41 +00:00 |
Arvid Norberg
|
6c67694d22
|
fix windows and linux build
|
2015-03-15 04:25:54 +00:00 |
Arvid Norberg
|
794de25212
|
moved escape_string.hpp into the aux_ directory. moved out the 3 public hex functions into its own public header, hex.hpp
|
2015-03-14 23:10:20 +00:00 |
Arvid Norberg
|
fad1c42970
|
documetation fixes and polish
|
2015-03-14 21:55:26 +00:00 |
Arvid Norberg
|
37225b71ae
|
const static -> static const (thanks gubatron). helps swigs parser
|
2015-03-14 00:42:27 +00:00 |
Arvid Norberg
|
65a9d76938
|
fix dht logging build
|
2015-03-13 05:53:22 +00:00 |
Arvid Norberg
|
881fa4dce6
|
remove sleep() from the libtorrent API
|
2015-03-13 05:52:48 +00:00 |
Arvid Norberg
|
6c1df7eb55
|
landed the bdecode branch in master. lazy_bdecode/lazy_entry is now being replaced by bdecode/bdecode_node
|
2015-03-12 05:20:12 +00:00 |
Arvid Norberg
|
c1dc982f4f
|
deprecate the ptime type and related time types. just use boost::chrono / std::chrono
|
2015-03-12 04:34:54 +00:00 |
Arvid Norberg
|
10333221bc
|
attempt at fixing file permission issues on windows
|
2015-03-09 06:09:50 +00:00 |
Arvid Norberg
|
14e97b8151
|
build fix
|
2015-03-08 04:49:10 +00:00 |
Arvid Norberg
|
f981221cff
|
fixes to close-reason patch
|
2015-03-01 07:02:32 +00:00 |
Arvid Norberg
|
0c8aee014c
|
implemented utp extension header to indicate the reason to close the connection
|
2015-02-28 19:51:15 +00:00 |
Arvid Norberg
|
c4b112f23a
|
add comment
|
2015-02-24 04:15:47 +00:00 |
Arvid Norberg
|
fd1d349457
|
valgrind build fix
|
2015-02-24 01:58:26 +00:00 |
Arvid Norberg
|
f364fe7beb
|
include tracker message in tracker_alert
|
2015-02-21 22:45:45 +00:00 |
Arvid Norberg
|
89055c4c7a
|
some more optimizations on loading torrents
|
2015-02-18 03:32:49 +00:00 |
Arvid Norberg
|
c4a294e88a
|
deprecate file_base feature in file_storage/torrent_info
|
2015-02-17 04:53:49 +00:00 |
Arvid Norberg
|
d49e97afb3
|
optimized loading and parsing torrents. Specifically detecting duplicate filenames (optimizing the common case of no collisions). Expanded unit test to uncover an unsupported case (not fixed yet). cutting down on memory allocation and copying when parsing torrent files in memory
|
2015-02-17 02:08:47 +00:00 |
Arvid Norberg
|
3d47a1fb81
|
extend file_storage unit test a bit
|
2015-02-16 21:53:23 +00:00 |
Arvid Norberg
|
5ea0db3145
|
extend piece_picker unit test and comment out unused function
|
2015-02-15 22:01:15 +00:00 |
Arvid Norberg
|
cb6d3cdd44
|
extend piece_picker unit test. extend http_parser unit test and fix resolve_redirect_location
|
2015-02-15 20:01:30 +00:00 |
Arvid Norberg
|
40980df545
|
extend storage unit test to cover iovec operations
|
2015-02-15 07:31:35 +00:00 |
Arvid Norberg
|
91270a0c2b
|
make operation_t public and document it. include peer disconnects in client_test log
|
2015-02-15 05:17:09 +00:00 |
Arvid Norberg
|
a831a78fd5
|
simplify and clean up utp_stream. fix missing error check in read handler in peer_connection
|
2015-02-15 00:25:56 +00:00 |
Arvid Norberg
|
43021f5f22
|
remove todo comment
|
2015-02-14 23:31:44 +00:00 |
Arvid Norberg
|
1dbba7c410
|
optimize disk buffer allocation when seeding
|
2015-02-14 23:20:45 +00:00 |
Arvid Norberg
|
2fdb7499fa
|
optimize block_info allocation and downloading_piece size in piece_picker
|
2015-02-14 21:32:41 +00:00 |
Arvid Norberg
|
51f1a61d2d
|
more piece_picker unit tests and some fixes
|
2015-02-13 02:58:21 +00:00 |
Arvid Norberg
|
01ee9cd9af
|
more work on piece_picker unit test
|
2015-02-12 06:43:46 +00:00 |
Arvid Norberg
|
72d015c86a
|
extend piece_picker unit test
|
2015-02-12 03:16:53 +00:00 |
Arvid Norberg
|
2d4949cfed
|
test coverage script
|
2015-02-10 06:02:51 +00:00 |
Arvid Norberg
|
9ff3030c7d
|
remove residual from peer speed affinity
|
2015-02-10 04:37:10 +00:00 |
Arvid Norberg
|
678385f358
|
share mode polish and remove old comment
|
2015-02-08 22:29:10 +00:00 |
Arvid Norberg
|
7395a91bf4
|
clean up piece picker interface to make piece_pos private again
|
2015-02-08 22:15:59 +00:00 |
Arvid Norberg
|
84fe616ccb
|
extend piece picker unit test
|
2015-02-08 21:44:58 +00:00 |
Arvid Norberg
|
9fb98b1151
|
remove speed affinity feature in piece-picker and peers
|
2015-02-08 21:17:00 +00:00 |
Arvid Norberg
|
497f7a4a27
|
piece picker fix for random mode
|
2015-02-08 21:12:10 +00:00 |
Arvid Norberg
|
a8623a9b23
|
request partial pieces in rarest-first order
|
2015-02-08 18:01:29 +00:00 |
Arvid Norberg
|
512113510b
|
introduce another rule where we prioritize partial pieces in the piece picker to avoid having too many bytes outstanding in partial pieces (especially very large pieces)
|
2015-02-08 16:52:57 +00:00 |
Arvid Norberg
|
1b9b6f7292
|
support http basic auth in http_connection passed in from the outside as opposed to part of the url
|
2015-02-08 16:03:09 +00:00 |
Arvid Norberg
|
04c33d6fb2
|
move closing of files outside of file pool mutex
|
2015-02-08 14:44:33 +00:00 |
Arvid Norberg
|
2a0789594d
|
fix linux build
|
2015-02-08 00:59:54 +00:00 |
Arvid Norberg
|
46ef448711
|
fix issue with upload only while trying to download metadata. also added a unit test to catch it in the future
|
2015-02-07 01:01:48 +00:00 |
Arvid Norberg
|
9b91508c38
|
clean up session_interface and tracker_manager a bit. work on making tracker_manager more testable
|
2015-02-01 14:30:43 +00:00 |
Arvid Norberg
|
fe10128d53
|
fix invalid memory access
|
2015-01-27 01:09:16 +00:00 |
Arvid Norberg
|
678d4f3a82
|
fix warning
|
2015-01-26 03:09:32 +00:00 |
Arvid Norberg
|
d92d53f27a
|
merged changes from RC_1_0
|
2015-01-26 02:07:03 +00:00 |
Arvid Norberg
|
097d5b484d
|
improve piece picker support for reverse picking (used for snubbed peers) to not cause priority inversion for regular peers
|
2015-01-26 02:04:58 +00:00 |
Arvid Norberg
|
bc9281a27c
|
deprecate file_entry (used by file_storage) and clean up the add_file overload that borrows memory (and improve implementation and documentation). The python bindings were updated to more closely match the c++ API (specifically actually using file_storage)
|
2015-01-21 15:46:12 +00:00 |
Arvid Norberg
|
3286437a7d
|
extend peer_list unit test and fix some bugs
|
2015-01-20 23:56:45 +00:00 |
Arvid Norberg
|
d9e69db0cb
|
actually make use of the max_failcount setting
|
2015-01-20 06:26:22 +00:00 |
Arvid Norberg
|
d41d59d780
|
improve prefer-contiguous-blocks in piece_picker, to actually pick a contiguous range
|
2015-01-20 03:46:40 +00:00 |
Arvid Norberg
|
54eb499803
|
make post_torrent_updates more flexible by allowing to pass flags to it. The same flags as torrent_handle::status. Also make the default return accurante progress
|
2015-01-20 02:46:23 +00:00 |
Arvid Norberg
|
d8d069675c
|
improve piece picker to better support torrents with very large pieces and web seeds
|
2015-01-20 02:34:55 +00:00 |
Arvid Norberg
|
e6eb920021
|
piece picker cleanup
|
2015-01-19 22:07:53 +00:00 |
Arvid Norberg
|
431fa2ac55
|
fix python binding build (and expose the new dht stats alert)
|
2015-01-18 21:36:24 +00:00 |
Arvid Norberg
|
a7bec127f1
|
relying on local statics being threadsafe still does not seem safe on msvc
|
2015-01-18 16:52:39 +00:00 |
Arvid Norberg
|
609b5eb4ba
|
fix dht logging build
|
2015-01-18 15:03:18 +00:00 |
Arvid Norberg
|
8614ed795a
|
attempt to fix build
|
2015-01-18 04:40:01 +00:00 |
Arvid Norberg
|
de616b29c5
|
fix c++98 support
|
2015-01-18 02:06:18 +00:00 |
Arvid Norberg
|
0afea4bb3e
|
move some DHT verbose stats logging over to performance counters
|
2015-01-18 01:06:36 +00:00 |
Arvid Norberg
|
7441a0a3b3
|
fix build
|
2015-01-17 22:09:20 +00:00 |
Arvid Norberg
|
22a02f4a1f
|
make dht_tracker be held by shared_ptr instead of intrusive_ptr. remove redundant performance counter (total dht sent/received). report DHT IP overhead to the IP overhead counters
|
2015-01-17 22:06:30 +00:00 |
Arvid Norberg
|
58d93e5aa1
|
add new (non-deprecated) access to dht stats, asynchronously via an alert
|
2015-01-17 17:02:58 +00:00 |
Arvid Norberg
|
b9b657c3d4
|
post alerts instead of writing to a file, in local peer discovery, when logging is enabled
|
2015-01-16 23:01:14 +00:00 |
Arvid Norberg
|
1ab8d2fa5c
|
fix test_privacy build. fix uninitialized bit in torrent. attempt to filter output from valgrind in regression tests
|
2015-01-16 04:57:58 +00:00 |
Arvid Norberg
|
7668bf5d4c
|
downgrade some todo comments
|
2015-01-15 19:13:45 +00:00 |
Arvid Norberg
|
9bfbb8a52a
|
fix partfile on windows
|
2015-01-15 03:35:13 +00:00 |
Arvid Norberg
|
e2d73cfe38
|
file not found is not an error in exists()
|
2015-01-15 02:31:38 +00:00 |
Arvid Norberg
|
2943bd4d7d
|
make test_privacy more reliable
|
2015-01-14 01:59:23 +00:00 |
Arvid Norberg
|
223154b1f1
|
fix build
|
2015-01-13 22:40:16 +00:00 |
Arvid Norberg
|
d140d71e1a
|
extend logging of UDP tracker announces (to track down unit test flapping)
|
2015-01-13 21:34:43 +00:00 |
Arvid Norberg
|
9172874b5c
|
fix storage error (recently introduced) where the mapped_files object would not be updated when renaming files that did not exist on disk
|
2015-01-13 18:28:06 +00:00 |
Arvid Norberg
|
95f889b247
|
some debug output
|
2015-01-13 06:11:42 +00:00 |
Arvid Norberg
|
c9903bdaf2
|
use O_SYNC when available
|
2015-01-07 23:21:54 +00:00 |
Arvid Norberg
|
c9075a530d
|
fix build
|
2015-01-06 22:17:22 +00:00 |
Arvid Norberg
|
1a53a454ec
|
fix ssl unit test
|
2015-01-06 08:16:03 +00:00 |
Arvid Norberg
|
0f37e3403c
|
transition from intrusive_ptr to shared_ptr. don't export initialize_default_settings
|
2015-01-06 08:08:49 +00:00 |
Arvid Norberg
|
a462f58372
|
use hardware optimized CRC32C function in DHT
|
2015-01-05 13:50:42 +00:00 |
Arvid Norberg
|
1b254e16c2
|
remove comment
|
2015-01-05 12:25:10 +00:00 |
Arvid Norberg
|
73a4755f13
|
fix asio-debugging bug in udp_socket
|
2015-01-05 12:22:31 +00:00 |
Arvid Norberg
|
3be0430036
|
merged changes from RC_1_0
|
2015-01-05 12:15:16 +00:00 |
Arvid Norberg
|
bb33b061e4
|
clean up session_impl
|
2015-01-04 22:26:26 +00:00 |
Arvid Norberg
|
35b41858cf
|
deprecated session_status and session::status() in favor of performance counters
|
2015-01-04 21:31:02 +00:00 |
Arvid Norberg
|
55e51ab57c
|
merged changes from RC_1_0
|
2015-01-04 21:18:00 +00:00 |
Arvid Norberg
|
68ffd3c47c
|
restore breakage of recalculate_automanaged_torrents, and fix the logic for checking torrents
|
2015-01-04 21:14:46 +00:00 |
Arvid Norberg
|
1218e328cd
|
SSL fixes (especially over uTP)
|
2015-01-04 01:04:56 +00:00 |
Arvid Norberg
|
d68471805e
|
improve support for HTTP where one direction of the socket is shut down
|
2015-01-03 22:38:17 +00:00 |
Arvid Norberg
|
f839b8c9b4
|
factor creating of directories into default_storage::open_file to make that functionality more robust and fix a bug where moving files out of the part-file would fail because the directories hadn't been created yet
|
2015-01-03 16:57:21 +00:00 |
Arvid Norberg
|
b897a6ce29
|
fix bug in settings_pack causing intermittent unit test failures. added unit test to cover the bug
|
2015-01-03 16:52:22 +00:00 |
Arvid Norberg
|
290260054d
|
fix http restart-piece bug whose fix apparently failed to merge from RC_1_0 a long time ago. Also improve logging of restart pieces
|
2015-01-03 13:09:09 +00:00 |
Arvid Norberg
|
9b0f7bbe72
|
move function from header to .cpp file
|
2015-01-02 00:51:09 +00:00 |
Arvid Norberg
|
dbf461ac23
|
make DHT dos mitigation parameters configurable via dht_settings
|
2015-01-01 23:24:21 +00:00 |
Arvid Norberg
|
f77e12ac04
|
clean up symbol exports
|
2015-01-01 20:25:39 +00:00 |
Arvid Norberg
|
a1c1f9393d
|
fix flush_pieces in disk_io_thread to also flush the read cache
|
2015-01-01 10:10:13 +00:00 |
Arvid Norberg
|
092362e9bc
|
remove internal fields from web_seed_entry
|
2014-12-31 22:05:34 +00:00 |
Arvid Norberg
|
764b09d6b5
|
make the peer fingerprint a regular setting and remove it from the main session constructor argument list
|
2014-12-31 15:51:45 +00:00 |
Arvid Norberg
|
1039d4ae86
|
tweak some TODO comments and fix one
|
2014-12-31 14:41:35 +00:00 |
Arvid Norberg
|
bc117e5f40
|
merged changes from RC_1_0
|
2014-12-31 09:30:23 +00:00 |
Arvid Norberg
|
eefba55419
|
fix assert in utp_stream at high rates
|
2014-12-30 20:44:18 +00:00 |
Arvid Norberg
|
7d53b7efd3
|
fix merge error
|
2014-12-30 16:56:03 +00:00 |
Arvid Norberg
|
fcf6beace5
|
merged changes from RC_1_0
|
2014-12-30 09:02:20 +00:00 |
Arvid Norberg
|
e9414894e2
|
separate the configuration of crypto library and whether protocol encryption is enabled or not. make protocol encryption always use the built-in rc4 and tommath code. SHA-1 hashing is done by the crypto library
|
2014-12-29 16:50:22 +00:00 |
Arvid Norberg
|
ae47823970
|
don't fail renaming a file in a torrent just because it doesn't exist (and the destination directory doesn't exist)
|
2014-12-26 21:25:37 +00:00 |
Arvid Norberg
|
0977d94dbc
|
merged changes from RC_1_0
|
2014-12-25 11:24:02 +00:00 |
Arvid Norberg
|
ca3c1620bd
|
merged changes from RC_1_0
|
2014-12-17 14:33:52 +00:00 |
Arvid Norberg
|
20b4608c38
|
optimize copying torrent_info and file_storage objects
|
2014-12-17 05:33:16 +00:00 |
Arvid Norberg
|
13a9c3c78d
|
we no longer support including file-hashes when creating torrents
|
2014-12-17 03:50:01 +00:00 |
Arvid Norberg
|
6214aef0c5
|
merged changes from RC_1_0
|
2014-12-17 03:19:42 +00:00 |
Arvid Norberg
|
ae04b80fe1
|
cancel non-critical DNS lookups when shutting down, to cut down on shutdown delay
|
2014-12-17 02:44:27 +00:00 |
Arvid Norberg
|
6f19f9a063
|
lt_trackers is no longer a default extension
|
2014-12-10 09:59:24 +00:00 |
Arvid Norberg
|
a3d1a493fd
|
disable logging alerts in client_test
|
2014-12-10 09:45:38 +00:00 |
Arvid Norberg
|
333a13c957
|
a bit more conservative block request timeouts. promote some invariant checks in the DHT as expensive (to disable them for regular debug builds)
|
2014-12-10 07:13:57 +00:00 |
Arvid Norberg
|
1ce3bdf0d0
|
update send and received byte performance counters immediately, to avoid the one second quantization in stats
|
2014-12-10 05:49:17 +00:00 |
Arvid Norberg
|
20b9a01a09
|
pack members of pending_buffer a bit
|
2014-12-10 01:05:40 +00:00 |
Arvid Norberg
|
5666cdcd07
|
fix warnings
|
2014-12-09 09:33:34 +00:00 |
Arvid Norberg
|
09bc1550e9
|
simplify the debug logging mechanism. There's now only one build option, logging=on or logging=off. When logging is enabled, the log level is controlled by the alert mask. All log events are delivered as alerts and it's up to the client to write them to disk in whatever way seems appropriate. removed the pointless logger plugin
|
2014-12-09 09:08:26 +00:00 |
Arvid Norberg
|
4eaec6d87f
|
instead of using a fixed request timeout for every peer, have an adaptable one based on the average download time for a block
|
2014-12-08 17:06:04 +00:00 |
Arvid Norberg
|
c4e5df8e4d
|
remove the concept of timeout_extend in piece request timeouts. if a request times out, cancel it as soon as it holds up the completion of a piece
|
2014-12-07 22:22:38 +00:00 |
Arvid Norberg
|
790ef041bf
|
merged changes from RC_1_0
|
2014-12-07 07:22:39 +00:00 |
Arvid Norberg
|
1ed1963f29
|
remove size_type typedef in favor of boost::int64_t
|
2014-12-03 04:32:50 +00:00 |
Arvid Norberg
|
066cbf1a9f
|
merged changes from RC_1_0
|
2014-12-02 10:18:07 +00:00 |
Arvid Norberg
|
4376d26399
|
merged changes from RC_1_0
|
2014-12-01 10:43:34 +00:00 |
Arvid Norberg
|
362b54421d
|
merged changes from RC_1_0
|
2014-11-30 10:07:19 +00:00 |
Arvid Norberg
|
601f8c0476
|
merged changes from RC_1_0
|
2014-11-29 09:12:44 +00:00 |
Arvid Norberg
|
d30ae3dda8
|
fix stats_alert stats indices
|
2014-11-29 08:17:25 +00:00 |
Arvid Norberg
|
1c91903c9c
|
merged fixes from RC_1_0
|
2014-11-27 03:05:06 +00:00 |
Arvid Norberg
|
f73fe335e2
|
deprecated flag should not affect ABI
|
2014-11-26 10:17:44 +00:00 |
Arvid Norberg
|
edade10561
|
merged fix from RC_1_0
|
2014-11-26 03:58:55 +00:00 |
Arvid Norberg
|
8ec7cff993
|
merged changes from RC_1_0
|
2014-11-26 02:02:32 +00:00 |
Arvid Norberg
|
658e2ceefd
|
merged Steven Siloti's peer crypto patch into trunk
|
2014-11-23 06:14:47 +00:00 |
Arvid Norberg
|
179df62379
|
merged changes from RC_1_0
|
2014-11-20 05:53:12 +00:00 |
Arvid Norberg
|
edfa38cd30
|
merged changes from RC_1_0
|
2014-11-17 03:41:01 +00:00 |
Arvid Norberg
|
0b711f1280
|
remove unused variables. add some comments
|
2014-11-17 03:10:00 +00:00 |
Arvid Norberg
|
e1d0592a57
|
merged changes from RC_1_0
|
2014-11-14 09:35:39 +00:00 |
Arvid Norberg
|
bfb0c4fe80
|
merged changes from RC_1_0
|
2014-11-12 16:57:59 +00:00 |
Arvid Norberg
|
2514e7a0e2
|
fix file_progress
|
2014-11-11 09:08:47 +00:00 |
Arvid Norberg
|
e526355d24
|
merged changes from RC_1_0
|
2014-11-09 11:17:13 +00:00 |
Arvid Norberg
|
77363ad93e
|
fix file progress calculation bug (with unit test)
|
2014-11-08 18:36:54 +00:00 |
Arvid Norberg
|
aae56c991c
|
merged changes from RC_1_0
|
2014-11-08 16:58:18 +00:00 |
Arvid Norberg
|
601f0dc434
|
merged changes from RC_1_0
|
2014-11-03 06:15:51 +00:00 |
Arvid Norberg
|
3742fd2699
|
merged changes from RC_1_0
|
2014-11-02 09:41:29 +00:00 |
Arvid Norberg
|
34af25beaa
|
merged chagnes from RC_1_0
|
2014-11-01 22:47:56 +00:00 |
Arvid Norberg
|
8bd8426f04
|
merged changes from RC_1_0
|
2014-10-26 17:48:50 +00:00 |
Arvid Norberg
|
85cc72835e
|
finally rename policy to peer_list
|
2014-10-26 07:34:31 +00:00 |
Arvid Norberg
|
1c448331d5
|
fix stats_alert with recent changes to stats
|
2014-10-25 23:10:07 +00:00 |
Arvid Norberg
|
935eea9d0b
|
some more fixes to cache_status
|
2014-10-25 21:28:57 +00:00 |
Arvid Norberg
|
83394f54f9
|
transition fenced job histogram to session stats gauges. deprecate it from cache_status
|
2014-10-25 20:59:54 +00:00 |
Arvid Norberg
|
0bcbe433ed
|
deprecate most of cache_status type (use session stats instead)
|
2014-10-25 20:07:50 +00:00 |
Arvid Norberg
|
9338aa6c60
|
some more refactoring in choker
|
2014-10-24 00:18:01 +00:00 |
Arvid Norberg
|
d9388f9898
|
moved around some hostname resolver related TODO comment. removed unused hostname query objects
|
2014-10-23 00:19:11 +00:00 |
Arvid Norberg
|
e09a2b770d
|
factored out choke comparison functions into choker.cpp
|
2014-10-22 22:30:04 +00:00 |
Arvid Norberg
|
02a9ea18b7
|
deprecated auto_expand_choker. started factoring out choker logic into its own translation unit (preparing for making it unit testable)
|
2014-10-22 22:06:56 +00:00 |
Arvid Norberg
|
8d99b6eabb
|
fixed ssl typo
|
2014-10-21 23:53:18 +00:00 |
Arvid Norberg
|
ca6bb1ebd9
|
minor cleanup of open_listen_port internally
|
2014-10-21 22:08:48 +00:00 |
Arvid Norberg
|
3db32f67b5
|
remove option TORRENT_DISABLE_FULL_STATS
|
2014-10-21 21:45:35 +00:00 |
Arvid Norberg
|
ce9ff9885b
|
move DHT transfer counters to performance_counters
|
2014-10-21 21:36:45 +00:00 |
Arvid Norberg
|
7249122329
|
move tracker transfer counters over to use performance_counters internally as well
|
2014-10-21 21:24:15 +00:00 |
Arvid Norberg
|
bb3e399ce2
|
convert endpoint list into vector in udp_tracker_connection
|
2014-10-21 20:49:36 +00:00 |
Arvid Norberg
|
cea5585993
|
remove stats logging functionality from libtorrent. This has been moved to a helper class part of libtorrent-webui, utility library
|
2014-10-21 19:58:12 +00:00 |
Arvid Norberg
|
6aa0ae9f2e
|
fix tracker_manager argument forwarding
|
2014-10-21 04:22:10 +00:00 |
Arvid Norberg
|
14c9bd90d3
|
fix bug in setup_transfer (for unit tests). fix verbose logging build. make sure test_pex is reliable
|
2014-10-21 02:08:46 +00:00 |
Arvid Norberg
|
9b37efe6a8
|
first steps towards removing session_impl dependency from tracker connections, to improve their testability
|
2014-10-21 00:28:51 +00:00 |
Arvid Norberg
|
ffb66ec156
|
transition tracker_connections to use shared_ptr instead of intrusive_ptr. optimize udp tracker connection lookups by using unordered map instead of linear search.
|
2014-10-20 20:44:05 +00:00 |
Arvid Norberg
|
2f077d8efa
|
fix http_connection timeout issue
|
2014-10-16 05:33:09 +00:00 |
Arvid Norberg
|
d308dce99b
|
CMakeList.txt fix
|
2014-10-15 03:01:39 +00:00 |
Arvid Norberg
|
99cd0c7a08
|
merged changes from RC_1_0
|
2014-10-14 16:36:06 +00:00 |
Arvid Norberg
|
d287ce9c46
|
fix issue when hash checking files resulting in a short read
|
2014-10-12 23:49:51 +00:00 |
Arvid Norberg
|
32d368e1ce
|
merged changes from RC_1_0
|
2014-10-12 18:16:46 +00:00 |
Arvid Norberg
|
ec472daee3
|
fix bug in peer_connection causing it to not connect when not having metadata
|
2014-10-12 06:29:34 +00:00 |
Arvid Norberg
|
a91848962a
|
merge changes from RC_1_0
|
2014-10-12 04:18:34 +00:00 |
Arvid Norberg
|
ab34239447
|
fix invalid comment
|
2014-10-10 00:16:17 +00:00 |
Arvid Norberg
|
a113988e81
|
do a slightly better job of deciding which peers to save in resume data
|
2014-10-07 08:29:20 +00:00 |
Arvid Norberg
|
b55778a847
|
some DHT logging and parsing
|
2014-10-07 07:23:20 +00:00 |
Arvid Norberg
|
04760d8f0f
|
http_connection cleanup
|
2014-10-06 08:39:05 +00:00 |
Arvid Norberg
|
0cd2e74f28
|
remove invalid assert
|
2014-10-06 05:02:00 +00:00 |
Arvid Norberg
|
f1032586f7
|
http_connection fix
|
2014-10-06 03:19:29 +00:00 |
Arvid Norberg
|
9b8e7bc169
|
fix typo in ssl patch
|
2014-10-06 03:18:26 +00:00 |
Arvid Norberg
|
a655047cb0
|
support SSL over uTP (unit test is still failing with same errors as previously, this has not been fixed yet)
|
2014-10-06 03:03:01 +00:00 |
Arvid Norberg
|
8168c8520a
|
minor tweak to inactivity timer fix
|
2014-10-05 22:31:29 +00:00 |
Arvid Norberg
|
30d7b9e3c3
|
fixed bug with inactivity timer
|
2014-10-05 22:30:09 +00:00 |
Arvid Norberg
|
418e33facc
|
use the session-wide hostname resolver in torrent.cpp
|
2014-10-05 01:23:22 +00:00 |
Arvid Norberg
|
3c7a932aee
|
update comments
|
2014-10-04 20:06:46 +00:00 |
Arvid Norberg
|
d296960efa
|
fix build with verbose logging
|
2014-10-04 19:54:12 +00:00 |
Arvid Norberg
|
520aead4da
|
fix auto_sequential logic
|
2014-10-04 07:41:41 +00:00 |
Arvid Norberg
|
8af9e22938
|
remove invalid assert
|
2014-10-04 07:38:10 +00:00 |
Arvid Norberg
|
ceccc2a483
|
land branch to remove half-open connection limit / connection queue
|
2014-10-03 20:56:57 +00:00 |
Arvid Norberg
|
65473fa783
|
fix geoip left-overs in src/Makefile.am
|
2014-10-03 20:56:10 +00:00 |
Arvid Norberg
|
7830081585
|
merged changes from RC_1_0
|
2014-10-01 18:19:44 +00:00 |
Arvid Norberg
|
0ed0bdc50c
|
remove pointless DHT extension (for IPv6)
|
2014-10-01 16:21:29 +00:00 |
Arvid Norberg
|
ba3ffe52f8
|
improve DHT logging a bit
|
2014-10-01 09:14:49 +00:00 |
Arvid Norberg
|
f8272b90ae
|
merged changes from RC_1_0
|
2014-09-29 07:06:18 +00:00 |
Arvid Norberg
|
2d438e0758
|
factor out parse_tracker_response and add unit tests. make gen_todo cover tests also, and regenerate todo.html
|
2014-09-29 06:10:22 +00:00 |
Arvid Norberg
|
1c915f2e95
|
merge changes from RC_1_0
|
2014-09-28 20:02:43 +00:00 |
Arvid Norberg
|
8664ff97aa
|
optimize tracker_manager interface to avoid rendering and parsing strings for each peer-ip
|
2014-09-28 06:36:03 +00:00 |
Arvid Norberg
|
931c5530c2
|
some socks5 cleanup
|
2014-09-28 05:42:35 +00:00 |
Arvid Norberg
|
19d0087911
|
one last fix to the web_seed_entry patch
|
2014-09-28 05:41:50 +00:00 |
Arvid Norberg
|
6a4a5419c2
|
one more fix
|
2014-09-28 04:05:44 +00:00 |
Arvid Norberg
|
d723a7a4c6
|
fix build
|
2014-09-28 03:27:13 +00:00 |
Arvid Norberg
|
154cbeb5cf
|
support web seeds that resolve to multiple IPs
|
2014-09-28 02:20:13 +00:00 |
Arvid Norberg
|
9a985d197f
|
optimize num_seeds() and num_downloaders() to not count the peers every time
|
2014-09-24 09:03:57 +00:00 |
Arvid Norberg
|
60119bf0ca
|
added auto-sequential feature
|
2014-09-24 00:02:00 +00:00 |
Arvid Norberg
|
8cbef3876a
|
post alert on outgoing get_peers
|
2014-09-22 19:49:32 +00:00 |
Arvid Norberg
|
7a55069ec9
|
add additional single-thread asserts and separate torrents from the session (in preparation for running them in separate threads/strands)
|
2014-09-22 17:41:06 +00:00 |
Arvid Norberg
|
a6eda97281
|
fix optimistic unchoke stats gauge
|
2014-09-22 07:34:10 +00:00 |
Arvid Norberg
|
d7d498c3a3
|
more steps towards isolating peer_connections from the session object. unchoking now happens via the torrent object. hopefully in the future, the session can determine which peers to unchoke without having direct access to them (i.e. with a mutex)
|
2014-09-22 03:47:43 +00:00 |
Arvid Norberg
|
27b7705cf2
|
remove built-in GeoIP support
|
2014-09-21 21:01:48 +00:00 |
Arvid Norberg
|
2936556573
|
fix bug in delay-load feature of torrents
|
2014-09-21 02:06:03 +00:00 |
Arvid Norberg
|
c7a0bde196
|
fix bug in peer_connection::second_tick
|
2014-09-20 23:57:59 +00:00 |
Arvid Norberg
|
645d3cdb32
|
merge fixes from RC_1_0
|
2014-09-20 19:27:29 +00:00 |
Arvid Norberg
|
c471bcb49f
|
optimize peer classes a bit
|
2014-09-17 07:23:41 +00:00 |
Arvid Norberg
|
7e69239991
|
merged unit test from RC_1_0
|
2014-09-17 02:10:48 +00:00 |
Arvid Norberg
|
9a2e511dda
|
attempted fix for inconsistent debug refcounters on blocks. pinning pieces with outstanding reads in an attempt at fixing inconsitencies seen around that logic as well
|
2014-09-14 22:42:18 +00:00 |
Arvid Norberg
|
ad7d74f255
|
merged fixes from RC_1_0
|
2014-09-13 19:47:51 +00:00 |
Arvid Norberg
|
252e08a889
|
merged fixes from RC_1_0
|
2014-09-04 08:55:24 +00:00 |
Arvid Norberg
|
bed6d5c233
|
fix test builds without deprecated functions
|
2014-09-03 03:17:47 +00:00 |
Arvid Norberg
|
649d7646fb
|
test build fix. another boost.chrono overflow issue fixed
|
2014-09-02 08:01:09 +00:00 |
Arvid Norberg
|
b74f5b13ef
|
fix another boost.chrono time overflow issue
|
2014-09-02 07:31:41 +00:00 |
Arvid Norberg
|
4d57456199
|
merged changes from RC_1_0
|
2014-09-02 06:28:27 +00:00 |
Arvid Norberg
|
57b00ae42e
|
fix bug in hostname resolver
|
2014-09-01 07:26:29 +00:00 |
Arvid Norberg
|
ddb133e055
|
merged changes from RC_1_0
|
2014-08-31 21:17:32 +00:00 |
Arvid Norberg
|
2f3e3caf0f
|
fixed typo
|
2014-08-31 08:34:03 +00:00 |
Arvid Norberg
|
44021c99e1
|
add todo comment
|
2014-08-28 08:06:11 +00:00 |
Arvid Norberg
|
48e4cf9478
|
merged changes from RC_1_0
|
2014-08-28 07:11:34 +00:00 |
Arvid Norberg
|
97a8e3b895
|
fix build error with verbose logging
|
2014-08-28 07:02:43 +00:00 |
Arvid Norberg
|
98c4c9327b
|
merged change from RC_1_0
|
2014-08-28 02:06:21 +00:00 |
Arvid Norberg
|
83c0a4e519
|
build fixes
|
2014-08-27 07:50:36 +00:00 |
Arvid Norberg
|
db788c9180
|
fix to make active_time, seeding_time, finished_time and upload_only_time all work for torrents that are not being ticked
|
2014-08-27 06:36:28 +00:00 |
Arvid Norberg
|
48ea42c990
|
merged changes from RC_1_0
|
2014-08-27 05:57:37 +00:00 |
Arvid Norberg
|
1ce69d122b
|
add missing files
|
2014-08-27 03:33:41 +00:00 |
Arvid Norberg
|
45d8e36da4
|
merged Steve Siloti's refactoring patch of inter-thread calls into session_impl
|
2014-08-26 04:51:09 +00:00 |
Arvid Norberg
|
4ddedc6a21
|
add extension hook on sending payload
|
2014-08-26 04:26:16 +00:00 |
Arvid Norberg
|
7d751b80da
|
merged fixes from RC_1_0
|
2014-08-26 03:14:32 +00:00 |
Arvid Norberg
|
d2c64915bf
|
simplified want_peers expression
|
2014-08-22 08:55:37 +00:00 |
Arvid Norberg
|
862844e546
|
merged changes from RC_1_0
|
2014-08-22 07:56:10 +00:00 |
Arvid Norberg
|
07af6f6216
|
merged changes from RC_1_0
|
2014-08-20 07:02:03 +00:00 |
Arvid Norberg
|
9f8916a7a0
|
merged changes from RC_1_0
|
2014-08-18 23:05:10 +00:00 |
Arvid Norberg
|
51f2aafb43
|
clean up some time_t and srand() uses
|
2014-08-16 20:55:44 +00:00 |
Arvid Norberg
|
524384045c
|
transition to use boost.random instead of rand() and custom pseudo random generator
|
2014-08-16 20:26:00 +00:00 |
Arvid Norberg
|
3f88389f05
|
merged changes from RC_1_0
|
2014-08-16 07:46:06 +00:00 |
Arvid Norberg
|
40559fa564
|
fix typo in peer_connection
|
2014-08-11 15:53:53 +00:00 |
Arvid Norberg
|
5e54d13dec
|
merge fixes from RC_0_16
|
2014-08-07 05:00:29 +00:00 |
Arvid Norberg
|
0bc2d1eb8a
|
cover edge case of receiving the response to a request before the callback of sending the request. fixes assert
|
2014-08-02 06:09:07 +00:00 |
Arvid Norberg
|
c60ceacb71
|
switch over to use boost.atomic instead of home-built one
|
2014-08-01 07:32:54 +00:00 |
Arvid Norberg
|
f32f5e96aa
|
deprecate parts of cache_status and move those counters to session_stats counters. make the performance counters thread safe. fix some issues recently introduced to performance counters and the usage of them in client_test
|
2014-08-01 06:07:48 +00:00 |
Arvid Norberg
|
671ae32ae5
|
fix docs generation for stats counters
|
2014-07-30 02:00:14 +00:00 |
Arvid Norberg
|
f0be98ce53
|
cleanup and make session_stats a bit more efficient
|
2014-07-30 00:34:53 +00:00 |
Arvid Norberg
|
02f3e48eaa
|
make performance counters able to blend in values, reducing a peer_connection -> session dependency on a sliding average state (this can be used for disk stats too)
|
2014-07-29 16:35:03 +00:00 |
Arvid Norberg
|
7c9c25e359
|
cleaned up redundant bytes and failed bytes counters. moved some into the stats_counters
|
2014-07-29 05:59:00 +00:00 |
Arvid Norberg
|
ab8c1eb334
|
log latency of bittorrent requests
|
2014-07-28 22:18:06 +00:00 |
Arvid Norberg
|
2f6a68bad3
|
track RTT of piece requests
|
2014-07-28 07:52:59 +00:00 |
Arvid Norberg
|
035da93592
|
fixed disk_io_job flags being used as file flags
|
2014-07-28 01:06:00 +00:00 |
Arvid Norberg
|
118ba5e9c4
|
streaming fix
|
2014-07-26 17:48:24 +00:00 |
Arvid Norberg
|
1e48745173
|
another boost chrono fix
|
2014-07-25 16:51:13 +00:00 |
Arvid Norberg
|
af0bb0abd8
|
fix another integer overflow issue from switching to chrono
|
2014-07-25 09:03:56 +00:00 |
Arvid Norberg
|
b78fdc630d
|
fix another integer overflow issue from switching to chrono
|
2014-07-25 08:43:52 +00:00 |
Arvid Norberg
|
2b1162aac9
|
fix build and suppress offsetof warnings in backwards-compatibility code
|
2014-07-22 05:35:05 +00:00 |
Arvid Norberg
|
805c823523
|
merged fixes from RC_1_0
|
2014-07-21 03:19:58 +00:00 |
Arvid Norberg
|
79a2744fa8
|
fixed issue with queued resume data saving, and fixed regression in recent disk error check changes
|
2014-07-21 03:03:59 +00:00 |
Arvid Norberg
|
8552e75f21
|
merge error code fix from RC_1_0
|
2014-07-20 20:49:56 +00:00 |
Arvid Norberg
|
4284606cbc
|
merged SOCKS4 fix into trunk
|
2014-07-20 19:46:15 +00:00 |
Arvid Norberg
|
6bd58da567
|
handle EOF error on windows when checking
|
2014-07-20 09:27:02 +00:00 |
Arvid Norberg
|
cd456964ad
|
storage fixes
|
2014-07-20 08:59:02 +00:00 |
Arvid Norberg
|
f3a7008bd5
|
close files when stopping a torrent
|
2014-07-20 00:23:12 +00:00 |
Arvid Norberg
|
499edabf9f
|
a bit more cleaning up of m_ses uses in peer_connection
|
2014-07-19 22:33:45 +00:00 |
Arvid Norberg
|
30713a4a79
|
remove buffer stats debugging feature
|
2014-07-19 08:20:20 +00:00 |
Arvid Norberg
|
f15182a737
|
merged changes from RC_1_0
|
2014-07-19 07:12:20 +00:00 |
Arvid Norberg
|
30d561d0c5
|
merged random_seed assert into trunk
|
2014-07-19 02:17:19 +00:00 |
Arvid Norberg
|
d2fccd8ae7
|
merged resume data fix from RC_1_0
|
2014-07-15 03:23:43 +00:00 |
Arvid Norberg
|
65bb1d0006
|
pass all the arguments to peer connections as an argument pack
|
2014-07-14 04:32:41 +00:00 |
Arvid Norberg
|
fa613131c2
|
removed unused session_impl member, m_next_disk_peer
|
2014-07-13 06:34:59 +00:00 |
Arvid Norberg
|
01640e1682
|
separate stats counters from session_interface (this was the main use of m_ses in peer connections)
|
2014-07-13 04:56:53 +00:00 |
Arvid Norberg
|
14f02a4475
|
fix todo comment
|
2014-07-13 02:47:15 +00:00 |
Arvid Norberg
|
ca27c0d5ca
|
fix another boost.chrono issue
|
2014-07-13 00:48:32 +00:00 |
Arvid Norberg
|
bf18e310e6
|
remove some peer connection dependencies on m_ses
|
2014-07-12 22:32:55 +00:00 |
Arvid Norberg
|
d16fe60ca4
|
some more disk io thread asserts
|
2014-07-12 22:09:20 +00:00 |
Arvid Norberg
|
ddc406f853
|
mark up a few more places to make the resume-data dirty
|
2014-07-12 22:03:29 +00:00 |
Arvid Norberg
|
c8e8eb6e15
|
some asserts in disk_io_thread. fix issue in torrent::initialize
|
2014-07-12 19:23:31 +00:00 |
Arvid Norberg
|
24b9101075
|
merged changes from RC_1_0
|
2014-07-12 06:20:16 +00:00 |
Arvid Norberg
|
374380667c
|
make default_storage a bit more robust
|
2014-07-10 01:59:35 +00:00 |
Arvid Norberg
|
34440224fc
|
merged web seed redirect fix from RC_1_0
|
2014-07-09 20:53:39 +00:00 |
Arvid Norberg
|
8fc07e6e89
|
more work towards making client_test event-driven and use session stats counters instead of session_status + some refactoring
|
2014-07-08 22:37:13 +00:00 |
Arvid Norberg
|
9d172a8723
|
fixed chrono issue in dht
|
2014-07-08 15:36:47 +00:00 |
Arvid Norberg
|
a6f345181f
|
fixed some unused argument warnings
|
2014-07-07 06:28:48 +00:00 |
Arvid Norberg
|
c90285df8a
|
restore DHT semantics to fix dht unit test
|
2014-07-07 00:09:05 +00:00 |
Arvid Norberg
|
7351389ce8
|
land libtorrent_aio branch in trunk
|
2014-07-06 19:18:00 +00:00 |
Arvid Norberg
|
6ef1b98717
|
merged compiler warning fixes from RC_1_0
|
2014-07-05 14:10:25 +00:00 |
Arvid Norberg
|
6c6fe4dfe2
|
merged fixes of warnings from RC_1_0
|
2014-07-04 23:40:31 +00:00 |
Arvid Norberg
|
6e275fbe21
|
removed left-over unused variables
|
2014-07-02 02:53:10 +00:00 |
Arvid Norberg
|
34737965d1
|
remove leftover comparison from when there was more than one proxy setting
|
2014-07-01 07:48:34 +00:00 |
Arvid Norberg
|
fa4c016d39
|
fix bug in udp_socket when changing socks5 proxy quickly
|
2014-06-30 08:41:33 +00:00 |
Arvid Norberg
|
36e8945968
|
more build fixes
|
2014-06-29 19:11:15 +00:00 |
Arvid Norberg
|
5f4f78c383
|
fix build
|
2014-06-29 18:54:20 +00:00 |
Arvid Norberg
|
28fb774383
|
initialize pad files to priority 0 by default
|
2014-06-29 01:24:51 +00:00 |
Arvid Norberg
|
6043e14131
|
remove pch.hpp
|
2014-06-28 23:45:46 +00:00 |
Arvid Norberg
|
c76e8189a6
|
fix windows build error
|
2014-06-27 02:04:37 +00:00 |
Arvid Norberg
|
91a22d48c3
|
fix bugs in convert_to/from_native() on windows
|
2014-06-25 17:43:25 +00:00 |
Arvid Norberg
|
3f4eba1bdb
|
web seed and storage fixes
|
2014-06-21 06:58:39 +00:00 |
Arvid Norberg
|
8d44d87556
|
merge build fix from RC_0_16
|
2014-06-19 03:34:42 +00:00 |
Arvid Norberg
|
9c63dd1341
|
fix unhandled exception
|
2014-06-19 03:26:29 +00:00 |
Arvid Norberg
|
735916ad44
|
remove restrictions on pad_file_limit and alignment when creating torrents. This makes the torrent creator more flexible to create all-padded files for instance
|
2014-06-18 06:22:01 +00:00 |
Arvid Norberg
|
b79dd1fee1
|
fix issue with symlink attributes
|
2014-06-18 06:20:12 +00:00 |
Arvid Norberg
|
5642a0bd59
|
fix outstanding bytes issue when receiving redundant bytes
|
2014-06-17 08:07:03 +00:00 |
Arvid Norberg
|
2b7bef0f7b
|
fix support for web servers not supporting keepalive
|
2014-06-15 18:02:59 +00:00 |
Arvid Norberg
|
6d95b48afa
|
only attempt to set the TOS on socket when configured
|
2014-06-15 17:44:27 +00:00 |
Arvid Norberg
|
20ef852461
|
merged upnp fix from RC_0_16
|
2014-06-15 17:30:40 +00:00 |
Arvid Norberg
|
cb089e74ba
|
merged UPnP fix from RC_0_16
|
2014-06-15 04:20:39 +00:00 |
Arvid Norberg
|
2c75acf98f
|
add clients to identify_client
|
2014-06-13 17:34:15 +00:00 |
Arvid Norberg
|
6ed95d7f82
|
support storing save_path in resume data
|
2014-06-12 22:39:41 +00:00 |
Arvid Norberg
|
3f693255c8
|
merged lsd fix from RC_0_16
|
2014-06-11 16:30:34 +00:00 |
Arvid Norberg
|
6d07af3b57
|
merge bitfield issue fix from RC_0_16
|
2014-06-11 08:32:24 +00:00 |
Arvid Norberg
|
3e5ab73127
|
fix windows build
|
2014-06-09 04:08:41 +00:00 |
Arvid Norberg
|
e291ab3290
|
minor streaming improvements
|
2014-06-08 21:15:34 +00:00 |
Arvid Norberg
|
dd2e605796
|
don't use full allocation on network drives (on windows)
|
2014-06-07 02:57:24 +00:00 |
Arvid Norberg
|
647cda2934
|
merge streaming fix from libtorrent_aio
|
2014-06-06 15:27:44 +00:00 |
Arvid Norberg
|
2125efbbd8
|
merged streaming changes from libtorrent_aio into trunk
|
2014-06-06 01:26:18 +00:00 |
Arvid Norberg
|
e8ef5cb84e
|
documentation fixes, and remove debug dependency on file_pool structure layout
|
2014-05-26 01:02:26 +00:00 |
Arvid Norberg
|
3893a55a57
|
fix to the fix
|
2014-05-25 05:28:15 +00:00 |
Arvid Norberg
|
96f25d6942
|
attempt to fix linux build
|
2014-05-25 05:10:30 +00:00 |
Arvid Norberg
|
64c09e7607
|
support for older boost versions
|
2014-05-25 00:13:17 +00:00 |
Arvid Norberg
|
ea77427e07
|
added clear_piece_deadlines() to remove all piece deadlines
|
2014-05-23 02:23:11 +00:00 |
Arvid Norberg
|
4deafb5e29
|
add workaround for GCC bug in MingW (broken support for PVOID64) and improve resiliency of storage
|
2014-05-23 02:09:27 +00:00 |
Arvid Norberg
|
5f98dec91b
|
revert mistake in queuing logic
|
2014-05-22 22:07:01 +00:00 |
Arvid Norberg
|
283b74ae55
|
downloaders only consider download threshold and seeds only consider upload thresholds, for determining whether a torrent is considered inactive or not
|
2014-05-18 23:42:10 +00:00 |
Arvid Norberg
|
a1e7d3229d
|
improve queuing logic of inactive torrents (dont_count_slow_torrents)
|
2014-05-18 22:17:51 +00:00 |
Arvid Norberg
|
3e25e56f0e
|
fix initialization order warning
|
2014-05-12 07:57:58 +00:00 |
Arvid Norberg
|
5b89c3f5f9
|
merged some of steven siloti's changes. expose optimistic unchoke logic to plugins
|
2014-05-12 07:28:34 +00:00 |
Arvid Norberg
|
b16dc66df2
|
using certificates from buffers instead of files is only available in boost 1.54 and later
|
2014-05-12 04:30:19 +00:00 |
Arvid Norberg
|
8a132cb9ca
|
fix int64_t -> boost::int64_t and run distcheck on build_dist.sh script
|
2014-05-11 08:20:42 +00:00 |
Arvid Norberg
|
330d46a4c6
|
makefile fixes (and add missing upnp.xml file)
|
2014-05-11 03:14:53 +00:00 |
Arvid Norberg
|
22491740e5
|
fix the fix for large UDP packets on windows
|
2014-05-10 23:44:57 +00:00 |
Arvid Norberg
|
870073345b
|
merged sparse file fix from RC_0_16
|
2014-05-10 23:38:54 +00:00 |
Arvid Norberg
|
aef1335e76
|
add overload to set certificate by buffer, not just by path to a file
|
2014-05-10 21:53:50 +00:00 |
Arvid Norberg
|
35141733fb
|
remove some old unmaintained example code. make examples depend less on libtorrent internals
|
2014-05-10 20:20:57 +00:00 |
Arvid Norberg
|
9cc7c3bbf9
|
if issue with large UDP packets on windows
|
2014-05-10 06:37:31 +00:00 |
Arvid Norberg
|
e225259481
|
fix some msvc warnings
|
2014-05-10 03:23:05 +00:00 |
Arvid Norberg
|
68b2679a16
|
move string_tokenize out of i2p_stream and add unit test for it
|
2014-05-04 22:40:30 +00:00 |
Arvid Norberg
|
e0e5a55f10
|
factor out error handling in lazy_bdecode
|
2014-05-04 20:47:16 +00:00 |
Arvid Norberg
|
555efd9279
|
factor out address/endpoint I/O into it's own unit test. merge write_string from bencode and socket_io. extend unit test
|
2014-05-04 06:46:47 +00:00 |
Arvid Norberg
|
e5a9a6b36f
|
make xml_parse not be a template
|
2014-05-03 21:10:44 +00:00 |
Arvid Norberg
|
474e77039f
|
removed set_ratio feature
|
2014-05-03 17:11:55 +00:00 |
Arvid Norberg
|
52463ddd1d
|
fix inflate_gzip export for unit test
|
2014-05-03 07:57:36 +00:00 |
Arvid Norberg
|
0ed91e248f
|
leverage boost's endian detection in sha1-implementation
|
2014-05-03 03:45:51 +00:00 |
Arvid Norberg
|
43c41ddfb1
|
fixed bug in gunzip
|
2014-05-02 16:11:25 +00:00 |
Arvid Norberg
|
78565e95ce
|
fix darwin clang build
|
2014-05-02 07:15:47 +00:00 |
Arvid Norberg
|
e19c52ec98
|
improve lazy_bdecode test to cover more error cases
|
2014-05-01 03:54:47 +00:00 |
Arvid Norberg
|
ab96600ae3
|
fix dht assert
|
2014-04-29 21:31:25 +00:00 |
Arvid Norberg
|
7d1de6215a
|
improve error recovery in lazy bdecoder
|
2014-04-23 00:25:55 +00:00 |
Arvid Norberg
|
f037704539
|
clean up peer-id in bt_peer_connection (for privacy mode) and reduce dependency on session
|
2014-04-22 23:37:21 +00:00 |
Arvid Norberg
|
3192e59a1a
|
improve piece_deadline/streaming
|
2014-04-22 04:21:14 +00:00 |
Arvid Norberg
|
15d4a0c55c
|
merged stats fix from RC_0_16
|
2014-04-18 06:27:54 +00:00 |
Arvid Norberg
|
0b3df1c973
|
merged integer overflow fix from RC_0_16
|
2014-04-16 08:25:14 +00:00 |
Arvid Norberg
|
2798c8d345
|
merge F_SETLF change from RC_0_16
|
2014-04-16 07:43:36 +00:00 |
Arvid Norberg
|
b0996ef855
|
merged fix from RC_0_16
|
2014-04-16 07:12:30 +00:00 |
Arvid Norberg
|
9e94a73ddd
|
support web seeds in magnet links
|
2014-04-15 09:31:28 +00:00 |
Arvid Norberg
|
1afa9db689
|
merged proxy fix for adding .torrent file by URL from RC_0_16
|
2014-04-06 05:07:10 +00:00 |
Arvid Norberg
|
a15388df5f
|
back-port shutdown assert fix
|
2014-04-06 01:03:01 +00:00 |
Arvid Norberg
|
290ce566b0
|
fix resume file issue related to daylight savings time on windows
|
2014-04-04 07:30:54 +00:00 |
Arvid Norberg
|
91799025f2
|
merged bdecode fix from RC_0_16
|
2014-04-04 03:21:15 +00:00 |
Arvid Norberg
|
569ce0a965
|
honor pieces with priority 7 in sequential download mode
|
2014-04-03 02:03:14 +00:00 |
Arvid Norberg
|
1734beda07
|
add missing includes for debug logging builds
|
2014-03-28 01:55:09 +00:00 |
Arvid Norberg
|
140ed20c93
|
fix stats bug
|
2014-03-25 09:17:48 +00:00 |
Arvid Norberg
|
6f0a7f3f3b
|
fix valgrind build issue
|
2014-03-25 07:19:21 +00:00 |
Arvid Norberg
|
87a05814e5
|
fix msvc-7.1 build
|
2014-03-24 07:42:55 +00:00 |
Arvid Norberg
|
fa2ea57e43
|
expand buffer sizes for upnp error messages
|
2014-03-23 22:49:09 +00:00 |
Arvid Norberg
|
946aecdb59
|
fixed some warnings
|
2014-03-23 19:13:21 +00:00 |
Arvid Norberg
|
682ceff21b
|
improve messaging of assert caused by precondition violation
|
2014-03-23 07:40:43 +00:00 |
Arvid Norberg
|
c6b68ab683
|
fix warning
|
2014-03-23 01:41:00 +00:00 |
Arvid Norberg
|
6120b78704
|
merged python fixes from RC_0_16
|
2014-03-23 00:49:58 +00:00 |
Arvid Norberg
|
5f30b18b2f
|
fix asio-debugging in upnp
|
2014-03-19 05:28:54 +00:00 |
Arvid Norberg
|
299b779adf
|
fix superseeding bug
|
2014-03-19 04:34:24 +00:00 |
Arvid Norberg
|
369b1777d1
|
fix build
|
2014-03-17 03:41:35 +00:00 |
Arvid Norberg
|
c0b0f3d108
|
merged fix from RC_0_16
|
2014-03-17 03:09:19 +00:00 |
Arvid Norberg
|
5b292133cb
|
fix assert by only constructing piece_block with verified values
|
2014-03-16 07:30:44 +00:00 |
Arvid Norberg
|
6f82d3b8ae
|
merged i2p_alert fix from RC_0_16
|
2014-03-15 22:20:19 +00:00 |
Arvid Norberg
|
1c954451ff
|
seed mode fixes
|
2014-03-13 08:00:53 +00:00 |
Arvid Norberg
|
e041c06053
|
report progress as 1.0 and every byte downloaded when in seed mode
|
2014-03-11 21:26:01 +00:00 |
Arvid Norberg
|
960f653f97
|
make ignore_non_routers more forgiving in the case there are no UPnP devices at a known router. Should improve UPnP compatibility.
|
2014-03-10 06:47:01 +00:00 |
Arvid Norberg
|
f8adec5ee0
|
merged enum_net fix from RC_0_16
|
2014-03-10 05:53:49 +00:00 |
Arvid Norberg
|
3c47177bfe
|
merged changes from RC_0_16
|
2014-03-07 19:19:17 +00:00 |
Arvid Norberg
|
b889bc6dc6
|
minor logging improvement
|
2014-03-07 09:38:49 +00:00 |
Arvid Norberg
|
b643962bfe
|
merged fixes from RC_0_16
|
2014-03-06 10:06:41 +00:00 |
Arvid Norberg
|
6730937d04
|
fix ip_voter to detect changing IPs
|
2014-03-03 09:49:58 +00:00 |
Arvid Norberg
|
0e04ab8d72
|
reorder the node-list in the DHT traversal algorithm if a node updates its ID
|
2014-03-03 05:09:53 +00:00 |
Arvid Norberg
|
fd26cc026b
|
merged http_connection tweak from RC_0_16
|
2014-03-03 00:09:06 +00:00 |
Arvid Norberg
|
8403e58f3c
|
make dht test program able to get and put mutable items. fixed some DHT bugs along the mutable put/get path
|
2014-03-02 23:35:35 +00:00 |
Arvid Norberg
|
18c52fe7cd
|
fix bug in patch to introduce file_priority disk job
|
2014-03-01 09:05:53 +00:00 |
Arvid Norberg
|
a0a41b6c5e
|
merged file priority fix from RC_0_16 and keep the disk thread's file priorities up to date
|
2014-02-28 10:19:29 +00:00 |
Arvid Norberg
|
86c704a6ff
|
fix dht_bootstrap_alert being posted. add additional alert for dht put completion. add utility to test immutable put/get. fix issue in DHT preventing stores on router nodes (even when they return write tokens). immutable put and get confirmed to be working
|
2014-02-28 04:02:48 +00:00 |
Arvid Norberg
|
1188ec2dcd
|
expose new DHT put/get functionality in the public session API
|
2014-02-24 00:31:13 +00:00 |
Arvid Norberg
|
bfdb445890
|
merged SetFileValidData fix from RC_0_16
|
2014-02-23 19:13:53 +00:00 |
Arvid Norberg
|
a943fec777
|
update copyright
|
2014-02-23 19:12:25 +00:00 |
Arvid Norberg
|
63c6e495bd
|
don't use shared_from_this for session_impl
|
2014-02-21 04:30:59 +00:00 |
Arvid Norberg
|
77136592c2
|
merged minor fix from RC_0_16
|
2014-02-19 17:26:58 +00:00 |
Arvid Norberg
|
18bf330615
|
merged enum_net typo fix from RC_0_16
|
2014-02-17 07:25:21 +00:00 |
Arvid Norberg
|
715b60c8ff
|
attempted windows build fix
|
2014-02-17 07:24:43 +00:00 |
Arvid Norberg
|
2d5f0dddf7
|
merged mingw fix from RC_0_16
|
2014-02-15 02:45:04 +00:00 |
Arvid Norberg
|
cc08512ee3
|
merged SetFileValidData fix from RC_0_16
|
2014-02-08 09:18:09 +00:00 |
Arvid Norberg
|
a71fbc4f68
|
include reason in peer_blocked_alert
|
2014-02-07 17:35:56 +00:00 |
Arvid Norberg
|
b3de578fe7
|
merge invalid assert fix from RC_0_16
|
2014-02-07 09:35:08 +00:00 |
Arvid Norberg
|
0398dfe498
|
merged storage allocation mode fix from RC_0_16
|
2014-02-07 08:58:52 +00:00 |
Arvid Norberg
|
6c22d426d4
|
make all unit tests pass msvc's /RTCc instrumentation (no implicit integer truncation in casts)
|
2014-02-05 09:38:32 +00:00 |
Arvid Norberg
|
6597eaf09a
|
there doesn't seem to be any point in exporting piece_block_progress, so don't do that. Introduce magic number check in disk_io_thread (mysterious crash/corruption happens in storage unit test on mac, but not very often and hard to reproduce).
|
2014-02-03 01:55:26 +00:00 |
Arvid Norberg
|
5dea631708
|
minor fixes from massaroddel
|
2014-02-02 10:05:32 +00:00 |
Arvid Norberg
|
cd4adae4ed
|
add and fix some documentation. regenerate html. remove bittorrent_utp as a connection type, there's already a utp_socket flag
|
2014-02-02 09:33:19 +00:00 |
Arvid Norberg
|
9612ef193e
|
cleaned up i2p_category to encapsulate it in i2p_stream.cpp, as well as the socks5 erro_category. added some documentation to torrent_handle and session. fixed reference documentation mapping of get_*_category() functions. regenerate documentation
|
2014-02-02 04:07:36 +00:00 |
Arvid Norberg
|
15e2019332
|
clean up upnp error category by moving it into upnp.cpp, it's not properly encapsulated. added some documentation to torrent_handle. reformatted some documentation comments to honor an 80 column display
|
2014-02-02 03:05:55 +00:00 |
Arvid Norberg
|
c02159f143
|
support magnet links wrapped in .torrent files
|
2014-02-01 03:47:29 +00:00 |
Arvid Norberg
|
3a03debcee
|
fix bug in dht_error_alert
|
2014-01-31 06:01:29 +00:00 |
Arvid Norberg
|
57489489ab
|
fixed verbose logging format string issue
|
2014-01-26 09:17:59 +00:00 |
Arvid Norberg
|
077f728931
|
more test_transfer polish. fix issue where passing on our listen port depended on anonymous_mode, instead of use_proxy. not passing it on would break a few unit tests
|
2014-01-26 08:36:56 +00:00 |
Arvid Norberg
|
36c9add067
|
don't print stuff to stdout in debug builds. when waking up from completing a connection attempt, exit immediately if the connection is disconnecting, or disconnect if we're in graceful pause mode. some test cleanups
|
2014-01-26 08:18:13 +00:00 |
Arvid Norberg
|
f0d1e8636c
|
extend verbose logging to try to catch test_priority failure on windows
|
2014-01-26 04:45:49 +00:00 |
Arvid Norberg
|
05aa06460d
|
fix merge error
|
2014-01-26 02:40:09 +00:00 |
Arvid Norberg
|
ce2805a258
|
merged lt_tex fix from RC_0_16
|
2014-01-26 01:17:58 +00:00 |
Arvid Norberg
|
1f5373599d
|
fix typo
|
2014-01-25 08:16:51 +00:00 |
Arvid Norberg
|
2ac9c30dc9
|
fix valgrind check
|
2014-01-25 01:53:33 +00:00 |
Arvid Norberg
|
2a3f4e2360
|
merged verbose logging change from RC_0_16
|
2014-01-24 07:07:04 +00:00 |
Arvid Norberg
|
49ad7454d3
|
fix crc32 typo
|
2014-01-23 08:10:09 +00:00 |
Arvid Norberg
|
60af1aa451
|
update peer ranks when our external IP changes
|
2014-01-23 03:31:36 +00:00 |
Arvid Norberg
|
6bda2f7430
|
change peer priority to use crc32c instead of sha1
|
2014-01-23 02:28:04 +00:00 |
Arvid Norberg
|
99d9916c29
|
some more piece_picker asserts
|
2014-01-22 09:53:47 +00:00 |
Arvid Norberg
|
9d03019050
|
fix division by zero in send buffer debug logging
|
2014-01-22 01:59:24 +00:00 |
Arvid Norberg
|
e0644ce8f5
|
invariant check macro fixes
|
2014-01-21 19:26:09 +00:00 |
Arvid Norberg
|
5d3c479e12
|
merged chunked encoding fix from RC_0_16
|
2014-01-21 09:14:00 +00:00 |
Arvid Norberg
|
ca132efeb1
|
fix issue in torrent::bytes_left
|
2014-01-21 01:52:01 +00:00 |
Arvid Norberg
|
9ab349f1d0
|
improve dht error reporting
|
2014-01-20 09:20:47 +00:00 |
Arvid Norberg
|
fec7407461
|
send implied_port in dht announce messages when uTP is enabled
|
2014-01-20 06:35:06 +00:00 |
Arvid Norberg
|
4ac670de5c
|
remove outdated todo comment
|
2014-01-20 05:41:24 +00:00 |
Arvid Norberg
|
e616b5b38e
|
back-port allocator patch from libtorrent_aio to make the buffer debugging code generic and platform-independent
|
2014-01-20 03:55:24 +00:00 |
Arvid Norberg
|
dca3f3c1a8
|
improve SSL error reporting and fix torrent_info::ssl_cert() bug
|
2014-01-20 01:01:03 +00:00 |
Arvid Norberg
|
8ab1d8b686
|
more build fixes and cleaning up
|
2014-01-19 20:19:15 +00:00 |
Arvid Norberg
|
702b68ecc4
|
clean up assert related defines and debuf-only fields less error-prone. fix missing initialization in file_pool caused by mistake in defines under which the debug field was initialized
|
2014-01-19 19:45:50 +00:00 |
Arvid Norberg
|
a5b5cf0f62
|
ignore unused parts of the internet on the DHT by default
|
2014-01-19 07:44:16 +00:00 |
Arvid Norberg
|
bec02dd953
|
fix valgrind build
|
2014-01-19 04:13:46 +00:00 |
Arvid Norberg
|
11038aeecb
|
attempt to speed up client_test's loading of torrents
|
2014-01-19 04:11:49 +00:00 |
Arvid Norberg
|
13b1628f7a
|
fix memory leak in uTP
|
2014-01-18 08:15:13 +00:00 |
Arvid Norberg
|
b283d58899
|
fix some uninitialized members
|
2014-01-18 06:53:47 +00:00 |
Arvid Norberg
|
20184a9a22
|
another rate limiter optimization attempt
|
2014-01-17 07:48:38 +00:00 |
Arvid Norberg
|
4a7543bdb8
|
remove a DHT observer right away when the response has an invalid node ID
|
2014-01-17 05:16:37 +00:00 |
Arvid Norberg
|
b621f3f00a
|
merged DHT fix from RC_0_16
|
2014-01-17 04:49:04 +00:00 |
Arvid Norberg
|
36889a1524
|
asserts and logging in SSL test
|
2014-01-17 01:00:49 +00:00 |
Arvid Norberg
|
d7be4659c8
|
rate limiter overflow fix (for very high limits)
|
2014-01-13 06:49:47 +00:00 |
Arvid Norberg
|
86b68e65e4
|
merged dht node ID change from RC_0_16
|
2014-01-11 08:08:43 +00:00 |
Arvid Norberg
|
b63cdcb991
|
fix build without asserts
|
2014-01-08 05:45:13 +00:00 |
Arvid Norberg
|
90ef2cb343
|
non-auto-managed torrents no longer count against the torrent limits
|
2014-01-08 03:51:55 +00:00 |
Arvid Norberg
|
89d5582560
|
merged dht fix from RC_0_16
|
2014-01-07 08:52:53 +00:00 |
Arvid Norberg
|
89cbe57b93
|
fix mutex issue introduced in recent patch
|
2014-01-06 08:03:05 +00:00 |
Arvid Norberg
|
f1e8d09126
|
fix mutex issue introduced in recent patch
|
2014-01-06 07:59:47 +00:00 |
Arvid Norberg
|
ae7bb20170
|
update node ID generation algorithm from RC_0_16
|
2014-01-06 05:46:46 +00:00 |
Arvid Norberg
|
16594d27ef
|
fix build with allocator debugging
|
2014-01-06 05:45:36 +00:00 |
Arvid Norberg
|
6dbc7091d3
|
fix link issue in build. caused corruption and crash in test_storage
|
2014-01-06 03:50:25 +00:00 |
Arvid Norberg
|
db6a22d5c1
|
handle DHT error responses correctly
|
2014-01-03 08:02:53 +00:00 |
Arvid Norberg
|
54bbd3cae0
|
support salt feature in DHT put
|
2014-01-03 04:18:46 +00:00 |
Arvid Norberg
|
f26df6cbfa
|
allow force_announce to only affect a single tracker
|
2014-01-02 02:16:31 +00:00 |
Arvid Norberg
|
31e6d54ad2
|
torrent_handle::torrent_file returns a const torrent_info pointer
|
2014-01-01 21:24:15 +00:00 |
Arvid Norberg
|
dc2243c17e
|
add moving_storage field to torrent_status
|
2014-01-01 02:04:26 +00:00 |
Arvid Norberg
|
53a62344ca
|
fix port mapping functions in session
|
2013-12-31 22:24:56 +00:00 |
Arvid Norberg
|
3858025c3c
|
expose UPnP and NAT-PMP mapping in session object
|
2013-12-31 20:42:37 +00:00 |
Arvid Norberg
|
260e97c4e0
|
document salt feature in put and get DHT extensions. include a test vector and add that to the unit test. (salt is not implemented)
|
2013-12-31 08:37:42 +00:00 |
Arvid Norberg
|
5b46be916b
|
merged storage fix from RC_0_16
|
2013-12-30 02:50:29 +00:00 |
Arvid Norberg
|
93e7c42c7b
|
merged typo fix from RC_0_16
|
2013-12-29 20:26:17 +00:00 |
Arvid Norberg
|
de6a715092
|
merged uTP fixes from RC_0_16
|
2013-12-29 19:35:39 +00:00 |
Arvid Norberg
|
d6b1aa4c36
|
DHT refactoring and support for storing arbitrary data with put
|
2013-12-27 04:28:25 +00:00 |
Arvid Norberg
|
c9bfa1279e
|
fix lazy_bdecode build
|
2013-12-26 18:43:48 +00:00 |
Arvid Norberg
|
4e6b1cfbfb
|
update copyright
|
2013-12-25 17:07:16 +00:00 |
Arvid Norberg
|
444223c2e3
|
merged fixes from RC_0_16
|
2013-12-23 01:40:05 +00:00 |
Arvid Norberg
|
11a584991b
|
fix bug in dht logging build
|
2013-12-21 09:22:10 +00:00 |
Arvid Norberg
|
70735a0a67
|
minor ifdef tweaks and DHT logging
|
2013-12-21 07:18:49 +00:00 |
Arvid Norberg
|
603eea7e60
|
fix one more ifdef issue
|
2013-12-21 05:59:26 +00:00 |
Arvid Norberg
|
be8c918158
|
fix TORRENT_DISABLE_EXTENSIONS issues (specifically when enabling it)
|
2013-12-20 08:35:29 +00:00 |
Arvid Norberg
|
4170b3adac
|
fix verbose logging build
|
2013-12-20 06:43:57 +00:00 |
Arvid Norberg
|
5d822706e1
|
add invariant check to dht routing_table
|
2013-12-20 04:54:52 +00:00 |
Arvid Norberg
|
ce99fd47f2
|
enable all DHT logging (when building with dht logging enabled)
|
2013-12-20 04:54:27 +00:00 |
Arvid Norberg
|
412842365a
|
add backwards compatible reading of IP field in DHT messages
|
2013-12-20 04:47:41 +00:00 |
Arvid Norberg
|
a85cdb2d1a
|
abbreviate long strings when printing lazy_entries on a single line
|
2013-12-20 04:40:00 +00:00 |
Arvid Norberg
|
df3204874d
|
clean up entry::print
|
2013-12-19 08:30:17 +00:00 |
Arvid Norberg
|
4b81b3f90b
|
move some defines from headers to cpp files (to improve ABI stability). add some documentation. regenerate html. minor fixes to documentation script
|
2013-12-19 05:35:47 +00:00 |
Arvid Norberg
|
d0d92a207e
|
disable invariant check when TORRENT_DISABLE_INVARIANT_CHECKS is defined
|
2013-12-18 07:15:16 +00:00 |
Arvid Norberg
|
adb3a5523c
|
some defensive programming. cleanup unused boost include. tighten up boost includes
|
2013-12-17 23:26:44 +00:00 |
Arvid Norberg
|
60a33f8cf8
|
make test_ssl build without openssl (and also not do anything)
|
2013-12-16 06:17:05 +00:00 |
Arvid Norberg
|
93d7d89ced
|
fix issue with obfuscated_get_peers where peers in responses to obfuscated requests would still be returned. slight refactoring to move traversal algorithm level logic to traversal_observer class
|
2013-12-14 23:25:38 +00:00 |
Arvid Norberg
|
396e5bbb37
|
fixed missing case in save_struct
|
2013-12-09 08:00:21 +00:00 |
Arvid Norberg
|
4f189e921d
|
mark some expensive parts of invariant checks as expensive and disabled by default. introduce undead_peers to destruct all peer_connections in the network thread. they hang around while waiting for all outstanding disk jobs to complete. make the asio-debugging output a bit prettier
|
2013-12-05 07:42:32 +00:00 |
Arvid Norberg
|
88e4e0a97b
|
strip trailing dots and spaces in filenames
|
2013-12-05 07:40:57 +00:00 |
Arvid Norberg
|
9c761f6777
|
fix bug in load/save settings (introduced by altering pe_settings layout)
|
2013-12-03 09:10:16 +00:00 |
Arvid Norberg
|
a05103154b
|
remove debug logging to print field offsets and struct sizes
|
2013-12-02 10:00:03 +00:00 |
Arvid Norberg
|
356332a93b
|
make comparison function strict weak ordering
|
2013-12-02 09:39:17 +00:00 |
Arvid Norberg
|
e0f3c7f6d0
|
comments
|
2013-12-02 09:30:19 +00:00 |
Arvid Norberg
|
faa53d7657
|
member re-order and struct packing
|
2013-12-02 04:24:10 +00:00 |
Arvid Norberg
|
d9dca62f1e
|
fix verbose logging build
|
2013-11-29 22:53:17 +00:00 |
Arvid Norberg
|
f382876832
|
fix debug buffer build. add new Jamfile feature for it. attempt to make it build on windows
|
2013-11-29 09:41:53 +00:00 |
Arvid Norberg
|
c08d3ef5db
|
fix build
|
2013-11-29 05:37:52 +00:00 |
Arvid Norberg
|
cd5af8897a
|
a bunch of documentation fixes
|
2013-11-29 05:29:39 +00:00 |
Arvid Norberg
|
f11959b235
|
fix initialization order warnings
|
2013-11-28 08:48:17 +00:00 |
Arvid Norberg
|
fb555cb558
|
fix utf8 build error
|
2013-11-28 08:41:35 +00:00 |
Arvid Norberg
|
382d582407
|
more documentation
|
2013-11-27 20:09:44 +00:00 |
Arvid Norberg
|
65fe1b1212
|
android support
|
2013-11-27 16:58:02 +00:00 |
Arvid Norberg
|
fc2fc8dfb2
|
fix initialization order warnings. pack peer_connection and torrent
|
2013-11-26 07:47:48 +00:00 |
Arvid Norberg
|
e122678d04
|
pack fields in internal_file_entry, torrent_status and chained_buffer
|
2013-11-26 04:39:33 +00:00 |
Arvid Norberg
|
d03d50b6a8
|
reorder some more fields to reduce padding
|
2013-11-26 02:23:33 +00:00 |
Arvid Norberg
|
629baa3622
|
reorder some structs to reduce padding
|
2013-11-26 02:00:02 +00:00 |
Arvid Norberg
|
311ef5d3a4
|
merged auto-manage fix from RC_0_16
|
2013-11-24 09:03:22 +00:00 |
Arvid Norberg
|
d64d12e50d
|
merge test_read_piece from RC_0_16
|
2013-11-24 01:32:51 +00:00 |
Arvid Norberg
|
0868383007
|
merged include file fix from RC_0_16
|
2013-11-23 20:01:57 +00:00 |
Arvid Norberg
|
f9d3571915
|
merged fix from RC_0_16
|
2013-11-23 11:06:35 +00:00 |
Arvid Norberg
|
c384bd5c92
|
merged non-sparse file_size bug on windows from RC_0_16
|
2013-11-20 08:06:33 +00:00 |
Arvid Norberg
|
d736b158a0
|
fix udp_socket proxy issue
|
2013-11-20 01:19:42 +00:00 |
Arvid Norberg
|
d120dc1bc4
|
documentation
|
2013-11-19 17:57:16 +00:00 |
Arvid Norberg
|
aba8704313
|
fix logging build
|
2013-11-18 07:05:56 +00:00 |
Arvid Norberg
|
bcb703b9a3
|
improve duplicate file detection in torrent files
|
2013-11-18 06:59:47 +00:00 |
Arvid Norberg
|
1be2b6dc1a
|
some errors cause asio to throw exceptions instead of returning the error in the passed in error_code&. catch the one in udp_socket
|
2013-11-17 23:06:51 +00:00 |
Arvid Norberg
|
fe414878b2
|
cleanup of ABI breaking configuration options. TORRENT_DEBUG is believed to no longer affect the ABI of libtorrent. introduce a warning in gen_reference_doc.py for when defines are used in public structs. fix build with deprecated functions off
|
2013-11-17 22:38:37 +00:00 |
Arvid Norberg
|
907e7b7415
|
make TORRENT_DEBUG macro not affect ABI of entry class (bencoding)
|
2013-11-17 20:37:55 +00:00 |
Arvid Norberg
|
06678f0d3c
|
removed old left-over defines
|
2013-11-17 18:54:54 +00:00 |
Arvid Norberg
|
25e53cd799
|
fix set_naem() on file_storage actually affecting save paths
|
2013-11-17 08:02:16 +00:00 |
Arvid Norberg
|
8f2683fe5d
|
improve routing_table::depth() performance
|
2013-11-13 02:17:33 +00:00 |
Arvid Norberg
|
fde0d6994d
|
fix build with encryption disabled
|
2013-11-10 11:05:11 +00:00 |
Arvid Norberg
|
5284de9d80
|
minor invariant check tweak
|
2013-11-10 10:49:57 +00:00 |
Arvid Norberg
|
4521b8c902
|
fix checking issue with most pieces set to priority 0
|
2013-11-10 08:00:53 +00:00 |
Arvid Norberg
|
6136776097
|
merged fix from RC_0_16
|
2013-11-09 06:51:11 +00:00 |
Arvid Norberg
|
ad86431caf
|
merged large file fix from RC_0_16
|
2013-11-08 08:10:22 +00:00 |
Arvid Norberg
|
dafa812109
|
merged fixes from RC_0_16
|
2013-11-08 07:23:36 +00:00 |
Arvid Norberg
|
ea0aa72cce
|
fix resume data bug introduced when deprecating the iterators from file_storage
|
2013-11-07 06:54:56 +00:00 |
Arvid Norberg
|
4ac6264487
|
merged create_torrent fix from RC_0_16
|
2013-11-07 05:17:09 +00:00 |
Arvid Norberg
|
4f11258d36
|
improve alert errors for peer alerts
|
2013-11-05 01:30:29 +00:00 |
Arvid Norberg
|
c147caca0d
|
fix ssl issue in web_server.py
|
2013-11-04 10:06:14 +00:00 |
Arvid Norberg
|
236acfce27
|
merged completed-on fix from RC_0_16
|
2013-11-04 01:32:16 +00:00 |
Arvid Norberg
|
b4aad2a481
|
move web_server for unit tests over to python
|
2013-11-03 08:15:51 +00:00 |
Arvid Norberg
|
5812e8415d
|
merged fix from RC_0_16
|
2013-11-02 23:08:26 +00:00 |
Arvid Norberg
|
0f298dbe88
|
make the definition of routing table depth a bit more reliaxed in the DHT
|
2013-11-02 16:07:47 +00:00 |
Arvid Norberg
|
b911129a12
|
merged fixes from RC_0_16
|
2013-11-02 03:35:45 +00:00 |
Arvid Norberg
|
90e7a4c9e3
|
merged some rate limiter polish from libtorrent_aio
|
2013-11-02 03:26:53 +00:00 |
Arvid Norberg
|
dde078cdf7
|
fix ambiguity invoking min
|
2013-11-01 23:13:53 +00:00 |
Arvid Norberg
|
375ce91248
|
fix integer overflow issue in timers
|
2013-11-01 09:13:14 +00:00 |
Arvid Norberg
|
b9293058bd
|
merged fixes from RC_0_16
|
2013-11-01 09:05:41 +00:00 |
Arvid Norberg
|
aef04aca5b
|
merged move_storage fix from RC_0_16
|
2013-10-28 05:07:55 +00:00 |
Arvid Norberg
|
4459fd89f7
|
merged i2p fix from RC_0_16
|
2013-10-28 02:41:54 +00:00 |
Arvid Norberg
|
146fee37e9
|
merged fix from RC_0_16
|
2013-10-27 23:56:45 +00:00 |
Arvid Norberg
|
aa4064316e
|
add info_hash to torrent_delete_failed_alert
|
2013-10-27 23:39:24 +00:00 |
Arvid Norberg
|
cbe3a72a6e
|
merged i2p fix from RC_0_16
|
2013-10-27 19:56:37 +00:00 |
Arvid Norberg
|
1d55894bef
|
improve obfuscated get_peers
|
2013-10-26 22:59:55 +00:00 |
Arvid Norberg
|
9e610dca46
|
increase the default session tick interval
|
2013-10-26 00:39:47 +00:00 |
Arvid Norberg
|
c94ed806db
|
merged fix from RC_0_16
|
2013-10-24 07:22:44 +00:00 |
Arvid Norberg
|
af6dbc5d79
|
attempted fix for a crash in peer ranking
|
2013-10-23 06:45:23 +00:00 |
Arvid Norberg
|
4b1d9cb760
|
make lazy_bdecode a bit more self-contained
|
2013-10-23 05:19:52 +00:00 |
Arvid Norberg
|
0158710f5c
|
break out bdecode errors into its own category
|
2013-10-22 23:57:12 +00:00 |
Arvid Norberg
|
4e94ae592c
|
clean up lazy bdecoder a bit
|
2013-10-22 22:41:58 +00:00 |
Arvid Norberg
|
83960d287d
|
fix test_pex
|
2013-10-22 07:53:36 +00:00 |
Arvid Norberg
|
dd55082321
|
fixed typo in dht put signature parsing
|
2013-10-22 07:12:31 +00:00 |
Arvid Norberg
|
e7215076ca
|
merged fix from RC_0_16
|
2013-10-22 06:59:54 +00:00 |
Arvid Norberg
|
1a2226b8f0
|
fix test_dht to take into account the slightly more relaxed semantics of routing_table::find_node
|
2013-10-22 05:20:00 +00:00 |
Arvid Norberg
|
a627a4e156
|
add negative test for put/get DHT feature. fix bug in signature verification and in DHT unit test
|
2013-10-22 01:24:33 +00:00 |
Arvid Norberg
|
02a337ceae
|
merged minor fix from RC_0_16
|
2013-10-21 01:40:42 +00:00 |
Arvid Norberg
|
3aa2d46b4b
|
if proxy name server lookup fails, and we're not in anonymous mode, disable the proxy and continue
|
2013-10-20 21:08:59 +00:00 |
Arvid Norberg
|
e8db4fe67a
|
make test_torrent cheaper
|
2013-10-20 08:06:18 +00:00 |
Arvid Norberg
|
5ae074994d
|
revert a bad optimization from peer_connection's invariant check
|
2013-10-20 07:10:09 +00:00 |
Arvid Norberg
|
1b888eeec6
|
optimize DHT
|
2013-10-20 07:06:42 +00:00 |
Arvid Norberg
|
416d064489
|
optimize some invariant checks and make test_utp shorted, to complete much faster
|
2013-10-20 06:03:23 +00:00 |
Arvid Norberg
|
a8ac369584
|
fixed uninitialized variable in http_parser (introduced with web seeding improvements)
|
2013-10-20 04:58:36 +00:00 |
Arvid Norberg
|
6542795d0a
|
improved support for web seeds that don't support keep-alive
|
2013-10-20 02:40:43 +00:00 |
Arvid Norberg
|
299cec6377
|
make test_pex a bit more reliable
|
2013-10-18 08:14:49 +00:00 |
Arvid Norberg
|
17d276e060
|
move dht_flood.py into tools. only reveal 3 bits passed the shared target prefix when doing obfuscated dht lookups
|
2013-10-16 23:19:18 +00:00 |
Arvid Norberg
|
8fe1dc5754
|
fix valgrind build
|
2013-10-16 16:55:09 +00:00 |
Arvid Norberg
|
49502ed824
|
more valgrind instrumentation
|
2013-10-16 08:29:12 +00:00 |
Arvid Norberg
|
33ced8c0ec
|
lower dht rate limit to 20 kB in high performance seed
|
2013-10-14 19:04:30 +00:00 |
Arvid Norberg
|
5388f0af74
|
improve valgrind runs of test_dht
|
2013-10-14 07:43:18 +00:00 |
Arvid Norberg
|
01c42720e1
|
fix some deprecation issues (use interfa)
|
2013-10-14 02:25:21 +00:00 |
Arvid Norberg
|
afd80cffb7
|
add option to enforce node ID in the DHT
|
2013-10-14 01:03:43 +00:00 |
Arvid Norberg
|
50f051433a
|
merged DHT change from RC_0_16
|
2013-10-13 23:04:40 +00:00 |
Arvid Norberg
|
b7ae64fd1f
|
don't try to fill send buffers after the torrent has started to shut down
|
2013-10-13 18:50:07 +00:00 |
Arvid Norberg
|
fb60de086b
|
merge some cleanup and fixes from libtorrent_aio
|
2013-10-12 06:03:19 +00:00 |
Arvid Norberg
|
3b882a35de
|
fix hang in unit test caused by disabling the DHT
|
2013-10-10 09:08:56 +00:00 |
Arvid Norberg
|
5eb5057a52
|
merged ipv6 fix from RC_0_16
|
2013-10-08 09:30:33 +00:00 |
Arvid Norberg
|
c137e79e34
|
merge IPv6 fix from RC_0_16
|
2013-10-08 05:11:29 +00:00 |
Arvid Norberg
|
2b7897700d
|
fix deprecation warning
|
2013-10-07 07:45:36 +00:00 |
Arvid Norberg
|
d45d193811
|
improve error message for tracker_error_alert. various smaller attempts at making the unit tests more reliable
|
2013-10-07 06:20:55 +00:00 |
Arvid Norberg
|
7adbeae273
|
some piece picker asserts and cleanup
|
2013-10-06 17:00:07 +00:00 |
Arvid Norberg
|
e4c805c988
|
include socket type in listen_failed_alert and listen_succeeded_alert
|
2013-10-06 06:32:33 +00:00 |
Arvid Norberg
|
f2e3e613b2
|
merged dht fix from libtorrent_aio
|
2013-10-06 01:48:57 +00:00 |