Commit Graph

2544 Commits

Author SHA1 Message Date
Arvid Norberg
f0134c1b11 improved disk error handling and expanded use of error_code in error reporting 2009-06-10 08:30:55 +00:00
Arvid Norberg
4554e06837 fixed bug when setting unlimited upload or download rates for torrents 2009-06-09 19:33:18 +00:00
Arvid Norberg
d263526246 make incoming connections considered connectable when they tell us their listen port 2009-06-09 16:33:10 +00:00
Arvid Norberg
cfbcacce79 fixed bug when handling malformed webseed urls and an http proxy 2009-06-09 16:00:10 +00:00
Arvid Norberg
8256a5628d fixed typo when using TORRENT_USE_OPENSSL 2009-06-09 15:43:56 +00:00
Arvid Norberg
33768fa282 fixed deadlock in http_tracker_connection 2009-06-09 05:51:10 +00:00
Arvid Norberg
18bc7c3fc7 fixed deadlock 2009-06-09 05:48:38 +00:00
Arvid Norberg
7eb78298f3 fixed windows build issue in file, as well as expanded the comment at the static assert 2009-06-09 05:46:51 +00:00
Arvid Norberg
e438a3ccfc more boost-1.34.1 fixes 2009-06-03 07:46:50 +00:00
Arvid Norberg
a9a12a2391 fix build with boost-1.34.1 2009-06-03 07:22:43 +00:00
Arvid Norberg
a061592619 udp_socket fix 2009-05-31 23:48:24 +00:00
Arvid Norberg
bd33814376 improve disk error handling 2009-05-31 22:41:53 +00:00
Arvid Norberg
0283f07aed more buffer categories to help debugging 2009-05-31 22:38:49 +00:00
Arvid Norberg
b2c5d8a563 include the piece index that failed in disk errors 2009-05-31 19:44:56 +00:00
Arvid Norberg
3e7bd46706 fixed handling of unaligned block requests 2009-05-31 19:33:54 +00:00
Arvid Norberg
524151c040 don't make more calls to the disk thread when aborting 2009-05-31 19:25:26 +00:00
Arvid Norberg
6b4fcfcd38 fixed assert 2009-05-31 10:43:29 +00:00
Arvid Norberg
d45e6cb118 fix bug in disk_io_thread 2009-05-31 10:15:45 +00:00
Arvid Norberg
177a7e881c fixed handling of dropped request 2009-05-31 05:50:07 +00:00
Andrew Resch
d230dfaf3a Fix upnp when checking for "http://" in control_url there is an improper substr call 2009-05-31 02:41:59 +00:00
Arvid Norberg
9effe8a54a fixed deadlock in http_connection. added two error codes for that class. Added more documentation on error_code 2009-05-30 18:50:38 +00:00
Arvid Norberg
31cae31ccc fix invariant check failure 2009-05-30 04:27:26 +00:00
Arvid Norberg
d25d09cb70 fixed assert in peer_connection invariant check 2009-05-30 04:03:57 +00:00
Arvid Norberg
bc83387583 fix uninitialized variable in disk_io_thread 2009-05-30 04:02:03 +00:00
Arvid Norberg
745a16ec09 watchdog for stalled queued checking torrents 2009-05-30 02:38:34 +00:00
Arvid Norberg
eb2203abf5 fixed torrent file path vulnerability 2009-05-28 07:25:09 +00:00
Arvid Norberg
3ea52b240f fixed memory leak in disk cache 2009-05-28 01:19:48 +00:00
Andrew Resch
6242ae051e added ability to give seeding torrents preference to active slots 2009-05-27 19:27:12 +00:00
Arvid Norberg
065bd283cf timer fixes 2009-05-27 17:06:50 +00:00
Arvid Norberg
c66dda1c9f fixed bug in disk cache flush, largest contiguous function 2009-05-27 16:50:46 +00:00
Arvid Norberg
e744174f9a removed dead code 2009-05-27 16:49:28 +00:00
Arvid Norberg
64c8834fbb updated tuning document for seed boxes 2009-05-27 06:37:45 +00:00
Daniel Wallin
bcfe8cbf2d Fix #ifdef typo. 2009-05-26 18:20:32 +00:00
Arvid Norberg
7b8ac7276c added some more asserts around m_outstanding_bytes 2009-05-26 16:12:09 +00:00
Arvid Norberg
f05777c2c2 fixed shutdown issue when trackers times out (introduced with the timer optimization) 2009-05-25 23:12:06 +00:00
Arvid Norberg
c695729bbe fixed bug when force-checking a torrent with partial pieces 2009-05-25 20:31:20 +00:00
Arvid Norberg
efb6ec5824 fixed expensive-invariant-checks build 2009-05-25 17:23:03 +00:00
Daniel Wallin
757b0437e9 Don't construct a temporary peer just for searching. Clean up some duplicate code. 2009-05-25 10:15:35 +00:00
Arvid Norberg
2cfb4e8205 printf formatting fixes 2009-05-25 08:55:43 +00:00
Arvid Norberg
9f7104b2d5 fixed makefiles 2009-05-25 07:47:24 +00:00
Arvid Norberg
bb47b2924c fix coalesce reads and writes setting 2009-05-25 07:46:31 +00:00
Arvid Norberg
aa02e36327 retry web seeds when name lookup fails instead of discarding them 2009-05-25 07:04:14 +00:00
Arvid Norberg
30c704523c caches the time every 100 ms and use the cache where high resolution timer is not needed 2009-05-25 02:45:51 +00:00
Daniel Wallin
68629eb6bc Split peer list into IPv4 and IPv6 peers. Saves 12 bytes per IPv4 peer. 2009-05-24 21:49:19 +00:00
Arvid Norberg
2f627a4b00 attempt to mitigate read cache thrashing 2009-05-24 16:49:01 +00:00
Arvid Norberg
29d56f9a8b improved read cache memory utilization 2009-05-24 15:32:14 +00:00
Arvid Norberg
a89d6cced1 clean up some disk cache duplication of logic and added another memory usage optimization for the write cache 2009-05-24 00:12:53 +00:00
Arvid Norberg
6b2148cb39 removed redundant code 2009-05-23 21:42:29 +00:00
Arvid Norberg
e3c07c0934 converted some recursive mutexes to regular ones 2009-05-23 21:36:09 +00:00
Arvid Norberg
ae8488fb91 improved read cache memory efficiency 2009-05-23 19:27:27 +00:00