arvidn
|
93bb84d94c
|
some random cleanup
|
2017-09-13 08:28:46 +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 |
Pavel Pimenov
|
4cee8104d7
|
add base_mapping_t (#2025)
factor out parts of mapping struct from NATPMP and UPnP
|
2017-05-27 20:26:47 -04: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
|
480bde9333
|
change formatting of namespace declarations
|
2017-04-12 14:26:35 -04:00 |
Alden Torres
|
a31ba7972d
|
fixing sign-conversion warnings, part 3 (#1537)
fixing sign-conversion warnings, part 3. making aux::vector index type default to int
|
2017-01-13 01:55:29 -05:00 |
Alden Torres
|
3b4867046f
|
fixing sign-conversion warnings, part 2
|
2017-01-10 20:19:03 -05: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
|
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
|
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 |
arvidn
|
0ce5a4c664
|
improve robustness in natpmp code a bit
|
2016-05-23 22:46:46 -04:00 |
Arvid Norberg
|
178a41b187
|
clean up natpmp logging infrastructure a bit as well as test_peer_list (#735)
clean up natpmp logging infrastructure a bit as well as test_peer_list
|
2016-05-18 01:54:37 -04:00 |
arvidn
|
60c119c52d
|
remove mutex in natpmp
|
2016-05-01 12:28:16 -04:00 |
Arvid Norberg
|
20b41ad0b9
|
Threads (#671)
use std::thread, std::mutex, std::condition_variable instead of pulling them in from boost.asio internals.
|
2016-04-30 18:54:23 -04:00 |
arvidn
|
d8b88ba381
|
include protocol in portmap_alert
|
2016-02-21 19:16:00 -05:00 |
arvidn
|
1f9f588e75
|
merge copyright year update and changelog from RC_1_0
|
2016-01-17 18:57:46 -05:00 |
arvidn
|
9af8841244
|
remove some unnecessary asio typedefs in the libtorrent namespace, just pull ip::tcp and ip::udp
|
2015-06-06 13:49:18 -04:00 |
Arvid Norberg
|
d43f7b56a2
|
update copyright year
|
2015-06-03 05:18:48 +00:00 |
Arvid Norberg
|
3951377d95
|
fix include paths for warning push and pop headers
|
2015-04-21 01:16:28 +00:00 |
Arvid Norberg
|
51e86ca2d5
|
more warning fixes and cleanup
|
2015-04-18 22:00:27 +00:00 |
Arvid Norberg
|
c1dc982f4f
|
deprecate the ptime type and related time types. just use boost::chrono / std::chrono
|
2015-03-12 04:34:54 +00:00 |
Arvid Norberg
|
0f37e3403c
|
transition from intrusive_ptr to shared_ptr. don't export initialize_default_settings
|
2015-01-06 08:08:49 +00:00 |
Arvid Norberg
|
a943fec777
|
update copyright
|
2014-02-23 19:12:25 +00:00 |
Arvid Norberg
|
4e6b1cfbfb
|
update copyright
|
2013-12-25 17:07:16 +00:00 |
Arvid Norberg
|
f1f89123e8
|
don't count pad-files as partial download pieces in the piece picker. prioritize which immutable dht items to keep also based on distance from our ID. remove some todo comments that probably should not be done
|
2013-09-14 10:08:31 +00:00 |
Arvid Norberg
|
a401aa0337
|
cleaned up public interface by removing some symbols from the exported set
|
2013-07-19 19:06:27 +00:00 |
Arvid Norberg
|
3fcd67b574
|
minor rearranging and comments
|
2013-07-19 16:30:26 +00:00 |
Arvid Norberg
|
bff648a89e
|
update copyright dates and add tool to do so
|
2012-10-02 03:16:33 +00:00 |
Arvid Norberg
|
779014ddac
|
support requesting UPnP and NAT-PMP routers for our external IP address
|
2010-12-05 20:40:28 +00:00 |
Arvid Norberg
|
29c5b99bba
|
fixed natpmp retry issue
|
2010-09-30 06:33:42 +00:00 |
Arvid Norberg
|
b882914461
|
refactored socket reading code to not use async. operations unnecessarily
|
2010-06-18 04:43:20 +00:00 |
Arvid Norberg
|
6343fe6a6d
|
optimized header dependencies to lower build time
|
2009-11-23 08:38:50 +00:00 |
Arvid Norberg
|
8a5b7d5d36
|
got rid of the last recursive mutexes. abstracted the threading primitives (and switched over to use asio's internal ones).
|
2009-10-20 02:49:56 +00:00 |
Arvid Norberg
|
6de02f9895
|
fixed deadlock in natpmp implementation
|
2009-09-22 04:01:01 +00:00 |
Arvid Norberg
|
6c67da08d6
|
split socket.hpp up in multiple headers to lower build time somewhat
|
2009-09-16 03:46:36 +00:00 |
Arvid Norberg
|
7328b30517
|
fixed potential deadlock in natpmp and upnp
|
2009-06-13 08:04:53 +00:00 |
Arvid Norberg
|
07bcb3545a
|
converted a whole lot of error strings into error_codes. Documented some previously undocumented alerts as well as all the error codes
|
2009-06-12 16:40:38 +00:00 |
Arvid Norberg
|
6ca1c191b6
|
some windows fixes for dynamic linking
|
2009-04-30 17:30:14 +00:00 |
Arvid Norberg
|
86b794b105
|
fix logging build
|
2008-12-28 03:01:36 +00:00 |
Arvid Norberg
|
a48ffe36e0
|
improved natpmp logging and handling of mapped ports in session
|
2008-11-16 02:11:04 +00:00 |
Arvid Norberg
|
0ed75c3f64
|
made nat-pmp generate alerts as well, just like upnp
|
2008-10-22 07:06:58 +00:00 |
Arvid Norberg
|
c7e6c04705
|
switched over to asio from boost-1.35
|
2008-05-03 16:05:42 +00:00 |
Arvid Norberg
|
2e6b9c2dce
|
revamped part of the port mapping code (UPnP and NAT-PMP). Added documentation for start_{lsd,natpmp,upnp} and stop_{lsd,natpmp,upnp}
|
2008-04-06 19:17:58 +00:00 |
Arvid Norberg
|
599ed646f0
|
made natpmp build without exception support
|
2007-12-29 07:26:36 +00:00 |
Arvid Norberg
|
0048f343cd
|
upnp, natpmp and lsd now have proper lifetime management by using intrusive_ptr
|
2007-09-29 21:31:51 +00:00 |
Arvid Norberg
|
306d015924
|
added a timer abstraction and replaced the use of boost.date_time. the timers used now are QueryPerformanceCounter on windows, mach_absolute_time on darwin and currently falls back on boost.date_time on other platforms. This has the advantage of being a monotonic clock, and also slightly more efficient
|
2007-04-04 22:27:36 +00:00 |