Arvid Norberg
|
601443afd3
|
close files in separate thread on systems where close() may block (Mac OS X for instance)
|
2011-08-07 04:41:10 +00:00 |
Arvid Norberg
|
5f5ba94462
|
cleared some variables in constructors and got rid of an unnecessary constructor
|
2011-02-25 04:28:32 +00:00 |
Arvid Norberg
|
2e69366b02
|
reverted part of the file_storage API to match the previous one more closly
|
2010-11-29 05:44:29 +00:00 |
Arvid Norberg
|
894db973e8
|
optimized memory usage of torrent_info and file_storage
|
2010-11-24 23:49:22 +00:00 |
Arvid Norberg
|
b7b542f587
|
optimized file_pool lookups and string handling
|
2010-08-23 08:48:02 +00:00 |
Arvid Norberg
|
a046850130
|
support disk I/O priority setting
|
2010-01-23 03:02:32 +00:00 |
Arvid Norberg
|
a5586d154d
|
more header dependency optimizations
|
2009-11-25 06:55:34 +00:00 |
Arvid Norberg
|
c418165e07
|
replaced boost.filesystem with custom functions (improves efficiency and drops unnecessary dependencies and improves libtorrent portability)
|
2009-10-26 01:29:39 +00:00 |
Arvid Norberg
|
8a5b7d5d36
|
got rid of the last recursive mutexes. abstracted the threading primitives (and switched over to use asio's internal ones).
|
2009-10-20 02:49:56 +00:00 |
Arvid Norberg
|
599543e889
|
automatically caps files and connections by default to rlimit
|
2009-10-03 19:02:31 +00:00 |
Arvid Norberg
|
9523d88909
|
made file_pool use std::map instead of multi-index, and use std::string::operator< instead of the quite inefficient filesystem::path::operator<
|
2009-05-09 21:11:25 +00:00 |
Arvid Norberg
|
535f668c5d
|
simplified the file interface
|
2008-10-19 05:03:17 +00:00 |
Arvid Norberg
|
3cb1369385
|
improved error reporting of file errors (uses boost.system's error_code). Now permission errors are properly reported when checking files
|
2008-07-17 23:41:46 +00:00 |
Arvid Norberg
|
3910fe78de
|
separated file_storage from torrent_info and create_torrent
|
2008-05-28 08:44:40 +00:00 |
Arvid Norberg
|
9f44c577d7
|
updated file_win and file_pool error handling
|
2008-02-25 04:41:21 +00:00 |
Arvid Norberg
|
79cfdb609f
|
fixed threading problem in file_pool
|
2007-04-12 05:08:23 +00:00 |
Arvid Norberg
|
d88ffcc0e4
|
removed some more unecessary boost.date_time dependencies
|
2007-04-10 07:52:58 +00:00 |
Arvid Norberg
|
306d015924
|
added a timer abstraction and replaced the use of boost.date_time. the timers used now are QueryPerformanceCounter on windows, mach_absolute_time on darwin and currently falls back on boost.date_time on other platforms. This has the advantage of being a monotonic clock, and also slightly more efficient
|
2007-04-04 22:27:36 +00:00 |
Arvid Norberg
|
955a947863
|
added missing newline at the end of file
|
2006-11-24 14:27:14 +00:00 |
Arvid Norberg
|
01f1d01d58
|
improved logging, fixed option to allow multiple connections from the same IP
|
2006-11-15 21:39:58 +00:00 |
Arvid Norberg
|
51e3261dd0
|
the file pool has been moved to the session and its size can be controlled via session_settings. Added untested option to allow multiple connections from the same IP.
|
2006-11-14 15:53:38 +00:00 |
Arvid Norberg
|
247b8ae443
|
removed temporary assert and factored file_pool out of storage to prepare for a per session file pool
|
2006-11-14 13:36:10 +00:00 |