arvidn
|
9e69bf3618
|
introduce a type to refer to a torrent-list-index, to improve type safety
|
2017-10-25 13:39:37 +02:00 |
Alden Torres
|
b380bf8059
|
minor and general code cleanup/refactor
|
2017-10-25 09:58:47 +02:00 |
Alden Torres
|
174a2ca65f
|
add limit of max 50 upnp mappings and recover free global mappings (#2470)
|
2017-10-24 16:16:22 +02:00 |
pavel.pimenov
|
989a65f18e
|
upnp: reduce size NewPortMappingDescription
|
2017-10-24 12:27:46 +02:00 |
Alden Torres
|
1ce3483a9e
|
creating part file if needed only in set_file_priorities
|
2017-10-24 09:56:49 +02:00 |
Alden Torres
|
7216b69188
|
revert early return in session_impl::on_port_mapping and only check for error if cast_vote (#2468)
|
2017-10-24 09:54:57 +02:00 |
Alden Torres
|
6409cb42e1
|
fix implicit-fallthrough warnings with gcc 7
|
2017-10-23 19:18:33 +02:00 |
Alden Torres
|
bb409c5ee9
|
missing return if error in session_impl::on_port_mapping, doc typo (#2459)
|
2017-10-23 12:36:51 +02:00 |
arvidn
|
98effc8d88
|
minor disk_io_job piece_hash cleanup
|
2017-10-22 16:49:25 +02:00 |
Alden Torres
|
74ecf63906
|
close connection in upnp::on_upnp_xml and added abort/closing returns
|
2017-10-20 11:46:41 +02:00 |
arvidn
|
244d18dcf8
|
merged RC_1_1 into master
|
2017-10-17 09:38:51 +02:00 |
arvidn
|
205fe5e7ea
|
fix full allocation failure on APFS
|
2017-10-16 00:08:10 +02:00 |
Alden Torres
|
8083a6c2bd
|
some code indentation, one more use of nullptr and constexpr
|
2017-10-15 04:30:10 +02:00 |
arvidn
|
a6c85496b5
|
make parse_magnet_uri return the add_torrent_params instead of of taking an in-out parameter
|
2017-10-15 04:29:53 +02:00 |
arvidn
|
516df740a3
|
make session_handle::get_torrent_status return the vector instead of taking an out-parameter
|
2017-10-14 23:35:35 +02:00 |
arvidn
|
bb65acb082
|
make feature_flags proper type-safe
|
2017-10-14 23:33:48 +02:00 |
arvidn
|
f0bac4cac7
|
merged RC_1_1 into master
|
2017-10-14 15:22:22 +02:00 |
arvidn
|
8adcfdbf41
|
make disk_buffer_holder know the size of the bufer it holds, to fix buffer overrun in chained_buffer
fix
|
2017-10-13 21:07:31 +02:00 |
Alden Torres
|
58a76e26a8
|
fix warnings from asio/ssl includes
|
2017-10-13 21:06:42 +02:00 |
arvidn
|
8af89da689
|
fix GCC-4.9 build
|
2017-10-13 10:08:51 +02:00 |
Steven Siloti
|
2b72a7321a
|
send one last state update when a paused torrent's rates reach zero (#2436)
|
2017-10-11 23:10:40 +02:00 |
arvidn
|
85b6d98454
|
merged RC_1_1 into master
|
2017-10-11 11:19:02 +02:00 |
arvidn
|
f19cca1374
|
fix infinite loop when parsing certain invalid magnet links
|
2017-10-11 09:11:58 +02:00 |
arvidn
|
9111d5977e
|
make the variables holding the source of external IPs type-safe
|
2017-10-10 22:38:36 +02:00 |
Arvid Norberg
|
60b74d2616
|
merged RC_1_1 into master
|
2017-10-10 14:25:12 +02:00 |
arvidn
|
a9524550d7
|
don't delete pieces from cache with refcount > 0
|
2017-10-09 17:48:08 +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 |
Steven Siloti
|
0c6b17ed82
|
don't try to connect to a global address with a local source address
|
2017-10-09 01:10:26 +02:00 |
arvidn
|
1d15e6bfb4
|
merge RC_1_1 into master
|
2017-10-08 18:21:25 +02:00 |
arvidn
|
f080149081
|
fix parsing of torrents with certain invalid filenames
|
2017-10-08 15:54:08 +02:00 |
arvidn
|
cdd9f91999
|
fix leak of torrent_peer objecs (entries in peer_list)
|
2017-10-07 11:43:42 +02:00 |
arvidn
|
4e1c5738a2
|
back-port openssl API compat patch from master
|
2017-10-07 01:10:41 +02:00 |
Alden Torres
|
7f3c38025f
|
making use of openssl API 1.1 compatible
|
2017-10-06 11:03:16 +02:00 |
arvidn
|
ed31664ee3
|
deduce the second argument to iconv() instead of requiring it to be configured via a macro
|
2017-10-06 10:52:09 +02:00 |
arvidn
|
69dc73914a
|
merged RC_1_1 into master
|
2017-10-04 11:43:01 +02:00 |
Tim Niederhausen
|
7e748956e6
|
Provide a default ip_change_notifier implementation
Right now, compiling fails if there's no ip_change_notifier for the
current platform.
|
2017-10-04 08:56:55 +02:00 |
arvidn
|
99b19366a9
|
fix leak of peer_class objects (when setting per-torrent rate limits)
|
2017-10-03 17:32:49 +02:00 |
Alden Torres
|
27af8c398a
|
more use of emplace_back and const in create_torrent.cpp
|
2017-10-03 10:53:04 +02:00 |
arvidn
|
5f3661aaa2
|
back port overflow checking from master
|
2017-10-02 00:02:14 +02:00 |
arvidn
|
2ea5115bcc
|
fix the torrent_info size overflow check
|
2017-10-01 22:54:28 +02:00 |
arvidn
|
21fef88928
|
stricten up the filename sanitization a bit
|
2017-10-01 20:30:02 +02:00 |
arvidn
|
c0d76a5304
|
fix regression in torrent size check
|
2017-10-01 16:44:58 +02:00 |
arvidn
|
3255375095
|
back-port file name sanitization patch to RC_1_1
|
2017-10-01 16:44:10 +02:00 |
arvidn
|
33b03e1f8e
|
improve handling of case where a torrent file has no files in it
|
2017-10-01 10:53:43 +02:00 |
arvidn
|
5026659cb6
|
clean up and fix edge cases in update_path_index
|
2017-10-01 04:43:41 +02:00 |
arvidn
|
17d78d3b8f
|
fix bounds checking in parsing of gzip header
|
2017-10-01 03:33:38 +02:00 |
arvidn
|
9d276ada8a
|
fix issue with the name in single file torrents being sanitized away
|
2017-10-01 01:12:39 +02:00 |
arvidn
|
12e92aeeb4
|
make the chunk header parser a bit more strict and accurate (and not rely on there being a 0 termiator character)
|
2017-09-30 11:59:00 -07:00 |
Arvid Norberg
|
61733787f7
|
fix redundant assert in gzip header check
|
2017-09-29 23:51:45 -07:00 |
Arvid Norberg
|
86c37af147
|
fix integer overflow in torrent_info
|
2017-09-29 14:08:47 -07:00 |