Commit Graph

53 Commits

Author SHA1 Message Date
Arvid Norberg 25c3db1ded run cppcheck on simulations. suppress false positives 2026-04-09 16:42:44 +02:00
Arvid Norberg f51bffbd19 make torrent_info immutable to avoid copying it 2025-06-29 15:12:16 +02:00
arvidn 8e53eba82f Merge branch 'RC_2_0' 2023-08-26 11:15:27 +02:00
luzpaz 63373cf012 Fixes various typos
Found via `codespell -q 3 -S "*.pem,*.torrent,./docs/hunspell,./src/puff.cpp" -L bu,fo,folx,ihs,ot,readd,requestor,te`
2023-08-24 07:52:41 +02:00
arvidn 2e70c27abb merged RC_2_0 into master 2022-12-11 13:19:11 +01:00
ntfs.hard a58400b3fb Clarify printf argument flags 2022-10-22 22:15:28 +02:00
arvidn 24a42189f4 merged RC_2_0 into master 2022-09-24 16:22:22 +02:00
arvidn e950d14775 fix uses of deprecated functions in simulations 2022-09-23 17:04:16 +02:00
arvidn 11c54617fa merged RC_2_0 into master 2022-09-10 23:06:37 +02:00
arvidn 12392fd859 support incoming SOCKS5 packets with hostnames as source address, for UDP trackers 2022-09-10 12:03:54 +02:00
arvidn 8219b61d43 make the SOCKS5 client tolerate a domain name in the response to UDP ASSOCIATE (and ignore it). Patch by Andrei Borzenkov 2022-08-23 17:46:14 +02:00
arvidn 964ffc57ba merge RC_2_0 into master 2022-06-23 08:07:28 +02:00
arvidn f484a0eff6 rerun update_copyright.py 2021-12-07 21:13:48 +01:00
arvidn 2db8b54c08 update copyright headers in source files 2021-06-13 21:04:55 +02:00
Alden Torres 5a0936b4b3 moved deadline_timer.hpp and debug.hpp to aux (#5857) 2021-01-13 16:27:55 +01:00
arvidn 32975be1d0 restore add_torrent_params::info_hash and use add_torrent_params::info_hashes for the new v1 and v2 type 2020-08-16 08:27:20 -07:00
arvidn 70a2ac6649 merged RC_1_2 into RC_2_0 2020-06-05 14:01:08 +02:00
arvidn 0712c43c62 always announce listen port 1 when using a proxy 2020-06-03 09:18:50 +02:00
arvidn a8c41c0c31 merge RC_1_2 into master 2020-01-19 09:58:24 +01:00
arvidn 8be7ab559a remove outgoing udp sockets and replace with listen_socket_t 2020-01-19 08:27:33 +01:00
arvidn 7d816691b8 merged RC_1_2 into master 2020-01-11 18:21:12 +01:00
arvidn 1cdff958f1 minor fix to socks5 simulation 2020-01-08 13:44:45 +01:00
arvidn 614d10e34a introduce strong type for socket type index 2019-11-09 07:57:12 +00:00
arvidn 07971cd3e5 unify the internal namespace to be called aux, not detail 2019-08-29 00:15:07 +02:00
Steven Siloti 86be4287d3 add info hash type 2019-08-10 09:28:38 -07:00
arvidn 3494961a68 some work on getting simulations to work 2019-02-11 20:19:08 +01:00
arvidn eab1055938 more warnings on appveyor 2018-11-18 11:49:45 +01:00
arvidn b750b6cc2c deprecate (and disable) the force-proxy setting. Instead, always use the proxy when set, never fall back on circumventing it 2018-07-08 18:26:47 +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 9696082355 merged RC_1_1 into master 2018-02-25 09:36:12 +01:00
arvidn 1ede34da8a undo the patch to restore incoming TCP connections over SOCKS5 2018-02-19 00:01:42 +01:00
arvidn 308cbfe097 merged RC_1_1 into master 2018-01-27 02:36:55 +01:00
arvidn bc4d53c71f restore support for incoming connections over SOCKS5 (disabled by default) 2018-01-25 09:14:14 +01:00
arvidn e19736f925 fix simulation tests to make them not use deprecated functions 2017-07-26 18:00:03 -07:00
arvidn 680ca6ea2b merged RC_1_1 into master 2017-05-21 21:02:09 -04:00
arvidn acd98d5c40 delay 5 seconds before reconnecting socks5 proxy for UDP ASSOCIATE 2017-05-21 08:53:29 -04:00
arvidn d138f02424 introduce lt namespace alias 2017-04-23 23:43:58 -04:00
arvidn 0b6fe4d0bd merged RC_1_1 into master 2017-03-30 18:07:24 -04:00
arvidn 02bb1251d2 removed (broken) support for incoming connections over socks5 2017-03-29 02:15:43 -04:00
arvidn cde9457fdb fix merge issue 2016-12-22 01:13:17 -05:00
arvidn a2c4e7490e merged RC_1_1 into master 2016-12-20 01:16:13 -05:00
arvidn ad7e796d05 fix socks5 support for UDP. based on patch in https://github.com/arvidn/libtorrent/issues/1373 2016-12-19 23:52:53 -05:00
Alden Torres ded3ed6abf refactor in alert types to use more const fields and more clear API (#1222)
refactor in alert types to use more const fields and more clear API
2016-10-19 01:32:15 -04:00
arvidn 6c805bd06d simplify print statements in tests 2016-10-09 20:23:45 -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 bb388563b3 refactor to use torrent_info with std::shared_ptr (#1006) 2016-08-17 17:26:35 -04:00
Arvid Norberg 717ed8bd3b Msvc warnings (#822)
fix msvc warnings in python bindings and simulations
2016-06-18 19:24:27 -04:00
Arvid Norberg fa8232cd13 remove some old cruft and defines (#785)
remove some old cruft and defines
2016-06-04 10:03:13 -04:00
Arvid Norberg be67553897 simplify session pause mechanism by keeping two separate states in torrents and having the session explicitly tell torrents when it's pausing (#779) 2016-06-03 07:32:48 -04:00