Commit Graph

61 Commits

Author SHA1 Message Date
Arvid Norberg 8f682d2ff7 merged string encoding of error messages fix from RC_0_16 2013-01-19 06:39:32 +00:00
Arvid Norberg bff648a89e update copyright dates and add tool to do so 2012-10-02 03:16:33 +00:00
Arvid Norberg b8149ead5c OS/2 (eCS) support 2012-09-24 16:13:57 +00:00
Arvid Norberg 47781bf2c5 cleanup, fix warnings 2012-02-15 10:57:49 +00:00
Arvid Norberg ab3b82b8ee replaced std::rand() with custom random generator 2011-02-26 07:55:51 +00:00
Arvid Norberg c4c1773ceb fixed some warnings 2011-02-15 10:05:25 +00:00
Arvid Norberg 9c3076481d hack to fix an issue in natpmp and upnp 2010-12-24 03:30:52 +00:00
Arvid Norberg f64679c297 fixed build warnings 2010-12-12 19:40:11 +00:00
Arvid Norberg 87c39fe3f6 fixed bug in natpmp 2010-12-12 18:16:35 +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 2e871382d7 add debug configuration to debug shutdown-stall bugs / outstanding async operations 2010-11-28 01:47:30 +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 dce2edb6cc fixed vs 2010 build 2010-04-30 19:08:16 +00:00
Arvid Norberg 2b5a886ff8 fixed nat-pmp bug 2009-12-07 04:40:36 +00:00
Arvid Norberg 1f5859d31f error_code fix. added is_error_code_enum template specialization and using the abbreviated syntax to build error_codes 2009-11-29 07:06:38 +00:00
Arvid Norberg d3b4e789ad natpmp fix 2009-11-28 03:15:06 +00:00
Arvid Norberg e750910798 fixed windows build 2009-11-27 07:08:47 +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 32a42bae99 removed some dependencies on stringstream 2009-04-13 04:22:03 +00:00
Arvid Norberg 41b2be779e fixed natpmp (broken in [3023]) 2008-12-19 19:27:58 +00:00
Arvid Norberg 3b7e484d6a various fixes for potential shutdown freezes 2008-12-07 20:25:04 +00:00
Arvid Norberg 4cc15f34ad fixed nat-pmp bug 2008-12-02 08:20:29 +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 bd44d730cc fixed bug in nat-pmp where it could access an out-of-bound vector element on shutdown 2008-09-24 02:20:13 +00:00
Arvid Norberg 42b5cad1f8 attempt to fix NAT-PMP hang on shutdown 2008-08-20 08:34:32 +00:00
Arvid Norberg dc60418357 renamed variable in natpmp to avoid warning 2008-08-11 15:28:27 +00:00
Arvid Norberg 148640f1ac fix natpmp stall at shutdown 2008-06-24 13:52:14 +00:00
Arvid Norberg fdbf86a53c boost 1.35 fix 2008-05-20 16:43:09 +00:00
Andrew Resch aed8f355b0 Make libtorrent build with boost <1.35 2008-05-20 06:03:46 +00:00
Arvid Norberg c7e6c04705 switched over to asio from boost-1.35 2008-05-03 16:05:42 +00:00
Arvid Norberg c3b60f1b8f modified get_default_gateway to not take an interface 2008-04-28 02:20:40 +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 f36e6a6c4f proper default gateway discovery 2008-01-11 09:38:05 +00:00
Arvid Norberg 599ed646f0 made natpmp build without exception support 2007-12-29 07:26:36 +00:00
Arvid Norberg fe5e88b548 natpmp close fix 2007-10-26 01:30:12 +00:00
Arvid Norberg 966800cd5b replaced the assert macro to TORRENT_ASSERT instead of hi-jacking assert. 2007-10-05 00:30:00 +00:00
Arvid Norberg 973e7be386 added router_for_interface along with a proper windows implementation. NAT-PMP support is now good on windows 2007-10-01 17:21:19 +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 57a76f9db6 fixed debug assert on linux 2007-09-10 06:12:41 +00:00
Arvid Norberg 8987d7077d refactoring in natpmp, upnp and lsd. made lsd (probably) work on windows 2007-05-17 02:54:13 +00:00
Arvid Norberg 633f174947 improved natpmp, upnp and lsd 2007-05-16 21:36:27 +00:00
Arvid Norberg 674e1f96b1 improved local IP guessing slightly 2007-05-16 18:58:31 +00:00
Arvid Norberg 90bff3d1ca Fixed building issues on windows with msvc-8.0 2007-04-17 21:18:35 +00:00