Arvid Norberg
|
013ed36f09
|
landed alert_queue feature branch into trunk
|
2015-04-03 20:15:48 +00:00 |
Arvid Norberg
|
837e709628
|
deprecate RSS API
|
2015-03-28 17:31:27 +00:00 |
Arvid Norberg
|
ccc7e45406
|
landed mutable torrents branch in trunk
|
2015-03-21 00:12:40 +00:00 |
Arvid Norberg
|
37225b71ae
|
const static -> static const (thanks gubatron). helps swigs parser
|
2015-03-14 00:42:27 +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
|
0c8aee014c
|
implemented utp extension header to indicate the reason to close the connection
|
2015-02-28 19:51:15 +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
|
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
|
d9e69db0cb
|
actually make use of the max_failcount setting
|
2015-01-20 06:26:22 +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
|
431fa2ac55
|
fix python binding build (and expose the new dht stats alert)
|
2015-01-18 21:36:24 +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
|
2943bd4d7d
|
make test_privacy more reliable
|
2015-01-14 01:59:23 +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
|
1b254e16c2
|
remove comment
|
2015-01-05 12:25:10 +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
|
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
|
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
|
0977d94dbc
|
merged changes from RC_1_0
|
2014-12-25 11:24:02 +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
|
a3d1a493fd
|
disable logging alerts in client_test
|
2014-12-10 09:45:38 +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
|
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
|
658e2ceefd
|
merged Steven Siloti's peer crypto patch into trunk
|
2014-11-23 06:14:47 +00:00 |
Arvid Norberg
|
601f0dc434
|
merged changes from RC_1_0
|
2014-11-03 06:15:51 +00:00 |
Arvid Norberg
|
34af25beaa
|
merged chagnes from RC_1_0
|
2014-11-01 22:47:56 +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
|
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
|
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
|
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
|
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
|
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
|
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
|
6a4a5419c2
|
one more fix
|
2014-09-28 04:05:44 +00:00 |
Arvid Norberg
|
60119bf0ca
|
added auto-sequential feature
|
2014-09-24 00:02:00 +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
|
ad7d74f255
|
merged fixes from RC_1_0
|
2014-09-13 19:47:51 +00:00 |
Arvid Norberg
|
4d57456199
|
merged changes from RC_1_0
|
2014-09-02 06:28:27 +00:00 |
Arvid Norberg
|
862844e546
|
merged changes from RC_1_0
|
2014-08-22 07:56:10 +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
|
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
|
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
|
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
|
30713a4a79
|
remove buffer stats debugging feature
|
2014-07-19 08:20: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
|
374380667c
|
make default_storage a bit more robust
|
2014-07-10 01:59:35 +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
|
34737965d1
|
remove leftover comparison from when there was more than one proxy setting
|
2014-07-01 07:48:34 +00:00 |
Arvid Norberg
|
6043e14131
|
remove pch.hpp
|
2014-06-28 23:45:46 +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
|
2125efbbd8
|
merged streaming changes from libtorrent_aio into trunk
|
2014-06-06 01:26:18 +00:00 |
Arvid Norberg
|
5f98dec91b
|
revert mistake in queuing logic
|
2014-05-22 22:07:01 +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
|
e225259481
|
fix some msvc warnings
|
2014-05-10 03:23:05 +00:00 |
Arvid Norberg
|
474e77039f
|
removed set_ratio feature
|
2014-05-03 17:11: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
|
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
|
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
|
6f82d3b8ae
|
merged i2p_alert fix from RC_0_16
|
2014-03-15 22:20:19 +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
|
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
|
a71fbc4f68
|
include reason in peer_blocked_alert
|
2014-02-07 17:35:56 +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
|
60af1aa451
|
update peer ranks when our external IP changes
|
2014-01-23 03:31:36 +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
|
9ab349f1d0
|
improve dht error reporting
|
2014-01-20 09:20:47 +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
|
90ef2cb343
|
non-auto-managed torrents no longer count against the torrent limits
|
2014-01-08 03:51:55 +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
|
4e6b1cfbfb
|
update copyright
|
2013-12-25 17:07:16 +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
|
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
|
629baa3622
|
reorder some structs to reduce padding
|
2013-11-26 02:00:02 +00:00 |
Arvid Norberg
|
aba8704313
|
fix logging build
|
2013-11-18 07:05:56 +00:00 |
Arvid Norberg
|
90e7a4c9e3
|
merged some rate limiter polish from libtorrent_aio
|
2013-11-02 03:26:53 +00:00 |
Arvid Norberg
|
4459fd89f7
|
merged i2p fix from RC_0_16
|
2013-10-28 02:41:54 +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
|
3b882a35de
|
fix hang in unit test caused by disabling the DHT
|
2013-10-10 09:08:56 +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
|
79a29d2bb0
|
fix valgrind build with stats logging enabled
|
2013-10-03 15:39:19 +00:00 |
Arvid Norberg
|
64b563fd06
|
attempt to trigger valgrind errors earlier
|
2013-10-02 21:51:30 +00:00 |
Arvid Norberg
|
4ac3d286a5
|
back port check to not destruct session_impl from its own thread
|
2013-09-29 19:37:57 +00:00 |
Arvid Norberg
|
3d6145f713
|
resolve duplicate torrents by URL as well (by linear scan)
|
2013-09-15 12:29:09 +00:00 |
Arvid Norberg
|
b81dbc4669
|
fix stats logging
|
2013-09-15 05:14:03 +00:00 |
Arvid Norberg
|
a386d8aca0
|
merged build fix without exceptions from RC_0_16
|
2013-09-14 10:26:55 +00:00 |
Arvid Norberg
|
1aa47fc13e
|
add more utp statistics and make the congestion controller less aggressive when the up-link is not saturated
|
2013-09-14 10:06:48 +00:00 |
Arvid Norberg
|
515cd24a8c
|
if setting socket send or receive buffer size fails, reset it to the previous value
|
2013-09-03 08:39:30 +00:00 |
Arvid Norberg
|
275c340231
|
make socket buffer sizes affect the udp socket as well. for high_performance_seed preset, set 1 MB socket buffers. only run test_rate() in proper release mode (without invariant checks and debug-iterators). lower the time limit of test_rate. update regression tests to disable invariant checks and debug iterators when building release mode
|
2013-09-02 09:24:34 +00:00 |
Arvid Norberg
|
3afe6c23a0
|
merged tracker key patch from RC_0_16
|
2013-08-31 21:06:43 +00:00 |
Arvid Norberg
|
b6083fbc28
|
first steps towards supporting SSL over uTP. moved the TODO comment and made it describe the next step. Optimized session destruction in unit tests, hopefully shaving off a bit of test run-time (and now supports asio-debugging of unit tests)
|
2013-08-31 20:19:03 +00:00 |
Arvid Norberg
|
8a0b4d02da
|
merged fix from RC_0_16
|
2013-08-26 05:50:26 +00:00 |
Arvid Norberg
|
0f57615ea3
|
attempt at fixing shut-down hang
|
2013-08-21 15:55:24 +00:00 |
Arvid Norberg
|
d5c715bf96
|
added missing asio-debugging mark-up
|
2013-08-21 15:41:19 +00:00 |
Arvid Norberg
|
023116db6f
|
merge ssl test fix from RC_0_16
|
2013-08-17 22:29:34 +00:00 |
Arvid Norberg
|
1b60710493
|
support extensions removing torrents in tick()
|
2013-08-15 06:10:41 +00:00 |
Arvid Norberg
|
d782fc224c
|
merged SSL fix from RC_0_16
|
2013-08-05 16:20:25 +00:00 |
Arvid Norberg
|
9319c1e073
|
make it possible to add torrent plugins via add_torrent_params
|
2013-08-02 09:42:51 +00:00 |
Arvid Norberg
|
e7db8d37a2
|
merge deprecation of wstring overloads from RC_0_16
|
2013-08-02 05:03:22 +00:00 |
Arvid Norberg
|
c0a0769aea
|
merged fix from RC_0_16
|
2013-08-02 01:25:52 +00:00 |
Arvid Norberg
|
beae6cece0
|
merged ssl fix from RC_0_16
|
2013-07-28 15:06:28 +00:00 |
Arvid Norberg
|
3c7503beaa
|
remove unused member of alert_manager
|
2013-07-19 23:31:44 +00:00 |
Arvid Norberg
|
a401aa0337
|
cleaned up public interface by removing some symbols from the exported set
|
2013-07-19 19:06:27 +00:00 |
Arvid Norberg
|
9c9135bfc4
|
don't use pointers to resume_data and file_priorities in add_torrent_params
|
2013-07-17 20:21:48 +00:00 |
Arvid Norberg
|
8e43a80fe9
|
one more getpid() fix for windows
|
2013-06-18 08:48:19 +00:00 |
Arvid Norberg
|
dcfd69fbe3
|
fix request-logging build on windows
|
2013-06-18 03:18:47 +00:00 |
Arvid Norberg
|
a75a0581e3
|
improve error message for listen_failed_alert
|
2013-06-04 00:35:42 +00:00 |
Arvid Norberg
|
93993002ab
|
merged unchoke algorithm fix from RC_0_16
|
2013-06-01 22:33:11 +00:00 |
Arvid Norberg
|
df4fcaaeed
|
remove disable-dht build configuration from the public API (simplify linking)
|
2013-04-09 01:04:43 +00:00 |
Arvid Norberg
|
01f60fa20c
|
fix disk setting sync.
|
2013-03-21 01:45:12 +00:00 |
Arvid Norberg
|
59a95c8ed6
|
fix build
|
2013-03-17 22:16:57 +00:00 |
Arvid Norberg
|
8d8d160b35
|
a bit more robust error messaging when deleting files in a torrent
|
2013-03-17 00:50:33 +00:00 |
Arvid Norberg
|
a2a4b61b5d
|
fix library ABI to not depend on logging being enabled
|
2013-03-10 09:19:58 +00:00 |
Arvid Norberg
|
a0caa0f4b2
|
disable invariant_check functions when invariant checks are disabled
|
2013-02-25 04:13:46 +00:00 |