arvidn
|
282c49d6b5
|
fix issue querying block size from torrent before metadata has been received
|
2018-03-05 10:30:47 +01:00 |
Alden Torres
|
d2e874fca8
|
headers code cleanup, removed unused fields in torrent class (#2775)
|
2018-02-06 08:32:19 +01:00 |
arvidn
|
15a8a17a6f
|
merged RC_1_1 into master
|
2018-02-05 08:55:15 +01:00 |
arvidn
|
01c41fadcf
|
fix torrent_status::next_announce
|
2018-01-29 15:08:18 +01:00 |
arvidn
|
a50579c651
|
merged RC_1_1 into master
|
2018-01-27 09:41:54 +01:00 |
d-komarov
|
fa03cbea9b
|
Revise torrent state update
* Remove unused m_in_state_updates
* Update m_state_subscription comments
|
2018-01-27 09:17:40 +01:00 |
arvidn
|
4fef787212
|
merged RC_1_1 into master
|
2018-01-24 00:37:05 +01:00 |
arvidn
|
efd096d879
|
use unique peer_ids per connection
|
2018-01-23 16:40:16 +01:00 |
arvidn
|
3a9861e237
|
complete the error handling test and make it part of the default simulation test suite. It will run a file transfer between two clients repeatedly, each time cause another memory allocation fail, until every single memory allocation has failed once. Any invariant check failure, assertion or signal will cause the test to fail
|
2018-01-08 04:44:52 -05:00 |
arvidn
|
0731200149
|
block_size is a constant, no need in passing it around as a variable
|
2018-01-03 08:45:25 -05:00 |
arvidn
|
672556b4b2
|
merged RC_1_1 into master
|
2017-12-30 18:17:57 +01:00 |
arvidn
|
00a36608b9
|
fix some typos
|
2017-12-29 02:29:42 +01:00 |
arvidn
|
8b3624b25b
|
remove_peer() and attach_peer() error handling
|
2017-12-28 14:26:19 +01:00 |
arvidn
|
aae12250ae
|
support forced shutdown/destruction of torrent objects
|
2017-12-28 14:11:55 +01:00 |
arvidn
|
56ca5fa63c
|
support asio handler allocators in deferred_handler
|
2017-12-26 09:44:51 +01:00 |
arvidn
|
a54f76d5df
|
deprecate status_code from tracker_error_alert (it's already part of the error_code), simplify code a bit
|
2017-12-19 00:55:51 +01:00 |
arvidn
|
d45de18ba7
|
merged RC_1_1 into master
|
2017-12-18 23:01:33 +01:00 |
arvidn
|
178281e1c5
|
make torrent_handler::set_priority() to use peer_classes
|
2017-12-18 00:56:44 +01:00 |
arvidn
|
87de08cb3d
|
improve type safety of plugin interface
|
2017-12-17 23:55:12 +01:00 |
arvidn
|
bb945f5cf4
|
introduce a proper type for pex flags to improve type-safety
|
2017-12-17 23:17:12 +01:00 |
Steven Siloti
|
9e0a3aead1
|
use info hash from params instead of passing it separately
|
2017-12-14 10:18:33 +01:00 |
arvidn
|
5e7666526e
|
fix IPv6 tracker announce issue
|
2017-11-23 10:11:59 +01:00 |
Alden Torres
|
c97bd53cde
|
more use of const, emplace_back and minor code refactor
|
2017-11-20 23:45:41 +01:00 |
arvidn
|
30a7b52855
|
use a proper optional value instead of a sentiel value for bytes_left()
|
2017-11-19 21:25:06 +01:00 |
arvidn
|
f262bbdcea
|
use seconds32 as the retry-time for web seeds
|
2017-11-19 16:20:36 +01:00 |
arvidn
|
b6a73eeaaa
|
simplify trigger_unchoke and trigger_optimistic_unchoke on session_impl, abd make them noexcept
|
2017-11-12 15:48:46 +01:00 |
arvidn
|
254f813626
|
factor out handler allocator and reuse it for posting deferred peer removals on torrents
|
2017-11-11 10:41:39 +01:00 |
arvidn
|
6785046c2f
|
introduce a download_priority_t type, for uniform an type-safe piece- and file priorities
|
2017-11-02 08:20:21 +01:00 |
arvidn
|
f57b90b500
|
introduce type for torrent queue_position
|
2017-11-01 10:52:45 +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 |
Arvid Norberg
|
60b74d2616
|
merged RC_1_1 into master
|
2017-10-10 14:25:12 +02:00 |
Arvid Norberg
|
830ef0bedd
|
prevent dependency on openssl from leaking outside of libtorrent (libssl and libcrypto should not be a usage requirement). This cleans up most tests to build without having to also link against openssl
|
2017-10-09 17:15:35 +02:00 |
arvidn
|
c66f4cc62a
|
fix some warnings, mostly 0 -> nullptr
|
2017-09-28 07:33:10 -07:00 |
arvidn
|
93bb84d94c
|
some random cleanup
|
2017-09-13 08:28:46 +02:00 |
arvidn
|
55228756e5
|
make disk job flags type safe
|
2017-09-10 08:56:52 +02:00 |
arvidn
|
95c8c3018a
|
use span in gzip, http_parser and http_connection
|
2017-09-04 22:33:38 +02:00 |
arvidn
|
7087a16b36
|
move some initialization of torrent from start() into the constructor
|
2017-09-02 21:24:00 +02:00 |
arvidn
|
865ff09a84
|
merge RC_1_1 into master
|
2017-08-10 16:44:57 +02:00 |
arvidn
|
dbea43ab35
|
fix typo in comment
|
2017-08-10 07:59:16 +02:00 |
arvidn
|
6b1037eff5
|
convert enum values that are just used as constants, to actual constants with the correct type
|
2017-08-04 15:23:20 +02:00 |
arvidn
|
322007bb6a
|
make save_state_flags a strong type
|
2017-07-30 09:06:41 -07:00 |
arvidn
|
69bd2986de
|
convert a few more torrent_handle flags to type safe types
|
2017-07-27 13:16:23 -07:00 |
arvidn
|
24e4263bae
|
make torrent status flags be type safe
|
2017-07-27 09:33:35 -07:00 |
arvidn
|
5222d92e9f
|
make resume_data_flags type safe
|
2017-07-27 00:07:15 -07:00 |
arvidn
|
c4659bc345
|
convert peer_flags and peer_source_flags to type-safe flags
|
2017-07-17 10:22:32 -07:00 |
arvidn
|
4947602a2f
|
make add_torrent_params::flags_t an enum class and move it out into its own header
|
2017-07-17 01:05:31 -07:00 |
AllSeeingEyeTolledEweSew
|
00655d562b
|
Refactor several flags to torrent_handle::get_flags/set_flags.
|
2017-07-17 01:05:31 -07:00 |
arvidn
|
73942de97a
|
carve out peer_list_entry into also being deprecated (it was only used by deprecated functions and some tests)
|
2017-07-16 19:20:29 -07:00 |
d-komarov
|
11d6a00bec
|
fix storage destruction order issue (#2138)
back-ported from b553cb32f7
|
2017-07-10 21:35:34 -07:00 |
arvidn
|
6967d17a42
|
make move constructors and move assignment operators noexcept
|
2017-06-01 23:42:15 +02:00 |