Commit Graph

3006 Commits

Author SHA1 Message Date
Arvid Norberg fe714b4b89 fixed torrent checking race condition 2009-02-09 02:04:43 +00:00
Arvid Norberg 41ff39605b removed unused member variable 2009-02-08 20:26:25 +00:00
Arvid Norberg ba0f894c7c avoid adding a torrent to the checking queue twice 2009-02-08 01:29:09 +00:00
Arvid Norberg c0d43b8110 resume data errors should always be logged, regardless of the alert being active 2009-02-08 00:05:27 +00:00
Arvid Norberg 6c8617ffc3 added more verbose logging for web_peer_connection 2009-02-07 22:20:13 +00:00
Arvid Norberg 7744718b44 added error message to invalid_torrent_file exception (will be replaced by error_code at some point) 2009-02-07 19:18:48 +00:00
Arvid Norberg cf55883d0f read_resume_data fix 2009-02-07 06:12:32 +00:00
Arvid Norberg 7ddffbac64 fixed windows build 2009-02-06 17:59:49 +00:00
Arvid Norberg 5c12db28d2 added option to lock disk cache in physical memory 2009-02-06 09:46:13 +00:00
Arvid Norberg 7607286f50 fixing bug where the trailing bits in bitfields were not set to 0. Fixes #482 2009-02-06 08:51:25 +00:00
Arvid Norberg bcd93da465 fixed encryption asserts 2009-02-04 05:51:00 +00:00
Arvid Norberg 532a5f477d fixed checking files issue 2009-02-03 17:35:41 +00:00
Arvid Norberg 1ac8f806fa added seed mode support (lazy hash checking) 2009-02-03 07:46:24 +00:00
Arvid Norberg a0333f82db added script to update all files with a libtorrent version number in them 2009-01-29 00:35:57 +00:00
Arvid Norberg 26910eff1d update_settings fixes for disk_io_thread 2009-01-28 07:09:10 +00:00
Arvid Norberg 2623037482 local peers are excempt from unchoke slots. #469 2009-01-28 06:14:21 +00:00
Arvid Norberg c3a1d5b245 fixed build error introduced in lexical_cast fix (logging builds would fail) 2009-01-28 05:49:21 +00:00
Arvid Norberg 8bcdb333e0 fix typo in comment 2009-01-28 05:19:19 +00:00
Arvid Norberg b245d45570 fixed encryption bug 2009-01-28 04:20:05 +00:00
Arvid Norberg e2431d8cd3 added missing include 2009-01-27 19:11:39 +00:00
Arvid Norberg 0ba2e2cdbd fixed issue where torrents that failed checking would not resume checking when the error was cleared. One side effect of this fix is that it should now be possible to pause checking torrents with the 0.14 branch 2009-01-27 09:18:51 +00:00
Arvid Norberg 3cdf9c87a8 fixed build errors on Solaris 2009-01-27 08:24:48 +00:00
Arvid Norberg 37c48117b0 fix potential bug (and warning on sunpro) in the send_buffer signature 2009-01-27 06:57:55 +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 c951ab3507 fixed potential problem if there are not enough references to a peer_connection when its disconnected 2009-01-25 02:45:31 +00:00
Arvid Norberg 9888ab62d6 allow torrents sharing files as long as they're both opened in read-only mode 2009-01-25 01:58:49 +00:00
Arvid Norberg fd8a07ac15 fixed dht race condition (confirmed to work on windows too) 2009-01-24 18:29:33 +00:00
Arvid Norberg fe94f17835 fixed assert in torrent::bytes_done() 2009-01-24 18:11:06 +00:00
Andrew Resch 11c21f2abe Add a std::pair to tuple converter
Add 'outgoing_ports' to session_settings
2009-01-24 05:29:23 +00:00
Arvid Norberg 76cea23b4c cleanup of previous check-in. fixing boost-1.34 compatibility and syntax error 2009-01-23 17:06:23 +00:00
Arvid Norberg 9b5aa967b0 fixed race condition when saving DHT state 2009-01-23 16:40:00 +00:00
Arvid Norberg 2b4a49ea19 small dht status cleanup 2009-01-23 10:36:07 +00:00
Arvid Norberg b3a17b1787 added disk buffer instrumentation and log parser 2009-01-23 09:13:31 +00:00
Arvid Norberg daf759f92f improved documentation related to pausing torrents that are auto managed 2009-01-22 03:02:16 +00:00
Arvid Norberg 2454919be3 fixed typo in python binding 2009-01-21 23:41:26 +00:00
Arvid Norberg 00808473e7 factor out disk_buffer_pool from disk_io_thread. refactored the file open modes to be platform independent. gave the disk_io_thread its own copy of session_settings that it shares with storage. added an unaligned_read implementation to storage. Added options to session_settings on when to open files in unbuffered mode. Added unit tests for unaligned reads 2009-01-21 07:31:49 +00:00
Arvid Norberg 9a9f08f70f enables teredo support on windows 2009-01-21 01:39:13 +00:00
Arvid Norberg 8d6c1527ae fixed bug in http_connection when binding to a particular IP 2009-01-19 22:17:48 +00:00
Arvid Norberg f722731799 fixed division by zero when loading an empty torrent 2009-01-19 10:05:48 +00:00
Arvid Norberg cc86f78aa5 fixed assert 2009-01-19 09:52:08 +00:00
Arvid Norberg 0703054079 fix test_piece_picker to work with recently added speed_affinity flag 2009-01-19 09:47:18 +00:00
Arvid Norberg 6b379c7137 catch exceptions from TEST_CHECK 2009-01-19 09:30:38 +00:00
Arvid Norberg 52f7bbc185 assert that we always have an error code when a file fails to open 2009-01-19 09:26:11 +00:00
Arvid Norberg cedea0980f separate alignment requirements for file offset and buffer address 2009-01-19 09:21:21 +00:00
Arvid Norberg d506bcd5de prevent torrent optimization in unit test 2009-01-19 08:46:45 +00:00
Arvid Norberg 8aa43b682b listen port cleanup 2009-01-19 08:31:31 +00:00
Arvid Norberg dceb879f50 added missing include directive 2009-01-17 19:45:14 +00:00
Arvid Norberg 8a500f4b58 added missing include statement 2009-01-17 19:32:03 +00:00
Arvid Norberg c8a784a513 added invariant check in on_piece_checked to narrow down #472 2009-01-17 19:00:09 +00:00