Commit Graph

75 Commits

Author SHA1 Message Date
Arvid Norberg 412e32d52d fix msvc warnings 2026-02-15 18:18:02 +01:00
Arvid Norberg c375d7a842 in peer_log_alert, turn string literal into an enum 2025-02-04 17:08:28 +01:00
arvidn 8e53eba82f Merge branch 'RC_2_0' 2023-08-26 11:15:27 +02:00
Lwxiang 8b128d66cc TEST(peer_list): add clear_peers unittest for peer_list 2023-08-24 14:34:10 +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 fe1ab09890 merged RC_2_0 into master 2023-04-17 21:40:10 +02:00
arvidn 272828e1cc fix peer_list to support incoming i2p connections 2023-04-17 10:42:06 +02:00
arvidn 743602ae20 merged RC_2_0 into master 2023-04-11 14:05:11 +02:00
arvidn 5c0931438c expose i2p peer destination (b32 address) in peer_info 2023-04-10 13:19:19 +02:00
arvidn 4aab4cbe24 fix sorting of torrent_peer entries when mixing i2p and non-i2p peers 2023-04-10 13:19:19 +02:00
arvidn 52ad1941a9 merged RC_2_0 into master 2023-02-25 11:38:08 +01:00
arvidn 2c97421323 report back the full endpoint of peers removed from the peer list when applying a port_filter and include it in the peer_blocked_alert 2023-02-13 10:47:06 +01:00
arvidn 2db8b54c08 update copyright headers in source files 2021-06-13 21:04:55 +02:00
arvidn 7aa3b48c05 merged RC_2_0 into master 2021-05-31 02:17:36 +02:00
arvidn 55024f9614 merged RC_1_2 into RC_2_0 2021-05-30 20:50:36 +02:00
arvidn 2a466da9fb remove unused paused field from torrent_state 2021-05-30 20:15:28 +02:00
arvidn 0d3f80bedd update copyright and license headers (of a few new files merged from RC_2_0) 2021-03-29 19:35:45 +02:00
Alden Torres a8323d8270 moved socket_io.hpp to aux 2021-01-12 08:48:15 +01:00
Alden Torres 999035a200 moved random.hpp to aux 2021-01-11 23:58:31 +01:00
arvidn 19e8c2f3ea remove full BSD license from all source files. reference LICENSE file in the root instead 2020-09-02 00:56:54 -07:00
Alden Torres 149b79836a moved stat.hpp and stat_cache.hpp to aux 2020-08-25 05:41:55 -07:00
Alden Torres b0b68508e2 moved torrent_peer.hpp and torrent_peer_allocator.hpp to aux 2020-08-21 02:29:05 -07:00
Alden Torres 41e97d6bc7 moved peer_list.hpp and stack_allocator.hpp to aux 2020-07-27 13:59:18 -07:00
Alden Torres 1474e53ba1 moved ip_voter.hpp and io.hpp to aux 2020-07-25 03:24:42 -07:00
arvidn d3f7a363c2 update copyright year 2019-08-29 00:13:04 +02:00
Arvid Norberg fc7b61a6f3 improve type-safety of the severity parameter to peer_connection::disconnect() 2018-09-06 16:42:04 -07:00
Arvid Norberg fef1b947f3 fix issue in self-connection detection introduced with the change to generate unique peer-ids for each connection. Now, the torrent keeps track of all of our peer-ids generated for outgoing (bittorrent) connections, and we check them against incoming peers' peer-ids 2018-08-19 22:19:53 +02:00
arvidn 9696082355 merged RC_1_1 into master 2018-02-25 09:36:12 +01:00
arvidn 24dea1f845 fix tie-break in duplicate peer connection disconnect logic 2018-02-21 21:04:28 +01:00
Alden Torres 4abeacdf33 fixing warnings in tests code, part8 2018-01-31 01:14:23 +01:00
Alden Torres 73a7050185 fixing warnings in tests code, part7 2018-01-30 12:34:53 +01:00
Alden Torres 070d1cd61f fixing warnings in tests code, part5 (#2736) 2018-01-28 00:56:21 +01:00
Alden Torres 6d5b90968b fixing warnings in tests code, part4 2018-01-27 09:18:26 +01:00
Alden Torres 8d379dd944 fixing warnings in tests code, part3 2018-01-25 09:09:21 +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 bb945f5cf4 introduce a proper type for pex flags to improve type-safety 2017-12-17 23:17:12 +01:00
arvidn 1d15e6bfb4 merge RC_1_1 into master 2017-10-08 18:21:25 +02:00
arvidn cdd9f91999 fix leak of torrent_peer objecs (entries in peer_list) 2017-10-07 11:43:42 +02:00
arvidn 865ff09a84 merge RC_1_1 into master 2017-08-10 16:44:57 +02:00
arvidn 1f3730fa5a fix force-recheck issue (new files would not be picked up) 2017-08-06 09:49:51 +02:00
arvidn c4659bc345 convert peer_flags and peer_source_flags to type-safe flags 2017-07-17 10:22:32 -07:00
arvidn d138f02424 introduce lt namespace alias 2017-04-23 23:43:58 -04:00
Steven Siloti b9169609df support separate external ip for each interface (#1383)
support separate external ip for each interface
2016-12-04 15:58:51 -05:00
arvidn 20aeed09e1 clean up tests 2016-11-12 17:39:34 -05:00
Alden Torres 6751a1eeb1 removed spaces in template types and more c++11 auto/loop refactor 2016-10-26 00:08:00 -04:00
Arvid Norberg 6148984426 remove whitespace at end of line (#1245) 2016-10-22 11:47:24 -04:00
arvidn 6c805bd06d simplify print statements in tests 2016-10-09 20:23:45 -04:00
Alden Torres 224ebc1ded peer_connection log related optimization (#1086)
peer_connection log related optimization and making m_alert_mask atomic
2016-09-13 17:07:22 -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