Commit Graph

1152 Commits

Author SHA1 Message Date
Arvid Norberg a8a74c3513 fixes files that were left open in write mode by mistake 2007-10-07 01:29:38 +00:00
Arvid Norberg bbd170562e policy invariant check fix 2007-10-06 21:15:44 +00:00
Arvid Norberg b9fcef5941 fixed static assert being hit on linux systems 2007-10-06 17:27:53 +00:00
Arvid Norberg f5f658f8fd fast extension fixes 2007-10-05 22:45:24 +00:00
Arvid Norberg 64057e3fb0 torrent fix 2007-10-05 17:31:02 +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 2940d253c3 completed fast reconnect fix 2007-10-04 21:26:50 +00:00
Arvid Norberg b75a1325cb fix to recent 'store banned peers' check-in 2007-10-04 17:29:11 +00:00
Arvid Norberg 7ddc7c2258 fast reconnect in case encrypted connection fails 2007-10-04 09:46:12 +00:00
Arvid Norberg d29fbdc453 added tests for fast extension features + fixes 2007-10-04 09:32:09 +00:00
Arvid Norberg c4c8d0f533 moved piece_finished_alert to debug level 2007-10-03 23:15:13 +00:00
Arvid Norberg 51f12e774e moved block_downloading_alert and block_finished_alert to debug level 2007-10-03 22:53:52 +00:00
Arvid Norberg f4f30f5b19 disk io priority fix 2007-10-03 22:30:40 +00:00
Arvid Norberg ab70e4e9c1 fix to http_connection 2007-10-03 22:23:18 +00:00
Arvid Norberg c9267431b9 fixed bug in storage 2007-10-03 18:27:07 +00:00
Arvid Norberg f85873263b fixed possible race condition in debug mode 2007-10-03 17:40:18 +00:00
Arvid Norberg 4cab49cbdf saves banned peers in resume data 2007-10-03 17:37:15 +00:00
Arvid Norberg c9d245e9f1 handles case where a request in the allow fast set is rejected 2007-10-03 16:57:20 +00:00
Arvid Norberg 2c71fa35d3 fixed potential race condition when removing a torrent that was just added 2007-10-03 01:21:28 +00:00
Arvid Norberg 5c3a73ccb9 fixed another policy bug 2007-10-03 00:55:06 +00:00
Arvid Norberg fd180c4294 fixed bug in policy 2007-10-02 20:30:53 +00:00
Arvid Norberg 3dcae188fb policy now has a map of peers instead of a flat list, makes it more efficient to do lookups 2007-10-02 19:11:04 +00:00
Arvid Norberg 16886741d0 release_files now keeps the torrent object alive 2007-10-02 18:34:34 +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 e5098bcdcc returns proper torrent state for checking torrents 2007-10-01 06:00:17 +00:00
Arvid Norberg 157362b447 DHT optimization by using unordered free instead of ordered free on the pool 2007-10-01 05:20:00 +00:00
Arvid Norberg 0b1a542aa9 added test for local service discovery 2007-10-01 02:09:12 +00:00
Arvid Norberg 1cbe23667b added check for valid allowed-fast messages 2007-10-01 01:12:00 +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 c65f33dfcc added chained buffer to makefiles 2007-09-29 21:08:05 +00:00
Arvid Norberg 9597b98f4d moved log_time() into session.cpp instead of being inlined 2007-09-29 20:35:55 +00:00
Arvid Norberg b48948e231 changed the double send buffers to a chained buffer using iovec send operations. buffers are recycled (saves memory and cpu) and memory copies are avoided (saves cpu). More statistics is added to track buffer usage 2007-09-29 16:14:03 +00:00
Arvid Norberg c0195ae221 fix for last optimization 2007-09-26 15:32:49 +00:00
Arvid Norberg d97f4cd835 optimization of static country table 2007-09-26 00:03:22 +00:00
Arvid Norberg d48236a738 changed http_parser slightly. uses http_parser in lsd.cpp. added more tests to the http_parser 2007-09-25 03:14:05 +00:00
Arvid Norberg 020902ac4c fixes problem with torrents that have a name.utf-8 entry 2007-09-24 18:51:04 +00:00
Arvid Norberg 6ad17a69a8 fixed missing ampersand in tracker request url 2007-09-23 23:02:26 +00:00
Arvid Norberg 6ce8d367a4 added error checking to endpoint to string conversion. fixes problem on systems without IPv6 support 2007-09-23 22:50:25 +00:00
Arvid Norberg 3b6aee6d86 switched out std::vector to use libtorrent::buffer as an optimization 2007-09-23 00:51:45 +00:00
Arvid Norberg b9d5854a99 IPv6 fix 2007-09-22 17:07:55 +00:00
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 022c38d5f4 added is_any(address) function 2007-09-22 16:26:03 +00:00
Arvid Norberg 1964cc0596 policy fix when allowing multiple connections per IP 2007-09-22 16:24:26 +00:00
Arvid Norberg 87c079033d fixed race condition in enum_net 2007-09-22 16:22:41 +00:00
Arvid Norberg 053f499ec6 better upnp support 2007-09-20 23:25:40 +00:00
Arvid Norberg 587d40e1ae updates to enum_net 2007-09-20 16:25:07 +00:00
Arvid Norberg fd3da79c6c fixed problems introduced in previous debugging session 2007-09-20 01:03:31 +00:00
Arvid Norberg e4265d1a56 removed debug output from previous check-in 2007-09-20 00:33:40 +00:00
Arvid Norberg ba437cf72e some more IPv6 support 2007-09-19 21:54:26 +00:00
Arvid Norberg 338eedf961 added storage assert, fixed policy assert 2007-09-19 19:55:11 +00:00