Arvid Norberg
|
20b9a01a09
|
pack members of pending_buffer a bit
|
2014-12-10 01:05:40 +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
|
ac9a734149
|
dont use INT16_MIN
|
2014-12-02 20:06:30 +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
|
f98c7223b2
|
merged changes from RC_1_0
|
2014-11-29 01:53:22 +00:00 |
Arvid Norberg
|
f73fe335e2
|
deprecated flag should not affect ABI
|
2014-11-26 10:17:44 +00:00 |
Arvid Norberg
|
29fb79f60c
|
merged changes from RC_1_0
|
2014-11-24 04:25:05 +00:00 |
Arvid Norberg
|
211603b7a5
|
merged fixed include
|
2014-11-23 06:23:49 +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
|
bfb0c4fe80
|
merged changes from RC_1_0
|
2014-11-12 16:57:59 +00:00 |
Arvid Norberg
|
f7221e277f
|
add unit test for crc32c and fix cpuid warning
|
2014-11-10 02:05:46 +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
|
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
|
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
|
907dc9dddd
|
merged changes from RC_1_0
|
2014-10-22 07:05:10 +00:00 |
Arvid Norberg
|
a25345b1e7
|
fix typo
|
2014-10-21 23:44:50 +00:00 |
Arvid Norberg
|
ca6bb1ebd9
|
minor cleanup of open_listen_port internally
|
2014-10-21 22:08:48 +00:00 |
Arvid Norberg
|
bcc5d66e0c
|
now that we use boost.chrono, no need for custom timer or macros controlling which timer to use
|
2014-10-21 21:51:12 +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
|
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
|
2806e1e340
|
fix makefile build
|
2014-10-14 02:17:09 +00:00 |
Arvid Norberg
|
32d368e1ce
|
merged changes from RC_1_0
|
2014-10-12 18:16:46 +00:00 |
Arvid Norberg
|
a91848962a
|
merge changes from RC_1_0
|
2014-10-12 04:18:34 +00:00 |
Arvid Norberg
|
e2fba2caa9
|
fix available() function on ssl_stream
|
2014-10-08 15:27:52 +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
|
30d7b9e3c3
|
fixed bug with inactivity timer
|
2014-10-05 22:30:09 +00:00 |
Arvid Norberg
|
9c2472f7bb
|
fix build with deprecated functions disabled
|
2014-10-05 19:32:29 +00:00 |
Arvid Norberg
|
418e33facc
|
use the session-wide hostname resolver in torrent.cpp
|
2014-10-05 01:23:22 +00:00 |
Arvid Norberg
|
d296960efa
|
fix build with verbose logging
|
2014-10-04 19:54:12 +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
|
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
|
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
|
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
|
40b4c6b91f
|
added comment
|
2014-09-28 02:23:25 +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
|
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
|
c7a0bde196
|
fix bug in peer_connection::second_tick
|
2014-09-20 23:57:59 +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
|
eb32b1fef1
|
merged changes from RC_1_0
|
2014-09-12 22:38:07 +00:00 |
Arvid Norberg
|
acdcf4c888
|
comment
|
2014-09-12 02:33:08 +00:00 |
Arvid Norberg
|
6bbdd4afa4
|
merged changes from RC_1_0
|
2014-09-03 06:52:45 +00:00 |
Arvid Norberg
|
bed6d5c233
|
fix test builds without deprecated functions
|
2014-09-03 03:17:47 +00:00 |
Arvid Norberg
|
4d57456199
|
merged changes from RC_1_0
|
2014-09-02 06:28:27 +00:00 |
Arvid Norberg
|
19f3de10dd
|
merged changes from RC_1_0
|
2014-09-01 08:59:12 +00:00 |
Arvid Norberg
|
b1208c9f63
|
merged changes from RC_1_0
|
2014-09-01 07:16:31 +00:00 |
Arvid Norberg
|
695589c6ef
|
attempted no-exceptions build fix
|
2014-08-28 07:09:24 +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
|
4ddedc6a21
|
add extension hook on sending payload
|
2014-08-26 04:26:16 +00:00 |
Arvid Norberg
|
4394fea79e
|
remove deleted file from makefile
|
2014-08-26 03:50:29 +00:00 |
Arvid Norberg
|
7d751b80da
|
merged fixes from RC_1_0
|
2014-08-26 03:14:32 +00:00 |
Arvid Norberg
|
862844e546
|
merged changes from RC_1_0
|
2014-08-22 07:56: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
|
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
|
fb23601898
|
merge bitfield fix from RC_1_0 (although, fix doesn't apply)
|
2014-07-28 04:41:40 +00:00 |
Arvid Norberg
|
a7d68330e3
|
merged fix from RC_1_0
|
2014-07-22 09:04:56 +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
|
42a30bb50f
|
merged change from RC_1_0
|
2014-07-22 01:22:46 +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
|
c519968aa4
|
hide make_error_code function from documentation
|
2014-07-20 20:52:39 +00:00 |
Arvid Norberg
|
8552e75f21
|
merge error code fix from RC_1_0
|
2014-07-20 20:49:56 +00:00 |
Arvid Norberg
|
cd456964ad
|
storage fixes
|
2014-07-20 08:59:02 +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
|
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
|
bf18e310e6
|
remove some peer connection dependencies on m_ses
|
2014-07-12 22:32:55 +00:00 |
Arvid Norberg
|
34440224fc
|
merged web seed redirect fix from RC_1_0
|
2014-07-09 20:53:39 +00:00 |
Arvid Norberg
|
5b73194a0d
|
restore gen_stats_docs.py
|
2014-07-08 23:44:34 +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
|
a6f345181f
|
fixed some unused argument warnings
|
2014-07-07 06:28:48 +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
|
6cce06fbd6
|
merged changes from RC_1_0
|
2014-07-03 21:22:59 +00:00 |
Arvid Norberg
|
a9862c6f50
|
fix documentation
|
2014-07-02 06:15:57 +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
|
6043e14131
|
remove pch.hpp
|
2014-06-28 23:45:46 +00:00 |
Arvid Norberg
|
3f4eba1bdb
|
web seed and storage fixes
|
2014-06-21 06:58:39 +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
|
2b7bef0f7b
|
fix support for web servers not supporting keepalive
|
2014-06-15 18:02:59 +00:00 |
Arvid Norberg
|
6ed95d7f82
|
support storing save_path in resume data
|
2014-06-12 22:39:41 +00:00 |
Arvid Norberg
|
6d07af3b57
|
merge bitfield issue fix from RC_0_16
|
2014-06-11 08:32:24 +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
|
ea77427e07
|
added clear_piece_deadlines() to remove all piece deadlines
|
2014-05-23 02:23:11 +00:00 |
Arvid Norberg
|
0cb5db94b7
|
INT16_MIN and INT16_MAX macros for windows
|
2014-05-20 02:46:13 +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
|
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
|
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
|
e225259481
|
fix some msvc warnings
|
2014-05-10 03:23:05 +00:00 |
Arvid Norberg
|
2c27f857e7
|
fix build
|
2014-05-05 07:32:01 +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
|
f015c0604a
|
fix build and socket_io test
|
2014-05-04 08:20:31 +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
|
fc60391f53
|
fix exports for unit tests
|
2014-05-03 06:31:42 +00:00 |
Arvid Norberg
|
0ed91e248f
|
leverage boost's endian detection in sha1-implementation
|
2014-05-03 03:45:51 +00:00 |