Commit Graph

207 Commits

Author SHA1 Message Date
Arvid Norberg
2e93b92cb4 more IPv6 fixes. support for multihomed machines by listening on multiple interfaces. added listen_succeeded_alert to advertize which interfaces are being listened on 2007-09-22 16:27:29 +00:00
Arvid Norberg
7bbfb3bd4b added a userdata parameter to add_torrent that is passed in to plugins 2007-09-14 00:11:33 +00:00
Arvid Norberg
9246de00bd listen socket refactoring 2007-09-10 19:10:38 +00:00
Arvid Norberg
8b59f0e466 fix for reuseaddr 2007-09-10 16:47:43 +00:00
Arvid Norberg
4b63d8aaaf set reusaddr on the listen socket 2007-09-10 09:54:26 +00:00
Arvid Norberg
025a982b00 explicitly closes the listen socket 2007-09-10 09:23:04 +00:00
Arvid Norberg
ee5ce50502 made max half open connections default to 8 on windows and added query function for that limit on session. 2007-09-10 01:57:40 +00:00
Arvid Norberg
0d02fe0539 upnp and lsd update. added a broadcast_socket and made the upnp connection use the locally bound ip to specify its address in the soap requests 2007-09-09 23:52:34 +00:00
Arvid Norberg
4269451bbe session_impl fix 2007-09-08 18:18:09 +00:00
Arvid Norberg
4e8d49d028 applied patch from #145 2007-09-03 22:27:52 +00:00
Arvid Norberg
c8088459a0 made torrent_info reference counted and held by a boost::intrusive_ptr 2007-09-01 03:00:31 +00:00
Arvid Norberg
e248ba0cdc added asserts to make sure the global connection limit is not exceeded 2007-08-27 16:45:45 +00:00
Arvid Norberg
a5e985ec7c fixed choke bug 2007-08-22 18:50:53 +00:00
Arvid Norberg
744d96796b made it possible to start torrents in paused state. updated documentation 2007-08-22 05:31:42 +00:00
Arvid Norberg
1399b623bc choke count fixes 2007-08-21 21:51:29 +00:00
Arvid Norberg
e074b0a977 removed too expensive invariant checks 2007-08-21 19:18:06 +00:00
Arvid Norberg
4da3366a27 added invariant checks to session_impl 2007-08-21 18:33:28 +00:00
Arvid Norberg
23a20a24c1 added more asserts for choke/unchoke states and a peer_info flag to indicate a peer being optimistically unchoked 2007-08-21 17:45:28 +00:00
Arvid Norberg
b8e48c061e attempt to fix build errors on windows. #134 2007-08-21 04:46:17 +00:00
Arvid Norberg
e80653152b choked fix 2007-08-19 08:32:39 +00:00
Arvid Norberg
da525292fe some more asserts 2007-08-19 08:23:44 +00:00
Arvid Norberg
3d3df51d45 fixed per torrent unchoke limit 2007-08-17 07:37:08 +00:00
Arvid Norberg
834873a15e fixed unlimited settings check 2007-08-17 03:43:26 +00:00
Arvid Norberg
b05500570c added parenthesis around std::min and std::max for msvc compatibility 2007-08-16 22:14:17 +00:00
Arvid Norberg
f8979ff932 applied patch from #97 2007-08-16 19:41:28 +00:00
Arvid Norberg
4ac1ac8a1f removed allocate_resources. switched to a global unchoker and connection distribution 2007-08-16 12:41:46 +00:00
Arvid Norberg
5dfba92665 fixed #101 2007-08-07 07:35:21 +00:00
Arvid Norberg
f67deba30e fixed #81 2007-07-26 07:04:35 +00:00
Arvid Norberg
3050e35adf disabled lsd for private torrents 2007-07-23 00:38:31 +00:00
Arvid Norberg
4d912eddf4 added openssl cleanup (to make leak detectors not complain) 2007-07-06 23:06:58 +00:00
Arvid Norberg
e714e1aeba improved bandwidth limiter and added a unit test for it 2007-07-02 23:48:06 +00:00
Arvid Norberg
5efe12dde6 fixed bug reported by Marcos Pinto where an exception was not cought properly 2007-06-13 18:28:55 +00:00
Arvid Norberg
3b8670626a merged back async_io branch into trunk 2007-06-10 20:46:09 +00:00
Arvid Norberg
a7ad108e8a made the unchoke interval configurable 2007-06-07 22:37:58 +00:00
Arvid Norberg
273f8bd921 merged back encryption branch to trunk 2007-06-06 00:41:20 +00:00
Arvid Norberg
d0412a2244 added port filter for outgoing connections 2007-06-01 01:05:57 +00:00
Arvid Norberg
31247c046a supports turning on and off upnp, natpmp and lsd. All ofthem are now off by default 2007-05-31 00:21:54 +00:00
Arvid Norberg
c10e74f4fc improved control over the rate of connection attempts 2007-05-25 21:00:35 +00:00
Arvid Norberg
4ff4ddeae7 added more shutdown logging 2007-05-24 19:51:14 +00:00
Arvid Norberg
510966f2a5 fixed fast resume data bug when using full allocation mode, and moved parts of resume data generation to the storage 2007-05-24 18:53:55 +00:00
Arvid Norberg
58b23a79e7 exception fixes 2007-05-24 17:07:43 +00:00
Arvid Norberg
883773e8fa added shutdown logging and tracker manager shutdown flag 2007-05-23 01:02:46 +00:00
Arvid Norberg
1d68e10684 made it build in msvc by inserting ; at the end of function try blocks 2007-05-16 01:17:14 +00:00
Arvid Norberg
0436ab2ec8 added filename extension to statistics log 2007-05-14 04:49:08 +00:00
Arvid Norberg
419ac258de more statistics 2007-05-14 04:01:30 +00:00
Arvid Norberg
dcad9b3031 fixed warning 2007-05-14 03:50:19 +00:00
Arvid Norberg
4a906aa31d added option for session statistics output 2007-05-13 22:01:21 +00:00
Arvid Norberg
9f902e7b9f the DHT now refreshes buckets properly. 2007-05-12 01:52:25 +00:00
Arvid Norberg
9ffde51404 fixed a bug caused by file_pool being destructed before torrents, and torrents using the file pool in their destructors 2007-05-11 23:41:31 +00:00
Arvid Norberg
4371dbe02c fixed resume data problem caused by recent piece_picker optimization 2007-05-09 03:18:53 +00:00