arvidn
550d3c7d9f
update copyright headers
2022-06-22 21:42:55 +02:00
arvidn
be8313e35e
merge RC_1_2 into RC_2_0
2022-05-22 14:17:25 +02:00
arvidn
b4820ab874
fix test_upnp
2022-05-22 13:55:27 +02:00
arvidn
5935f63ead
update copyrights
2020-09-01 05:14:17 -07:00
arvidn
d9d52f6c86
fix test_upnp
2020-08-15 23:21:38 -07:00
arvidn
be5e59fad4
merged RC_1_2 into master
2020-03-21 11:42:37 +01:00
arvidn
61a923e9b8
make UPnP port-mapping lease duration configurable, and default to 1 hour leases
2020-03-19 16:12:11 -07:00
arvidn
fdf4514d4f
remove is_loopback. use member function is_loopback instead
2020-02-28 19:03:02 +01:00
arvidn
1dd4a06f06
clean up association between listen_socket_t an port mappers (upnp and natpmp) to atrribute repnses to the correct one. Also include local address in port map alerts and lsd alerts
2020-01-26 11:39:57 +01:00
arvidn
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
arvidn
206935c25b
merged RC_1_2 into master
2020-01-21 19:41:59 +01:00
arvidn
b5ea5bb82c
move upnp mapper to have one per listen_socket_t. simplify the upnp logic to only deal with a single network.
2020-01-20 14:27:16 +01:00
arvidn
b8726bd4f6
refactor discover_device() away from upnp
2020-01-20 14:27:16 +01:00
arvidn
9dfff3677f
merged RC_1_2 into master
2020-01-18 11:05:07 +01:00
arvidn
fa79697f45
deprecate (and remove) upnp_ignore_nonrouters setting
2020-01-16 10:35:50 +01:00
arvidn
659a78eb56
improve test_upnp by responding with a unicast message
2020-01-15 08:03:33 +01:00
arvidn
d3f7a363c2
update copyright year
2019-08-29 00:13:04 +02:00
arvidn
cff805e021
more io_service -> io_context fixes
2019-02-11 20:19:08 +01:00
arvidn
d140d1e20d
update addresses
2019-02-11 20:19:08 +01:00
arvidn
b74aa8e94d
use restart() instead of reset(), on io_context
2019-02-11 20:19:08 +01:00
arvidn
d0e95ea698
replace io_service with io_context
2019-02-11 20:19:08 +01:00
arvidn
9696082355
merged RC_1_1 into master
2018-02-25 09:36:12 +01:00
d_komarov
eb9f7c488b
Minor test changes
...
* Fix warning in test/CMakeLists.txt
* Fix router name check in test_upnp
2018-02-21 09:20:02 +01:00
d-komarov
b922ea86c9
Fix some tests
...
* Fix test_remove_torrent fails when torrent is downloaded too quick
* Fix typo when printing session alerts
* Fix test_lsd and test_upnp on multi-homed systems
* Fix test_tracker 'connect_alert' predicate
2018-02-19 23:23:15 +01:00
Alden Torres
4abeacdf33
fixing warnings in tests code, part8
2018-01-31 01:14:23 +01:00
Alden Torres
7262118177
fixing warnings in tests code, part2 ( #2718 )
2018-01-23 19:23:57 +01:00
Alden Torres
13e54a3da8
fixing warnings in tests code, part1 ( #2700 )
2018-01-19 22:40:39 +01:00
arvidn
a01274ce2c
broadcast socket handler take a span
2018-01-14 20:21:42 -05:00
arvidn
65fef972a2
apply some c++11 modernization
2018-01-11 04:51:39 -05: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
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
11f008e90e
use a strong typedef for port mapping id
2017-09-02 07:02:07 +02:00
Arvid Norberg
f734ad067b
straighten out some type-safety in port mapping enums ( #2285 )
2017-08-30 20:47:49 +02:00
arvidn
e0fa1cd247
merged RC_1_1 into master
2017-05-12 21:46:45 -04:00
arvidn
ff63557f58
bind upnp requests to correct local address
2017-05-12 18:17:38 -04:00
arvidn
d138f02424
introduce lt namespace alias
2017-04-23 23:43:58 -04:00
arvidn
79d7ae3638
separate path and filesystem functions out into its own translation unit/header file pair, separating it from the file and directory class
2017-04-11 18:07:55 -04:00
Arvid Norberg
57f52adc88
various cleanup ( #1497 )
...
* various cleanup
* fix
* cleanup
2017-01-06 01:39:01 -05:00
arvidn
a087a283de
make tests print to stdout instead of stderr
2017-01-02 11:28:41 -05:00
arvidn
6c805bd06d
simplify print statements in tests
2016-10-09 20:23:45 -04:00
Arvid Norberg
219b2c36b4
upnp and natpmp modernization and cleanup ( #1103 )
...
upnp and natpmp modernization and cleanup
2016-09-18 10:11:56 -04:00
Alden Torres
d94c317f02
created portmap_callback and refactor for natpmp and upnp log optimization ( #1096 )
...
created portmap_callback and refactor for natpmp and upnp log optimization
2016-09-16 09:53:17 -04:00
Alden Torres
bf0008933a
refactor to use std::shared_ptr with peer_connection, core and tests ( #1050 )
2016-08-31 21:42:18 -04:00
Alden Torres
e2487c4d24
more use of std::shared_ptr refactor
2016-08-30 10:10:53 -04:00
arvidn
8c8c3d5587
replace boost::function with std::function
2016-08-13 07:07:26 -04:00
Arvid Norberg
4f803353cf
transition part of http_parser to use span ( #936 )
...
transition parts of http_parser to use span
2016-07-24 00:52:20 -07:00
Arvid Norberg
770935cd46
modernize-use-nullptr ( #894 )
2016-07-09 16:26:26 -04:00
Arvid Norberg
eda956f13a
use standard library for suspending threads ( #855 )
...
use standard library for suspending threads
2016-06-26 09:24:06 -04:00
Arvid Norberg
21c1540ace
clean up natpmp and upnp logging ( #842 )
...
clean up natpmp and upnp logging. remove custom logging macro and use regular logging via alerts. honor TORRENT_DISABLE_LOGGING
2016-06-23 01:23:59 -04:00