Commit Graph

58 Commits

Author SHA1 Message Date
Arvid Norberg 127fc0bd93 merged udp socket fix to 0.15 branch and made some more fixes to it 2011-02-06 00:34:52 +00:00
Arvid Norberg 5690444178 fixed bug in udp_socket where there would be two outstanding async read operations on the socket 2011-02-05 21:19:33 +00:00
Arvid Norberg 4c0c322387 use free/malloc instead of realloc in udp_socket 2011-02-05 09:39:15 +00:00
Arvid Norberg 77a4ac782a udp socket cleanup and asserts 2011-01-31 06:31:22 +00:00
Arvid Norberg 9964b9cdb6 support a separate option to use proxies for peers or not 2011-01-24 03:24:28 +00:00
Arvid Norberg 35aaec3b38 fix read buffer bug in udp_socket 2011-01-19 07:16:45 +00:00
Arvid Norberg e5f980d80d merged uTP branch into trunk (yay) 2010-11-29 01:33:05 +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 d937716af0 use PtrToPtr64 for scatter/gather I/O operations 2010-11-22 00:54:39 +00:00
Arvid Norberg 554e329f57 remove udp_socket mutex 2010-09-25 21:39:27 +00:00
Arvid Norberg e6d400084e fix to start async operations inside the network thread to maintain thread safety within asio 2010-09-25 20:07:27 +00:00
Arvid Norberg afd5567969 session::set_tracker_proxy fix for udp trackers 2010-08-21 22:07:29 +00:00
Arvid Norberg d1d6814e2f drop proxied incoming packets if the source IP doesn't match the proxy 2010-08-20 07:13:05 +00:00
Arvid Norberg fd5f1bf80b improved SOCKS5 support 2010-08-03 09:08:37 +00:00
Arvid Norberg f27e24ba98 fixed rate limit bug for DHT 2010-07-28 18:43:56 +00:00
Arvid Norberg ef48c92a4e fixed SOCKS5 bug for routing UDP packets 2010-07-25 01:31:15 +00:00
Arvid Norberg eed5ec97a6 fix issue with UDP socket closing before UDP trackers having a chance of sending stopped event 2010-07-18 02:49:26 +00:00
Arvid Norberg 70ea511409 fixed rate limited udp socket timer issue 2010-07-03 02:57:21 +00:00
Arvid Norberg b96e0a448e udp socket debugging and asserts 2010-02-21 20:15:07 +00:00
Arvid Norberg 09a1023eb3 fixed issue with UDP over SOCKS5. Added a udp tracker to the unit test to make sure it works. Added tracker tests for all proxies 2010-02-18 04:37:02 +00:00
Arvid Norberg 8c02d04d2e UDP tracker optimization 2010-02-06 08:14:18 +00:00
Arvid Norberg deb363e53b removed floating point operation in rate limited udp socket 2009-11-01 03:18:00 +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 6c67da08d6 split socket.hpp up in multiple headers to lower build time somewhat 2009-09-16 03:46:36 +00:00
Arvid Norberg a061592619 udp_socket fix 2009-05-31 23:48:24 +00:00
Arvid Norberg 4724051841 fixed assert in udp_socket 2009-04-13 17:52:45 +00:00
Arvid Norberg b5bb51c6af cut out more IPv6 code if not supported 2009-04-04 16:59:53 +00:00
Arvid Norberg 8030454c96 fixes problem whith lexical_cast being locale dependent 2009-01-27 06:17:55 +00:00
Arvid Norberg 6c6af0c0a0 added missing license header 2009-01-26 18:15:20 +00:00
Arvid Norberg b0a72f6809 fixed dead-lock when setting DHT proxy 2009-01-06 17:45:32 +00:00
Arvid Norberg 469fe10107 udp_socket fix believed to fix #445 2008-12-28 01:50:55 +00:00
Arvid Norberg 4bd0d2d2e6 added resolver cancellation to http_connection and udp_socket. might prevent potential shutdown stalls 2008-12-20 18:27:09 +00:00
Arvid Norberg d850a9ea38 utp socket fix 2008-12-19 06:20:09 +00:00
Arvid Norberg 6d3d58020a udp_socket fixes and extra asserts 2008-12-12 09:20:27 +00:00
Arvid Norberg 3b7e484d6a various fixes for potential shutdown freezes 2008-12-07 20:25:04 +00:00
Arvid Norberg 09b3a865ef fixed compiler flags in pkg-config file and made header files not depend on the NDEBUG define 2008-11-29 21:33:21 +00:00
Arvid Norberg 2cd1838f38 exception fix in udp_socket 2008-11-24 19:19:27 +00:00
Arvid Norberg ce544e2300 DHT rate limiter fixes 2008-11-09 00:37:03 +00:00
Arvid Norberg 3ed38059aa rate_limited_udp_socket fixes 2008-11-08 21:44:24 +00:00
Arvid Norberg 9bba20cdb4 first pass at rate limited udp socket (for DHT) 2008-11-08 17:40:06 +00:00
Arvid Norberg dabaff9980 fixed bug in recent udp_socket fix 2008-09-26 17:42:39 +00:00
Arvid Norberg 61af2370f3 fixed release build of udp_socket 2008-09-24 17:25:45 +00:00
Arvid Norberg eaa071818e fixed typo in previous patch 2008-09-23 03:19:08 +00:00
Arvid Norberg 74593d6014 fixed deadlock in udp_socket 2008-09-23 03:09:08 +00:00
Arvid Norberg ba8163ca9c fixed bug in udp_socket when the sockets own lifetime was dependent on the callback 2008-09-22 23:43:21 +00:00
Arvid Norberg 67f1242836 added mutex to udp_socket and posts the callback instead of calling it directly 2008-09-19 17:31:16 +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 1607acd0f8 fixed typo 2008-04-22 21:02:05 +00:00
Arvid Norberg e8e5308e6b udp socket fix 2008-04-22 20:56:10 +00:00