Commit Graph
208 Commits
Author SHA1 Message Date
Arvid Norberg c48cdadcdb Merge branch 'RC_2_0' 2025-03-30 17:50:07 +02:00
Arvid NorbergandArvid Norberg b38e552c41 disable format-truncation warning for testing truncating format strings 2025-03-04 02:36:58 +01:00
arvidn 964ffc57ba merge RC_2_0 into master 2022-06-23 08:07:28 +02:00
arvidnandArvid Norberg 550d3c7d9f update copyright headers 2022-06-22 21:42:55 +02:00
arvidnandArvid Norberg 0d3f80bedd update copyright and license headers (of a few new files merged from RC_2_0) 2021-03-29 19:35:45 +02:00
arvidn b40801a3a3 merge RC_2_0 into master 2021-01-30 14:35:30 +01:00
arvidn fa53a4d723 merged RC_1_2 into RC_2_0 2021-01-26 23:17:05 +01:00
arvidnandArvid Norberg 1d27e66947 add dedicated error codes for SSRF mitigation and IDNA blocking 2021-01-23 22:24:38 +01:00
Alden TorresandArvid Norberg a8323d8270 moved socket_io.hpp to aux 2021-01-12 08:48:15 +01:00
arvidnandArvid Norberg 19e8c2f3ea remove full BSD license from all source files. reference LICENSE file in the root instead 2020-09-02 00:56:54 -07:00
arvidnandArvid Norberg 5935f63ead update copyrights 2020-09-01 05:14:17 -07:00
arvidnandArvid Norberg d25914c51c add test for byteswap 2020-08-05 02:26:54 -07:00
Alden TorresandArvid Norberg 233d1e46fc some fixes with export symbols 2020-07-16 23:17:20 -07:00
arvidnandArvid Norberg 9fd715ede9 separate announce_entry et.al into internal and public versions. This greatly simplifies internal changes without altering ABI 2020-02-08 14:42:07 +01:00
arvidnandArvid Norberg 84186c6c2a factor out ip address helpers from broadcast_socket and move broadcast socket into the test support library, as it's only used by tests now 2020-01-23 23:59:01 +01:00
arvidnandArvid Norberg a0b9918584 add a type-safe wrapper around clientdata 2019-12-30 19:30:37 +01:00
arvidn 16d2945d4f merged RC_1_2 into master 2019-12-17 19:48:29 +01:00
arvidnandArvid Norberg 68196dceae fix erroneous event=completed tracker announce when checking files 2019-12-15 11:21:46 +01:00
arvidn f0cd5dc086 merge RC_1_2 into master 2019-09-26 00:03:29 +02:00
arvidnandArvid Norberg 9c970550e3 fix clang warning on empty statements by fixing the test macros 2019-09-24 01:28:43 +02:00
arvidnandArvid Norberg d3f7a363c2 update copyright year 2019-08-29 00:13:04 +02:00
Steven SilotiandArvid Norberg 575eb32c71 announce hybrid torrents on both v1 and v2 infohashes 2019-08-10 09:28:38 -07:00
Steven SilotiandArvid Norberg 7768563324 parse v2 metadata 2019-08-10 09:28:38 -07:00
arvidnandArvid Norberg ae7d7b1d68 encapsulate torrent list and index 2019-04-18 16:50:15 +02:00
arvidnandArvid Norberg d140d1e20d update addresses 2019-02-11 20:19:08 +01:00
Arvid NorbergandArvid Norberg b90564d418 remove the IPv6 enable/disable build config 2018-08-19 22:20:54 +02:00
arvidnandArvid Norberg b3e26d08f0 fix GCC 7 warnings and improve test_primitives a bit 2018-07-20 23:35:49 +02:00
Alden TorresandArvid Norberg 95b753778d use TORRENT_ABI_VERSION for new error_code_enum deprecated values (#3099) 2018-06-12 00:46:22 +02:00
Steven Siloti f0ae2145ea use a handle class for listen sockets instead of raw pointers
Listen socket handles need to be week_ptr so that they can detect when a listen
socket is removed in the middle of a tracker announce on it. Use a wrapper class
to enforce that no one outside of session_impl can hold ownership of the socket
across event boundaries.

To support unit tests, listen_socket_t is also split into a base class which
holds the members needed to support the public listen socket API.
2017-07-21 19:18:44 -07:00
arvidnandArvid Norberg 749d0da875 make iovec_t an alias for span<char>, in preparation for removing it altogether in favour of span 2017-04-30 11:49:08 -04:00
Steven SilotiandArvid Norberg fd50630020 announce to trackers for all listen interfaces 2017-04-30 08:11:56 -04:00
arvidnandArvid Norberg d138f02424 introduce lt namespace alias 2017-04-23 23:43:58 -04:00
Arvid NorbergandGitHub 65a2413797 make parse_magnet_uri take a string_view instead of std::string (#1870)
make parse_magnet_uri take a string_view instead of std::string
2017-03-30 22:55:54 -04:00
arvidnandArvid Norberg 6929d051f1 fix build without deprecated functions 2017-03-09 00:19:02 -05:00
Arvid NorbergandGitHub 9e4045ed42 use 32 bit time points in torrent (#1662)
use 32 bit time points in torrent and add some slack to time point comparisons in python test
2017-02-05 19:18:06 -05:00
arvidnandArvid Norberg 20aeed09e1 clean up tests 2016-11-12 17:39:34 -05:00
arvidnandArvid Norberg c9333849e6 deprecate relative times in torrent_status, replaced by std::chrono::time_point 2016-11-12 17:37:10 -05:00
arvidn 500bb24dba merged RC_1_1 into master 2016-10-26 23:30:58 -04:00
Arvid NorbergandGitHub 61af222d92 add utility function for generating peer ID fingerprint (#1249)
add utility function for generating peer ID fingerprint
2016-10-25 08:03:26 -04:00
arvidn 6c805bd06d simplify print statements in tests 2016-10-09 20:23:45 -04:00
arvidn 9453fbd54b merged RC_1_1 into master 2016-10-09 20:09:44 -04:00
Arvid NorbergandGitHub 6bb2d7c017 Sanitize 1.1 (#1197)
enable address sanitizer
2016-10-09 17:00:20 -04:00
Arvid NorbergandGitHub 7a52a285a1 back-port error_code cleanup from master (#1173)
back-port error_code cleanup from master
2016-10-03 16:32:40 -07:00
Arvid NorbergandGitHub cebd976cc2 fix error_code vs. error_condition traits (#1169)
fix error_code vs. error_condition traits. deprecate get_*_category(), instead use *_category()
2016-10-02 12:27:50 -07:00
Alden TorresandArvid Norberg 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 TorresandArvid Norberg 4d96939b7b minor cleanup and refactor (#1016)
minor cleanup and refactor
2016-08-20 19:46:55 -04:00
arvidnandarvidn 83dba91168 use span for to_hex and from_hex functions 2016-07-29 18:42:18 -04:00
Arvid NorbergandGitHub ed077c8358 use cstdint intead of boost/cstdint.hpp (#833)
use cstdint intead of boost/cstdint.hpp
2016-06-18 14:01:38 -04:00
Arvid Norberg 8c8f5bb03b deprecated public to_hex() and from_hex() functions (#784) 2016-06-04 10:01:43 -04:00
Arvid Norberg 748af6eec1 general cleanup. remove valgrind markup, log_hash_failures and C headers (#752)
general cleanup. remove valgrind markup, log_hash_failures and C headers
2016-05-23 08:15:39 -04:00