Commit Graph

3205 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 adb250cf5c fixed missing logging of peer disconnects 2011-02-04 07:14:00 +00:00
Arvid Norberg fa40cf38aa demoted some errors to regular disconnect messages 2011-02-04 06:55:39 +00:00
Arvid Norberg 06d8142c5b checking torrents don't count in auto manage logic 2011-02-04 06:55:05 +00:00
Arvid Norberg 051936cd29 fixed typo 2011-02-04 06:44:05 +00:00
Arvid Norberg 19d6c53ad4 increase low watermark for disk write queue. log payload rates in session stats 2011-02-04 06:33:47 +00:00
Arvid Norberg 88663bfbde log more peer errors in stats log 2011-02-04 04:31:20 +00:00
Arvid Norberg 9715fbdb3a only post peer error alerts for actual errors 2011-02-04 03:49:20 +00:00
Arvid Norberg 907588db12 fixed bug in peer upload stats logging and adjusted bucket sizes for histogram 2011-02-04 03:24:55 +00:00
Arvid Norberg 4ed6b1a067 introduce a low watermark for disk io blocking connections 2011-02-04 03:02:23 +00:00
Arvid Norberg bf77ee4199 extended stats logging 2011-02-03 06:22:22 +00:00
Arvid Norberg 5456f2ac91 provide more stats with stats builds 2011-02-03 04:09:50 +00:00
Arvid Norberg 6018f82c00 bump max queued_disk_bytes in high_performance_seed 2011-02-02 08:01:22 +00:00
Arvid Norberg ddd4d84a1d fixed mingw build 2011-02-02 07:41:32 +00:00
Arvid Norberg 6ecf04137f fix stats build 2011-02-01 17:25:06 +00:00
Arvid Norberg 012bfba3f7 fix disk queue counters 2011-02-01 16:55:32 +00:00
Arvid Norberg b842815710 added new session functions to more efficiently query torrent status 2011-02-01 09:48:28 +00:00
Arvid Norberg 6692f05655 added alerts for added and removed torrents 2011-02-01 03:25:40 +00:00
Arvid Norberg 77a4ac782a udp socket cleanup and asserts 2011-01-31 06:31:22 +00:00
Arvid Norberg 3e4634097d mapped file resume data fixes 2011-01-31 00:47:09 +00:00
Arvid Norberg ad87e84e47 packet buffer comment fix and support for inserting NULLs 2011-01-30 19:35:20 +00:00
Arvid Norberg 19ae5440f2 make auto-manager kick in immediately when torrents are added and paused (reduces a 10 seconds delay) 2011-01-30 13:15:29 +00:00
Arvid Norberg d393bb4097 report number of peers blocked on disk in session_status 2011-01-30 10:04:15 +00:00
Arvid Norberg 0c16163e71 fix build with no extensions support 2011-01-29 12:13:49 +00:00
Arvid Norberg 87dfdd4790 expanded plugin interface to support session state. improved re-request logic in ut_metadata extension. made max metadata size configurable 2011-01-29 10:37:21 +00:00
Arvid Norberg e9f9d08fbe disabled uTP/TCP mixed-mode for high_performance preset 2011-01-28 18:23:54 +00:00
Arvid Norberg 2218b13ba0 fixed typo in ut_metadata 2011-01-28 03:49:20 +00:00
Arvid Norberg a0338f6d24 made the metadata block requesting algorithm more robust against hash check failures 2011-01-27 06:49:32 +00:00
Arvid Norberg eb47f06ef9 fix DHT cidr check 2011-01-26 03:12:46 +00:00
Arvid Norberg 4070c2d465 fixed stat_file issue on windows 2011-01-25 08:21:01 +00:00
Arvid Norberg fccd38d355 fixed last-seen-complete bug in torrent::status 2011-01-25 08:20:22 +00:00
Arvid Norberg b230c385d9 clean up logic around waiting for disk write queue to fall below low watermark. optimize peer disconnect. Fix integer overflow bug in uTP/TCP mixed mode algorithm. Fixed some invariant checks for closing connections issues 2011-01-25 08:03:35 +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 4602ff4b47 removed logging in destructor since it caused a race condition with the creation of the logger 2011-01-24 03:23:34 +00:00
Arvid Norberg 2732a6bc47 move alert queue size limit into session_settings. make some alerts non-discardable (don't throw them out, even when the queue is full). Make session pause also pause all checking files. optimize rejecting incoming connections when the session is paused 2011-01-23 18:00:52 +00:00
Arvid Norberg 0d2ba173a4 pex flood fix 2011-01-23 05:57:11 +00:00
Arvid Norberg 021a774168 rate limit outstanding-disk performance warnings. don't throttle reading form peers because of disk congestion if the peer isn't downloading payload. Don't time out peers that are not waiting on the network 2011-01-23 02:09:54 +00:00
Arvid Norberg de28a57954 add back version in DHT packets 2011-01-23 02:02:04 +00:00
Arvid Norberg ec6ef250bf fixed build warning 2011-01-22 19:47:11 +00:00
Arvid Norberg 1dc0e71716 added torrent_error_alert when a torrent encounters an error 2011-01-22 19:06:43 +00:00
Arvid Norberg 483870cd83 add runtime boundary checks for piece and file priority functions 2011-01-22 19:01:44 +00:00
Arvid Norberg 5c20606397 fixed race condition in iconv string converter 2011-01-22 04:33:21 +00:00
Arvid Norberg 6db9c5be31 update settings presets 2011-01-22 01:36:57 +00:00
Arvid Norberg c6c7ed16f6 added TODO comments 2011-01-20 06:17:27 +00:00
Arvid Norberg 6663f527da fixed error handling in torrent_info constructor 2011-01-19 10:07:51 +00:00
Arvid Norberg 99d2c4eea8 storage initialize fix 2011-01-19 09:19:26 +00:00
Arvid Norberg 557ddca693 fixed bug when remapping files 2011-01-19 08:42:17 +00:00
Arvid Norberg 59a7ee73dc fixed file allocation bug when existing files are larger than they're supposed to be 2011-01-19 07:39:55 +00:00