Commit Graph

3377 Commits

Author SHA1 Message Date
Arvid Norberg a15b23f8e8 fixed bug in buffer debug code in allocator 2011-04-17 08:39:52 +00:00
Arvid Norberg 8e92cad2db fixed bug in avoid_readback disk cache eviction algorithm 2011-04-17 05:33:33 +00:00
Arvid Norberg caed433cc7 make it possible to derive from default_storage class 2011-04-16 22:58:11 +00:00
Arvid Norberg e2d3e7c300 removed invalid assert 2011-04-16 19:25:39 +00:00
Arvid Norberg 554812f0ab improve buffer debugging by logging the call stack of where it was allocated and freed from 2011-04-15 08:37:27 +00:00
Arvid Norberg a7b8ae9e27 fixed BSD file allocation issue 2011-04-13 06:54:56 +00:00
Arvid Norberg 6a9865b7c9 fix invariant check for graceful pause 2011-04-11 02:57:32 +00:00
Arvid Norberg 35d8f7bc19 fix assert when checking multiple torrents and pausing session 2011-04-10 22:05:28 +00:00
Arvid Norberg c0f2d5186f added option to replace trackers or add trackers when loading trackers from resume data 2011-04-10 21:33:29 +00:00
Arvid Norberg 0c28a3e3ca fixed bug in session::delete_files option to remove_torrent 2011-04-10 20:35:45 +00:00
Arvid Norberg 381f42bcf2 fix mingw build 2011-04-10 03:45:13 +00:00
Arvid Norberg bcd44536a8 stack SOCKS5 UDP header buffer needs to fit at least 22 bytes 2011-04-10 02:29:35 +00:00
Arvid Norberg 3435da235d make is_upload_only() be accurate and deal with super seeding special case only where necessary. Fix pointless assert in invariant check 2011-04-09 23:57:56 +00:00
Arvid Norberg 087e4a3fdc fixed msvc build 2011-04-09 21:04:02 +00:00
Arvid Norberg e5720eafd8 fix crash in udp_socket when using SOCKS5 proxy 2011-04-09 17:59:00 +00:00
Arvid Norberg 8aae74ea03 make enum_net use feature ifdefs instead of platform ifdefs 2011-04-09 03:49:46 +00:00
Arvid Norberg 61ceaba6de fix shadowed variable warning 2011-04-08 04:47:26 +00:00
Arvid Norberg 78ef442997 clear log file pointer 2011-04-06 07:58:29 +00:00
Arvid Norberg 35038bc3eb fix rotating logs when enabling and disabling stats logging at run-time 2011-04-06 07:33:10 +00:00
Arvid Norberg 22f20253f8 support turning logging on and off during run-time when built with stats logging 2011-04-06 06:27:42 +00:00
Arvid Norberg f3a7d567a4 fix bug in disk thread and torrent abort functions 2011-04-04 02:57:19 +00:00
Arvid Norberg 572f176f99 fix assert when removing a torrent 2011-04-02 20:05:44 +00:00
Arvid Norberg 56ab4db2e7 fixed bug introduced when trying to fix a warning of shadowing variables 2011-04-02 19:54:30 +00:00
Arvid Norberg 35d2354c38 bump default .torrent file size limit for magnet files to 3 MB and add more verbose logging to ut_metadata.cpp 2011-04-02 08:13:35 +00:00
Arvid Norberg d4a9a9ae77 fixed issue in session_impl::on_disk 2011-04-01 08:08:41 +00:00
Arvid Norberg 38caeb43d2 use snprintf instead of sprintf 2011-03-30 16:04:24 +00:00
Arvid Norberg 113fa0ba3d fixed some shadowed variable warnings 2011-03-30 16:03:35 +00:00
Arvid Norberg 74ccff22be use a deque instead of list for disk io jobs queue 2011-03-28 06:01:24 +00:00
Arvid Norberg 428ab186af it appears the write queue performs just as good at 10 MB as 50 MB 2011-03-27 22:22:57 +00:00
Arvid Norberg fdd23fc629 introduce a lower pass download/upload rate and report in session log 2011-03-27 20:58:43 +00:00
Arvid Norberg f6a42863e3 try to optimize disk write performance by raising the low watermark (for disk thread queue) to start reading from sockets and also post the start-reading event earlier. Also implement fair round-robin of which peers get to start downloading on this event 2011-03-27 20:35:38 +00:00
Arvid Norberg 346a6fb175 another read job starvation fix + some more logging 2011-03-27 08:21:26 +00:00
Arvid Norberg 311f7f0e57 fixed typo 2011-03-27 08:05:57 +00:00
Arvid Norberg a0ceaed11d set read_job_every to 100 instead of 1000 in high_performance_seed preset 2011-03-27 06:16:39 +00:00
Arvid Norberg afc80b7e98 fix invalid assert that would trigger when allow_multiple_connections_per_ip was true 2011-03-27 06:07:23 +00:00
Arvid Norberg 41bc60c36a fixed bug in avoid_readback disk cache algorithm 2011-03-26 19:06:58 +00:00
Arvid Norberg 3d826ae32f figured out the weirdness in the session rate stats 2011-03-25 07:49:32 +00:00
Arvid Norberg 65943e7ff7 fixed reconnect delay when leaving upload only mode 2011-03-25 05:14:14 +00:00
Arvid Norberg d493b0f1a0 just some comments 2011-03-25 04:08:43 +00:00
Arvid Norberg 9344e95285 add missing include 2011-03-25 02:59:59 +00:00
Arvid Norberg 7e07f7469f fixed bug in web_connection_base when receiving chunked encoding and made sure the unit tests pass 2011-03-24 16:46:26 +00:00
Arvid Norberg 929c31a757 fix pex unit test and shave off a few seconds for pex 2011-03-24 03:34:06 +00:00
Arvid Norberg 29a523401e bump read_job_every for high performance seeds 2011-03-24 00:50:45 +00:00
Arvid Norberg 1ab853db40 properly back off when accept() returns EMFILE 2011-03-23 08:49:26 +00:00
Arvid Norberg e9459b4df8 rss fixes 2011-03-23 02:46:22 +00:00
Arvid Norberg 283b34c439 improve torrent file ordering optimization 2011-03-22 02:27:54 +00:00
Arvid Norberg d3f0875ed5 fixed division by zero 2011-03-21 08:19:00 +00:00
Arvid Norberg aabb862400 fixed windows build 2011-03-21 06:31:48 +00:00
Arvid Norberg 54dd2a06f5 add rss support to client_test 2011-03-21 04:59:45 +00:00
Arvid Norberg 16114ab27c fixed redirect bug in http connection 2011-03-21 02:11:39 +00:00