Steven Siloti
|
2d7875385e
|
fix assertion failure when detroying moved-from session
When a session object is moved, all of its shared_ptrs become empty.
Don't assert in the dtor due to this, just do nothing.
|
2020-03-31 05:06:16 -07:00 |
arvidn
|
65d6e83b1a
|
add support for TCP_NOTSENT_LOWAT
|
2020-03-04 13:16:54 +01:00 |
arvidn
|
c299004abf
|
undeprecate settings_pack::dht_upload_rate_limit. Make sure it doesn't overflow if set too high
|
2020-02-20 09:25:15 +01:00 |
arvidn
|
fa79697f45
|
deprecate (and remove) upnp_ignore_nonrouters setting
|
2020-01-16 10:35:50 +01:00 |
arvidn
|
69d85ed110
|
replace use of deprecated shared_ptr<>::unique with shared_ptr<>::use_count
|
2019-12-12 19:40:39 +01:00 |
arvidn
|
0c2d3a0dac
|
optimize setting with unlimited unchoke slots
|
2019-11-26 20:54:52 +01:00 |
arvidn
|
2bb7d92957
|
construct io_context with the hints that it's single-threaded
|
2019-11-21 08:34:28 +01:00 |
arvidn
|
4d88c83576
|
add rvalue reference overloads for add_torrent_params, settings_pack and session_params. Those structures are pretty large so being able to take them by rvalue reference may be beneficial
|
2018-11-13 08:05:56 +01:00 |
arvidn
|
78a344bd8b
|
merged RC_1_1 into master
|
2018-09-05 08:25:14 -07:00 |
arvidn
|
214ace3efe
|
raise default value for active_limit to 500, since it's supposed to be an upper sanity check limit
|
2018-09-02 19:25:06 +02:00 |
arvidn
|
b3dbce5790
|
merge RC_1_1 into master
|
2018-08-13 09:32:17 +02:00 |
arvidn
|
70d64327fd
|
bump checking_mem_usage to be higher than the default in the high_performance_seed preset
|
2018-08-02 23:15:51 +02:00 |
Arvid Norberg
|
b26467c04e
|
deprecate network-threads setting
|
2018-06-10 19:34:07 +02:00 |
arvidn
|
fe612ca167
|
replace the TORRENT_CFG ABI check with inline namespaces around the symbol that can change ABI based on build configuration options
|
2018-05-13 19:25:17 +02:00 |
arvidn
|
f0227451a6
|
merged RC_1_1 into master
|
2018-04-13 01:47:41 +02:00 |
arvidn
|
aaf9304a3b
|
update year in copyright header
|
2018-04-09 09:04:33 +02:00 |
arvidn
|
65fef972a2
|
apply some c++11 modernization
|
2018-01-11 04:51:39 -05:00 |
arvidn
|
5f0c9a0c1d
|
improve error handling during session shutdown
|
2017-12-28 13:52:07 +01:00 |
arvidn
|
87de08cb3d
|
improve type safety of plugin interface
|
2017-12-17 23:55:12 +01:00 |
arvidn
|
7b06a5ee6e
|
merged RC_1_1 into master
|
2017-12-13 12:36:35 +01:00 |
arvidn
|
86c83fe976
|
fix asio debugging
|
2017-12-12 10:11:09 -05:00 |
arvidn
|
c16eb32b94
|
merge RC_1_1 into master
|
2017-12-03 18:12:35 +01:00 |
arvidn
|
4b467f82ac
|
fix issue with initializing settings on session construction
|
2017-12-02 12:20:36 +01:00 |
arvidn
|
9e69bf3618
|
introduce a type to refer to a torrent-list-index, to improve type safety
|
2017-10-25 13:39:37 +02:00 |
arvidn
|
bb65acb082
|
make feature_flags proper type-safe
|
2017-10-14 23:33:48 +02:00 |
arvidn
|
bb51dcdbb9
|
move dht_settings into its own header cpp file-pair and dht_settings into the dht namespace
|
2017-09-04 22:38:16 +02:00 |
arvidn
|
f311bf354e
|
remove left-overs from disk buffer pool allocator
|
2017-08-21 16:36:00 +02:00 |
Steven Siloti
|
2365611507
|
remove support for using a pool allocator for disk buffers (#2257)
|
2017-08-19 11:04:39 +02:00 |
arvidn
|
322007bb6a
|
make save_state_flags a strong type
|
2017-07-30 09:06:41 -07:00 |
arvidn
|
6967d17a42
|
make move constructors and move assignment operators noexcept
|
2017-06-01 23:42:15 +02:00 |
Steven Siloti
|
353ab20280
|
make session_handle hold a weak_ptr and be copyable (#2034)
|
2017-05-28 06:41:50 -04:00 |
arvidn
|
480bde9333
|
change formatting of namespace declarations
|
2017-04-12 14:26:35 -04:00 |
arvidn
|
3ffa3f2a08
|
merged RC_1_1 into master
|
2017-02-17 00:35:49 -05:00 |
Arvid Norberg
|
116802fcdf
|
update tuning documentation (#1717)
update tuning documentation and make the stats header be posted when logging is disabled (if stats_notifications are enabled)
|
2017-02-16 07:03:43 -05:00 |
arvidn
|
7ff4f56ae2
|
add function to get default settings
|
2017-02-05 11:31:43 -05:00 |
Alden Torres
|
84e735c0ea
|
refactor for more use of move with settings_pack (#1162)
|
2016-09-28 13:28:43 -04:00 |
Arvid Norberg
|
3e7e806a77
|
deprecate old session_settings API (use settings_pack instead) (#1117)
deprecate old session_settings API (use settings_pack instead)
|
2016-09-20 23:49:23 -07:00 |
Alden Torres
|
6c31ea3d44
|
created dht state and session params refactor (#1100)
created dht state and session params refactor
|
2016-09-17 09:42:04 -04:00 |
Alden Torres
|
4d4eb66c8b
|
some refactor, more const refs and span use (#1078)
some refactor, more const refs and span use
|
2016-09-11 01:58:48 -04:00 |
Arvid Norberg
|
c310d15cac
|
deprecate some settings that aren't in use anymore (#1052)
|
2016-09-01 09:42:49 -04:00 |
Alden Torres
|
bf0008933a
|
refactor to use std::shared_ptr with peer_connection, core and tests (#1050)
|
2016-08-31 21:42:18 -04:00 |
arvidn
|
74fc0fae9d
|
merged RC_1_1 into master
|
2016-08-21 16:28:49 -04:00 |
Arvid Norberg
|
b701fb252a
|
clear alert nofify function when calling abort on a session, to avoid touching a destructed session object (#1015)
|
2016-08-20 11:04:44 -04:00 |
Alden Torres
|
7cee486cf7
|
extensions refactor to use span and std::shared_ptr (#1005)
extensions refactor to use span. use std::shared_ptr instead of boost::shared_ptr.
|
2016-08-17 14:30:24 -04:00 |
Alden Torres
|
9b0bc2ed5f
|
peer_plugin refactor (#1002)
refactor of ut_pex peer storage
|
2016-08-15 21:05:39 -04:00 |
arvidn
|
8c8c3d5587
|
replace boost::function with std::function
|
2016-08-13 07:07:26 -04:00 |
Alden Torres
|
74c8054e8d
|
created session_params and refactor (#993)
created session_params and new session constructor
|
2016-08-11 20:32:14 -04:00 |
Arvid Norberg
|
1bae47479b
|
make settings_pack moveable (#982)
|
2016-08-05 00:28:03 -04:00 |
Arvid Norberg
|
8c03718117
|
apply modernization transforms to headers too. nullptr, explicit constructors, = default (#903)
|
2016-07-10 14:27:42 -04:00 |
Arvid Norberg
|
a740a49fd6
|
modernize misc (#898)
modernize misc
|
2016-07-10 07:34:45 -04:00 |