Commit Graph

3467 Commits

Author SHA1 Message Date
Arvid Norberg 90d8030269 log VM stats alongside the session stats 2011-06-28 22:20:34 +00:00
Arvid Norberg 209b9e4186 make disk timing be average over the last second. fixed some other bugs in previous changes 2011-06-26 19:45:33 +00:00
Arvid Norberg c647e95244 adjust default read cache line size and log IOPS in session stats 2011-06-26 19:00:40 +00:00
Arvid Norberg 2e70f92003 back ported simplification of stats logging code from aio branch 2011-06-26 18:43:23 +00:00
Arvid Norberg f5d6f885e3 fixed bug in next_announce_in 2011-06-25 19:29:06 +00:00
Arvid Norberg 0093229d27 merge diff from aio branch to show partially bdecoded files with dump_torrent 2011-06-25 17:42:49 +00:00
Arvid Norberg 69bbee8932 fix assert in torrent_info 2011-06-25 17:24:26 +00:00
Arvid Norberg d47f8a11dc possible end-game fix 2011-06-23 17:17:51 +00:00
Arvid Norberg c390dd5858 measure uTP send delay and log it in stats log. change unit on times to seconds (from milliseconds and microseconds) 2011-06-21 07:44:13 +00:00
Arvid Norberg 3e5b165a91 fix invariant check defines 2011-06-21 07:10:54 +00:00
Arvid Norberg b9e754d14d mark some invariant checks in disk_io_thread as expensive 2011-06-21 05:10:32 +00:00
Arvid Norberg ae3fc48b80 add some session settings to the settings map 2011-06-21 04:39:04 +00:00
Arvid Norberg de799e1100 fix issue in session_impl::remove_torrent which would cause it to throw 2011-06-21 02:02:58 +00:00
Arvid Norberg 39a68729a5 add instrumentation for mixed mode 2011-06-20 04:33:46 +00:00
Arvid Norberg 060b849dda factor encryption handler a bit and add proposal for an authentication extension 2011-06-18 16:58:36 +00:00
Arvid Norberg 1b5ee819cd fixed unaligned disk access for unbuffered I/O in windows 2011-06-17 15:10:40 +00:00
Arvid Norberg 67b79cdd69 fix windows assert 2011-06-17 06:55:40 +00:00
Arvid Norberg ec30fe5f9b fix build issue with statistics enabled 2011-06-16 00:28:36 +00:00
Arvid Norberg a18649dc9b bump the max metadata size to 2 megabytes 2011-06-15 23:59:44 +00:00
Arvid Norberg 78c6bd3b08 fix signature for set_alert_mask 2011-06-13 16:46:46 +00:00
Arvid Norberg a5c3554a87 log number of peers in end-game mode 2011-06-13 16:20:21 +00:00
Arvid Norberg d6c8184381 support locking files 2011-06-09 06:08:24 +00:00
Arvid Norberg 67ad61fd0a fix invalid assert for resume data being loaded 2011-06-09 05:46:47 +00:00
Arvid Norberg 887423ef1e fix comment 2011-06-08 08:45:28 +00:00
Arvid Norberg 7bea10a698 fixed unbuffered disk read/write 2011-06-07 08:18:51 +00:00
Arvid Norberg f6f516bed0 fix file_storage copy constructor (would break python bindings) 2011-06-06 07:47:29 +00:00
Arvid Norberg 57f24128a9 add more default reporting about the request and download queue of peers to track end-game stall issue 2011-06-06 04:24:12 +00:00
Arvid Norberg 44c95ebbc5 fix build error 2011-06-05 23:37:33 +00:00
Arvid Norberg b8614a36b3 fix resume state for paused when torrent was in graceful pause mode 2011-06-05 20:48:00 +00:00
Arvid Norberg f60e88e7f8 fix crash when passing in an uninitialized entry to session::load_state 2011-06-05 06:42:51 +00:00
Arvid Norberg 68dee0342b minor fix 2011-06-05 06:32:00 +00:00
Arvid Norberg df003ef57c fix checking behavior when pausing/resuming the session 2011-06-05 03:06:34 +00:00
Arvid Norberg 4a914852cc support torrents whose name is empty 2011-06-03 08:48:33 +00:00
Arvid Norberg ebba1f3c57 fix assert when pausing session while checking torrents 2011-06-03 08:40:13 +00:00
Arvid Norberg 1a927787b1 distinguish between an empty name and missing name in torrent files 2011-06-02 22:15:42 +00:00
Arvid Norberg ae76e77065 fix up some cases where we shouldn't be in end-game mode 2011-06-01 09:14:21 +00:00
Arvid Norberg 8190744f0c fix DHT error messages to either not be sent or contain valid transaction IDs 2011-06-01 07:44:33 +00:00
Arvid Norberg 05e91f1a6d fix uninitialized sequence number for session stats logs 2011-06-01 07:06:20 +00:00
Arvid Norberg 0c35fde81c memory usage optimization in policy::peer 2011-06-01 06:47:57 +00:00
Arvid Norberg 5dbc41447d fixed build issue 2011-05-28 00:55:47 +00:00
Arvid Norberg b4a141a26c cleanup ut_metadata 2011-05-27 22:47:14 +00:00
Arvid Norberg e6640de205 updated IP->ID formula for DHT 2011-05-26 17:04:53 +00:00
Arvid Norberg d855bcc815 fix potential crash when peers get disconnected when we announce pieces to them 2011-05-25 16:06:51 +00:00
Arvid Norberg 2bb53ce6e8 fix non-openssl builds and improved error messages for mutable puts 2011-05-25 02:41:48 +00:00
Arvid Norberg 6fa1827c39 add support for mutable put/get functions in DHT 2011-05-25 02:26:07 +00:00
Arvid Norberg 5bbbf0cd41 add rsa sign and verification functions for future DHT extensions 2011-05-23 23:42:52 +00:00
Arvid Norberg f13de88b63 fixed dht logging build 2011-05-23 06:37:43 +00:00
Arvid Norberg 6830eb10a9 remove old search code from DHT. modify announce-item to fit with more recent proposal of get/put. Only immutable entries for now 2011-05-23 05:07:52 +00:00
Arvid Norberg 58d723012a support DHT scrape 2011-05-23 00:45:36 +00:00
Arvid Norberg 88fa0b9393 optimize send buffer allocation and deallocation by not allowing requiring contiguous buffers 2011-05-19 02:41:28 +00:00