Arvid Norberg
|
381f42bcf2
|
fix mingw build
|
2011-04-10 03:45:13 +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
|
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
|
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
|
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
|
74ccff22be
|
use a deque instead of list for disk io jobs queue
|
2011-03-28 06:01:24 +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
|
ddd21cb526
|
missing change from last check-in
|
2011-03-27 20:46:20 +00:00 |
Arvid Norberg
|
3d826ae32f
|
figured out the weirdness in the session rate stats
|
2011-03-25 07:49:32 +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
|
e9459b4df8
|
rss fixes
|
2011-03-23 02:46:22 +00:00 |
Arvid Norberg
|
a79fb228f2
|
lower default to 3 concurrent downloads
|
2011-03-21 04:59:03 +00:00 |
Arvid Norberg
|
2dfd1a972b
|
prevent read jobs from starving in the disk I/O thread
|
2011-03-20 19:17:59 +00:00 |
Arvid Norberg
|
3d63cb98b7
|
log read job queue size
|
2011-03-20 09:04:03 +00:00 |
Arvid Norberg
|
e4df633157
|
added another disk cache flush algorithm to minimize readback when hashing pieces
|
2011-03-20 05:47:27 +00:00 |
Arvid Norberg
|
1b6227ad31
|
report disk read-back when verifying piece hashes
|
2011-03-20 01:19:14 +00:00 |
Arvid Norberg
|
c015e28792
|
more disk thread timing
|
2011-03-19 22:23:58 +00:00 |
Arvid Norberg
|
782bc974a1
|
log average disk job time instead of cache time
|
2011-03-18 03:07:10 +00:00 |
Arvid Norberg
|
0b25b87593
|
add a bunch more stats logged to session stats
|
2011-03-17 05:31:06 +00:00 |
Arvid Norberg
|
6db11079c8
|
add performance warning when disk write queue exceeds half of the write cache size
|
2011-03-16 07:45:51 +00:00 |
Arvid Norberg
|
7e3f69ecbf
|
optimized disk cache flushing a bit
|
2011-03-16 07:21:58 +00:00 |
Arvid Norberg
|
d6fbff13df
|
measure disk sort time (phys_offset)
|
2011-03-15 02:21:28 +00:00 |
Arvid Norberg
|
7dde47b98a
|
measure disk cache flush times
|
2011-03-15 01:44:32 +00:00 |
Arvid Norberg
|
9812626cf0
|
make DHT rate limit configurable
|
2011-03-14 07:47:24 +00:00 |
Arvid Norberg
|
4ecb9f1462
|
fixed performance issue in rate limited udp socket
|
2011-03-14 07:23:32 +00:00 |
Arvid Norberg
|
a08bcf7459
|
change semantics of disk read time and add disk hash time
|
2011-03-14 05:21:46 +00:00 |
Arvid Norberg
|
27c1bc632d
|
introduced pop_alerts() which pops the entire alert queue in a single call
|
2011-03-14 02:59:46 +00:00 |
Arvid Norberg
|
a18f047311
|
minor storage fix
|
2011-03-13 21:07:46 +00:00 |
Arvid Norberg
|
c0253d9977
|
increase averaging window for disk I/O timing measurements
|
2011-03-13 10:09:20 +00:00 |
Arvid Norberg
|
c21100a9a5
|
log failed and redundant bytes
|
2011-03-13 04:34:57 +00:00 |
Arvid Norberg
|
03a7442532
|
add disk cache stats to session stats
|
2011-03-11 07:37:12 +00:00 |
Arvid Norberg
|
44fe8c160a
|
fix no-exceptions build
|
2011-03-10 05:01:36 +00:00 |
Arvid Norberg
|
1b09879e2a
|
increase the default upper limit on send buffer size to 700 kB
|
2011-03-10 03:19:27 +00:00 |
Arvid Norberg
|
6d9e4daa1f
|
fixed clang build warning
|
2011-03-09 03:59:59 +00:00 |
Arvid Norberg
|
f90f9f6609
|
fixed alert queue size limit bug when restoring setting from session state
|
2011-03-07 00:36:51 +00:00 |
Arvid Norberg
|
c0bbac579a
|
add export macros
|
2011-03-06 22:22:44 +00:00 |
Arvid Norberg
|
dbc14caedf
|
added missing header files to makefile
|
2011-03-05 02:33:13 +00:00 |
Arvid Norberg
|
019b682cf9
|
fixed logging build
|
2011-03-04 07:00:27 +00:00 |
Arvid Norberg
|
9d0b99480b
|
fix ip filter exemption for trackers. also add a global setting to always exempt trackers
|
2011-03-04 06:55:39 +00:00 |
Arvid Norberg
|
cefc97597d
|
improve error reporting for save resume data for torrents with no metadata
|
2011-03-04 06:17:55 +00:00 |
Arvid Norberg
|
0aff6803fb
|
fix to IP filter exemptions
|
2011-03-02 17:37:10 +00:00 |
Arvid Norberg
|
08c93978a6
|
clean up some dead code and fix windows build
|
2011-02-28 00:35:58 +00:00 |
Arvid Norberg
|
c15880be91
|
support having torrents that the IP filter doesn't apply to
|
2011-02-27 17:26:57 +00:00 |
Arvid Norberg
|
8c2d496992
|
added new option 'always_send_user_agent'
|
2011-02-26 18:17:55 +00:00 |
Arvid Norberg
|
3b68fb2a03
|
add missing files
|
2011-02-26 17:59:34 +00:00 |
Arvid Norberg
|
ab3b82b8ee
|
replaced std::rand() with custom random generator
|
2011-02-26 07:55:51 +00:00 |
Arvid Norberg
|
7288f77ec9
|
support saving metadata in resume file, enable it by default for magnet links
|
2011-02-26 07:48:05 +00:00 |
Arvid Norberg
|
56937edf56
|
cleaned up some exception handling and introduced macros like BOOST_TRY/BOOST_CATCH to make the optional exception handling nicer
|
2011-02-25 17:00:36 +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
|
20d763c8c7
|
added option to not use custom assert macro
|
2011-02-24 18:15:15 +00:00 |
Arvid Norberg
|
118a75ebe7
|
generalized string conversion for libc
|
2011-02-22 03:09:13 +00:00 |
Arvid Norberg
|
97a40a45cd
|
fully support unbuffered I/O
|
2011-02-22 02:53:26 +00:00 |
Arvid Norberg
|
141ada013f
|
fixed a whole bunch of build warnings on gcc and msvc, along with some fixes discovered along the way
|
2011-02-21 05:24:41 +00:00 |
Arvid Norberg
|
bd1ef5397c
|
clean up broadcasting
|
2011-02-17 06:47:26 +00:00 |
Arvid Norberg
|
513914050c
|
fixed broadcast_lsd option. in trunk, redefined it to only broadcast every 8th packet
|
2011-02-16 10:16:52 +00:00 |
Arvid Norberg
|
3c05e81529
|
support for receiving multi announce messages for local peer discovery
|
2011-02-16 07:41:44 +00:00 |
Arvid Norberg
|
cb6f38f056
|
added session::listen_no_system_port flag to prevent libtorrent from ever binding the listen socket to port 0
|
2011-02-16 06:35:53 +00:00 |
Arvid Norberg
|
9aa09d384c
|
added smooth_connect and turned it on by default
|
2011-02-16 03:11:55 +00:00 |
Arvid Norberg
|
d35670e53d
|
generalize use of getifaddrs
|
2011-02-15 07:42:46 +00:00 |
Arvid Norberg
|
247ad31dc0
|
more disconnect granularity in stats logging
|
2011-02-14 05:38:59 +00:00 |
Arvid Norberg
|
b471e40064
|
log more details on the cause of disconnects
|
2011-02-14 04:48:02 +00:00 |
Arvid Norberg
|
7508038337
|
cross compiling fixes
|
2011-02-14 04:12:26 +00:00 |
Arvid Norberg
|
8bb71da401
|
disk write queue watermark fix
|
2011-02-13 22:27:02 +00:00 |
Arvid Norberg
|
4267f0ec5a
|
rotate stats log every hour
|
2011-02-11 17:39:22 +00:00 |
Arvid Norberg
|
e959acae42
|
add iconv build option
|
2011-02-09 09:54:45 +00:00 |
Arvid Norberg
|
813d88a50e
|
fix non-IPv6 build
|
2011-02-09 07:27:04 +00:00 |
Arvid Norberg
|
a42d42fd11
|
CPU optimization for end-game piece picker
|
2011-02-09 02:56:00 +00:00 |
Arvid Norberg
|
c8edb67509
|
fix build
|
2011-02-08 06:46:53 +00:00 |
Arvid Norberg
|
e079907252
|
more end-game piece picker optimization (early exit)
|
2011-02-08 04:08:04 +00:00 |
Arvid Norberg
|
73e3bbae7b
|
use iconv on mingw
|
2011-02-07 17:25:24 +00:00 |
Arvid Norberg
|
42902c405c
|
fix build
|
2011-02-07 16:50:57 +00:00 |
Arvid Norberg
|
5df4e7edd9
|
added more piece picker stats
|
2011-02-07 00:51:20 +00:00 |
Arvid Norberg
|
3d616f894e
|
end-game mode optimizations
|
2011-02-06 23:40:21 +00:00 |
Arvid Norberg
|
ea0af55a46
|
log end-game mode stats with stats logging
|
2011-02-06 03:07:00 +00:00 |
Arvid Norberg
|
ed8779a338
|
added option to not recheck on missing or incomplete resume data
|
2011-02-06 00:50:12 +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
|
88663bfbde
|
log more peer errors in stats log
|
2011-02-04 04:31:20 +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
|
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
|
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
|
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
|
4070c2d465
|
fixed stat_file issue on windows
|
2011-01-25 08:21:01 +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
|
41806e2e07
|
make alert_cast<> support 0
|
2011-01-24 18:20:41 +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
|
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
|
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
|
1dc0e71716
|
added torrent_error_alert when a torrent encounters an error
|
2011-01-22 19:06:43 +00:00 |
Arvid Norberg
|
6663f527da
|
fixed error handling in torrent_info constructor
|
2011-01-19 10:07:51 +00:00 |
Arvid Norberg
|
ed39e3c307
|
make electric fence happy by not allocating 0 bytes
|
2011-01-19 08:41:39 +00:00 |
Arvid Norberg
|
35aaec3b38
|
fix read buffer bug in udp_socket
|
2011-01-19 07:16:45 +00:00 |
Arvid Norberg
|
ba0aed2282
|
initial support for DHT RSS feeds
|
2011-01-19 05:57:44 +00:00 |
Arvid Norberg
|
c223291fb4
|
added support for RSS feeds
|
2011-01-18 03:41:54 +00:00 |
Arvid Norberg
|
eec2672d26
|
fixed up some edge cases in DHT routing table and improved unit test of it. Primarily fixed issues where an IP could take over someone elses node ID and where an IP would change its node ID
|
2011-01-17 07:49:44 +00:00 |
Arvid Norberg
|
baffe32942
|
debug logging fix
|
2011-01-16 22:28:31 +00:00 |
Arvid Norberg
|
a2df36afcd
|
fix typo
|
2011-01-16 20:46:17 +00:00 |
Arvid Norberg
|
f6a32d0f25
|
use memcpy() instead of std::memcpy()
|
2011-01-16 20:45:18 +00:00 |
Arvid Norberg
|
e31aceeda4
|
added error category and error codes for HTTP errors
|
2011-01-16 02:54:59 +00:00 |
Arvid Norberg
|
b49999b76e
|
made the DHT implementation slightly more robust against routing table poisoning and node ID spoofing
|
2011-01-08 08:54:51 +00:00 |
Arvid Norberg
|
ee7c713af7
|
support chunked encoding in http downloads (http_connection)
|
2011-01-06 04:08:57 +00:00 |
Arvid Norberg
|
1bc50983dc
|
don't connect to privileged ports by default
|
2010-12-31 00:33:23 +00:00 |
Arvid Norberg
|
71e4172bde
|
minor redirect fix for http_connection
|
2010-12-30 22:51:15 +00:00 |
Arvid Norberg
|
a3e7095f84
|
url downloading fix
|
2010-12-30 06:46:28 +00:00 |
Arvid Norberg
|
26053e4b76
|
support adding torrents by url to a .torrent file
|
2010-12-30 01:47:30 +00:00 |
Arvid Norberg
|
ae41b2598b
|
fix non-dht build
|
2010-12-29 02:17:44 +00:00 |
Arvid Norberg
|
ea04fbb22c
|
support CDATA in xml parser
|
2010-12-29 01:59:41 +00:00 |
Arvid Norberg
|
fc0bd8066b
|
use a python python dictionary for settings instead of session_settings object (in python bindings)
|
2010-12-26 08:03:02 +00:00 |
Arvid Norberg
|
dc9af94ee1
|
avoid self-assignment of tcp::endpoint (causes a memcpy with overlapping ranges)
|
2010-12-25 09:13:50 +00:00 |
Arvid Norberg
|
8c3ad6b4f3
|
asio debugging fixes and test_transfer fixes
|
2010-12-24 18:15:01 +00:00 |
Arvid Norberg
|
18228d6615
|
fix warning in utp_stream
|
2010-12-24 01:32:26 +00:00 |
Arvid Norberg
|
451c583023
|
more robust mechanism to determine external IP
|
2010-12-24 01:31:41 +00:00 |
Arvid Norberg
|
8cec51fc47
|
fixes to make valgrind happy
|
2010-12-24 01:22:49 +00:00 |
Arvid Norberg
|
491b876329
|
fixed some msvc warnings
|
2010-12-19 09:50:58 +00:00 |
Arvid Norberg
|
650f02eba7
|
fixed some windows build issues
|
2010-12-19 08:12:31 +00:00 |
Arvid Norberg
|
20d4279177
|
optimized piece picking to not cause busy loops in some end-game modes
|
2010-12-18 10:19:34 +00:00 |
Arvid Norberg
|
f2416af718
|
added feature to turn off making outgoing connections for seeds
|
2010-12-17 03:20:36 +00:00 |
Arvid Norberg
|
d554cf88e6
|
optimized swarm startup time (shaved off about 1-2 seconds) by introducing torrent connection boost on the first tracker response for a torrent
|
2010-12-17 03:10:56 +00:00 |
Arvid Norberg
|
4fcfceb087
|
DHT optimizations and fixes. Fixed routing table bucket splitting
|
2010-12-12 20:36:42 +00:00 |
Arvid Norberg
|
b56a1638ae
|
DHT fixes. fixed bucket refresh issue. re-introduced refreshing our own bucket regularly. added more DHT instrumentation in session_status. added alert for when bootstrap is complete. Fixed bootstrap to ping remaining nodes when search is complete. Completed recent DHT observer rewrite to remove some redundant fields
|
2010-12-12 03:17:08 +00:00 |
Arvid Norberg
|
67d1c57b5e
|
bumped some limits in dump_torrent
|
2010-12-11 22:00:20 +00:00 |
Arvid Norberg
|
29ed03f720
|
first implementation of DHT security implementation. tie the node ID to the external IP
|
2010-12-11 09:38:07 +00:00 |
Arvid Norberg
|
1e82df3e45
|
support partial hash DHT lookups
|
2010-12-06 06:39:16 +00:00 |
Arvid Norberg
|
779014ddac
|
support requesting UPnP and NAT-PMP routers for our external IP address
|
2010-12-05 20:40:28 +00:00 |
Arvid Norberg
|
1c99bf1de3
|
more network thread asserts to make sure only the network thread touches network-thread only data. Also delay starting the network thread until after the session constructor is done with its setup
|
2010-12-04 22:20:31 +00:00 |
Arvid Norberg
|
94ef3eaf4b
|
windows build fixes
|
2010-12-01 05:47:18 +00:00 |
Arvid Norberg
|
f4746f4090
|
verbose logging cleanup
|
2010-12-01 04:22:03 +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
|
f82321c1dd
|
add a backwards compatible lazy_bdecode()
|
2010-11-29 02:48:40 +00:00 |
Arvid Norberg
|
e5f980d80d
|
merged uTP branch into trunk (yay)
|
2010-11-29 01:33:05 +00:00 |
Arvid Norberg
|
80611bd12c
|
some settings save-fixes and reverting some unnecessary changes in the utp branch
|
2010-11-28 22:36:26 +00:00 |
Arvid Norberg
|
134dae1c8b
|
add missing header files to makefile install
|
2010-11-28 18:47:20 +00:00 |
Arvid Norberg
|
2e871382d7
|
add debug configuration to debug shutdown-stall bugs / outstanding async operations
|
2010-11-28 01:47:30 +00:00 |
Arvid Norberg
|
af6ac4aca9
|
some solaris build fixes
|
2010-11-28 00:26:33 +00:00 |
Arvid Norberg
|
f21251cba8
|
limit number of torrents tracked by DHT and support DHT name lookups
|
2010-11-27 03:09:28 +00:00 |
Arvid Norberg
|
d1cb2d52ff
|
fixed build issues with with vernose logging enabled
|
2010-11-26 20:44:48 +00:00 |
Arvid Norberg
|
faccbd8ae3
|
introduce safety limit on total number of items in bencoded trees in lazy_bdecode. Document lazy_bdecode and its error codes. Make dump_torrent able to change the decoding limits
|
2010-11-25 02:49:50 +00:00 |
Arvid Norberg
|
894db973e8
|
optimized memory usage of torrent_info and file_storage
|
2010-11-24 23:49:22 +00:00 |
Arvid Norberg
|
d98a8b04a5
|
make storage constructor a boost.function for flexibility. Also added some documentation for trackerid
|
2010-11-18 17:36:11 +00:00 |
Arvid Norberg
|
a05acc4bac
|
support trackerid tracker extension
|
2010-11-18 05:51:52 +00:00 |
Arvid Norberg
|
40ed231366
|
fixed tracker timeout handling
|
2010-11-18 01:06:33 +00:00 |
Arvid Norberg
|
71d51b90e8
|
more size logging and potential fix for udp_tracker_connection leak
|
2010-11-16 06:41:35 +00:00 |
Arvid Norberg
|
62f8cac2b9
|
fixed typo
|
2010-11-15 05:15:43 +00:00 |
Arvid Norberg
|
8c404cc5c1
|
optimized memory usage of torrent_info
|
2010-11-15 05:10:36 +00:00 |
Arvid Norberg
|
79f6b5856b
|
verbose logging fixes
|
2010-11-15 04:43:53 +00:00 |
Arvid Norberg
|
873febb894
|
don't flush every string printed to the log
|
2010-11-06 23:02:24 +00:00 |
Arvid Norberg
|
a2a2ac08a2
|
move queue_position and need_save_resume into torrent_status. optimized client_test to make fewer synchronous calls and pull more out of torrent_status
|
2010-11-06 18:04:07 +00:00 |
Arvid Norberg
|
589c560a45
|
fixed build with boost-1.44
|
2010-11-06 16:16:00 +00:00 |
Arvid Norberg
|
1c7e5506e9
|
report stats on the number of dht request observers that are currently allocated
|
2010-11-06 07:12:57 +00:00 |
Arvid Norberg
|
d3a8916f02
|
further simplify the DHT by getting rid of the result type and just using observers instead. This might save some memory and should fix the assert that would be triggered before
|
2010-11-05 19:06:50 +00:00 |
Arvid Norberg
|
8737a339c8
|
refactored verbose peer logging to use format strings
|
2010-10-31 22:12:26 +00:00 |
Arvid Norberg
|
f57e1dd622
|
chunked encoding fixes and added support for http seeds as well
|
2010-10-31 03:05:11 +00:00 |
Arvid Norberg
|
a76570b563
|
deprecated a bunch of query functions on torrent_handle in favor of using status() to get as much information as possible in fewer calls, and saving time on synchronizing with the main thread
|
2010-10-30 17:23:30 +00:00 |
Arvid Norberg
|
08a234f6a6
|
document peer turnover settings and update default settings to enable it. In trunk, make the peer turnover interval configurable as well
|
2010-10-30 15:59:57 +00:00 |
Arvid Norberg
|
e4de1fc8b1
|
graceful disconnect mode which finishes transactions before disconnecting peers
|
2010-10-30 08:36:18 +00:00 |
Arvid Norberg
|
0dbef9103a
|
some reordering and asserts around web seed name resolution
|
2010-10-30 07:11:04 +00:00 |
Arvid Norberg
|
2e05dc765a
|
make the listen argument configurable
|
2010-10-29 08:10:12 +00:00 |
Arvid Norberg
|
40245c5774
|
increased the interval between switching peers for round-robin seeding
|
2010-10-29 02:52:42 +00:00 |
Arvid Norberg
|
f84cc340df
|
fixed a bunch of sloppy typos
|
2010-10-29 02:42:41 +00:00 |
Arvid Norberg
|
9b323c372d
|
changed default choker behavior to use 8 unchoke slots (instead of being rate based)
|
2010-10-29 02:28:13 +00:00 |
Arvid Norberg
|
0d196d3c84
|
document the problem of the disk cache potentially modifying files after saving resume data. In trunk, add a flag to flush the cache in the same call as saving resume data
|
2010-10-29 02:21:43 +00:00 |
Arvid Norberg
|
fc1b44b560
|
improve error reporting of lazy_bdecode to use error_code
|
2010-10-28 04:01:59 +00:00 |
Arvid Norberg
|
d737dd051d
|
added support for chunked encoding for web seeds
|
2010-10-27 06:39:18 +00:00 |
Arvid Norberg
|
9f37b703ea
|
mark num_connections and num_uploads as deprecated
|
2010-10-25 23:11:58 +00:00 |
Arvid Norberg
|
02abc5919f
|
fixed performance counter macro
|
2010-10-24 08:08:24 +00:00 |
Arvid Norberg
|
07f1b74291
|
fixed logging build
|
2010-10-24 08:06:58 +00:00 |
Arvid Norberg
|
6387910a42
|
use rolling average instead of a history and actual average for stats. Saves memory
|
2010-10-24 01:22:10 +00:00 |
Arvid Norberg
|
84d81d3a82
|
fixed up link test to make sure library and client are using the same configuration, also factored out common code from session constructor
|
2010-10-24 00:44:07 +00:00 |
Arvid Norberg
|
9a461c5e46
|
reduce some warnings
|
2010-10-22 05:39:32 +00:00 |
Arvid Norberg
|
cadd4f1b8d
|
anti-leach seeding unchoke mode
|
2010-10-21 05:53:13 +00:00 |
Arvid Norberg
|
2ccf08e9b5
|
fixed bug in create torrent when adding sha1 file hashes to each file
|
2010-10-18 00:46:15 +00:00 |
Arvid Norberg
|
eba657d8ad
|
reports redundant downloads to tracker, fixed downloaded calculation to be more stable when not including redundant. Improved redundant data accounting to be more accurate
|
2010-10-18 00:10:33 +00:00 |
Arvid Norberg
|
3948ca3179
|
fixed bugs in http seed connection and added unit test for it
|
2010-10-17 16:15:32 +00:00 |
Arvid Norberg
|
559c4bdf65
|
fixed some msvc warnings
|
2010-10-16 15:24:45 +00:00 |
Arvid Norberg
|
7bd25edc9d
|
generalize SSL support to also include web seeds (and in theory regular peers)
|
2010-10-12 08:57:43 +00:00 |
Arvid Norberg
|
43b29c3627
|
support web seeds in create_torrent and fix issue when building without deprecated functions
|
2010-10-10 21:06:35 +00:00 |
Arvid Norberg
|
72322dbc10
|
allow extending web seeds with extra headers and custom authorization schemese
|
2010-10-10 18:43:58 +00:00 |
Arvid Norberg
|
3b550ece98
|
don't save settings that are set to the default value
|
2010-10-10 02:22:57 +00:00 |
Arvid Norberg
|
e494cb219b
|
made seeding choking algorithm configurable
|
2010-10-09 21:11:03 +00:00 |
Arvid Norberg
|
21cbd1fac4
|
deprecated setters for max connections, max half-open, upload and download rates and unchoke slots. These are now set through session_settings
|
2010-10-09 19:09:38 +00:00 |
Arvid Norberg
|
45f535e80c
|
fixed build (with fresh boost)
|
2010-10-09 02:58:56 +00:00 |
Arvid Norberg
|
8212d2f161
|
document the new proxy interface and deprecate it in the 0.15 branch
|
2010-10-07 06:02:35 +00:00 |
Arvid Norberg
|
e72d95384b
|
added missing include
|
2010-10-04 16:12:51 +00:00 |
Arvid Norberg
|
440abdfaf2
|
optimistic unchoke fix
|
2010-10-04 04:06:14 +00:00 |
Arvid Norberg
|
f11b1ce6a0
|
fixed failing invariant check in peer_connection's download queue
|
2010-10-03 22:06:53 +00:00 |
Arvid Norberg
|
8e4addf2c5
|
improved set_max_connections to immediately disconnect peers to match the new limit
|
2010-10-03 10:07:38 +00:00 |
Arvid Norberg
|
a7c87e14dd
|
added functions to query an individual peer's upload and download limit
|
2010-10-01 16:09:22 +00:00 |
Arvid Norberg
|
cd08a61f35
|
expose the full peer list size through session_status
|
2010-10-01 04:07:38 +00:00 |
Arvid Norberg
|
29c5b99bba
|
fixed natpmp retry issue
|
2010-09-30 06:33:42 +00:00 |
Arvid Norberg
|
ecf13f2475
|
fixed typo in config relating to buffer debug builds
|
2010-09-26 00:44:14 +00:00 |
Arvid Norberg
|
554e329f57
|
remove udp_socket mutex
|
2010-09-25 21:39:27 +00:00 |
Arvid Norberg
|
e6d400084e
|
fix to start async operations inside the network thread to maintain thread safety within asio
|
2010-09-25 20:07:27 +00:00 |
Arvid Norberg
|
c341f15f71
|
make the assert macro also be able to print a value
|
2010-09-25 17:46:13 +00:00 |
Arvid Norberg
|
d894dd43d8
|
improved web seed retry behavior
|
2010-09-21 06:34:13 +00:00 |
Arvid Norberg
|
4aa809e558
|
potential 64 bit build issue related to zlib
|
2010-09-07 03:37:33 +00:00 |
Arvid Norberg
|
3fb9fcab9e
|
full support for bep-21 (event=paused)
|
2010-09-06 04:02:15 +00:00 |
Arvid Norberg
|
b6f92aa981
|
added initial support for share-mode
|
2010-09-05 16:01:36 +00:00 |
Arvid Norberg
|
c072c7869f
|
some more missing includes
|
2010-09-01 15:44:33 +00:00 |
Arvid Norberg
|
8e9bb58fb9
|
fixed missing include
|
2010-09-01 15:39:31 +00:00 |
Arvid Norberg
|
a17f4e4e71
|
fixed bug where event=completed would not be sent if it violated the min-interval
|
2010-09-01 03:14:12 +00:00 |
Arvid Norberg
|
11f3dd2c4c
|
DEBUG_BUFFERS doesn't work unless pool allocators are turned off
|
2010-09-01 02:58:51 +00:00 |
Arvid Norberg
|
cf6772d9fd
|
potential build fix for windows (in 0.14 branch)
|
2010-08-28 22:05:20 +00:00 |
Arvid Norberg
|
18a3d545b0
|
fixed potential hang issue when receiving faster than we can handle the incoming messages
|
2010-08-28 19:44:50 +00:00 |
Arvid Norberg
|
e2ca3e1545
|
rate limiter fix
|
2010-08-27 14:52:42 +00:00 |
Arvid Norberg
|
02668e8f75
|
fix message posting to work from multiple threads
|
2010-08-26 17:00:24 +00:00 |
Arvid Norberg
|
fb8ebc53dd
|
save resume data every 15 minutes no matter what
|
2010-08-25 06:38:04 +00:00 |
Arvid Norberg
|
58574c236a
|
fixed build error when using boost 1.44
|
2010-08-25 06:03:40 +00:00 |
Arvid Norberg
|
b7b542f587
|
optimized file_pool lookups and string handling
|
2010-08-23 08:48:02 +00:00 |
Arvid Norberg
|
b747cdab8a
|
merged all proxy settings into a single one
|
2010-08-23 06:27:18 +00:00 |
Arvid Norberg
|
80fbe4d5ef
|
fixed build issues
|
2010-08-22 17:47:07 +00:00 |
Arvid Norberg
|
de3db7e84e
|
don't lock disk cache in RAM by default
|
2010-08-22 17:39:48 +00:00 |
Arvid Norberg
|
f70fbb45c0
|
optimized struct layout of torrent_info. removed boost.date_type types from public interface (replaced by time_t)
|
2010-08-21 22:10:16 +00:00 |
Arvid Norberg
|
afd5567969
|
session::set_tracker_proxy fix for udp trackers
|
2010-08-21 22:07:29 +00:00 |
Arvid Norberg
|
a85f1f5c61
|
improved logging
|
2010-08-18 17:14:40 +00:00 |
Arvid Norberg
|
cbc7bd078d
|
fix no-exception build
|
2010-08-08 04:06:06 +00:00 |
Arvid Norberg
|
fd5f1bf80b
|
improved SOCKS5 support
|
2010-08-03 09:08:37 +00:00 |
Arvid Norberg
|
9d56f3f459
|
restored default fail_limit to unlimited on all trackers
|
2010-08-03 03:00:54 +00:00 |
Arvid Norberg
|
6ab555659c
|
anonymous mode fix (don't resolve countries, since that gives away IPs)
|
2010-08-02 06:16:32 +00:00 |
Arvid Norberg
|
ef48c92a4e
|
fixed SOCKS5 bug for routing UDP packets
|
2010-07-25 01:31:15 +00:00 |
Arvid Norberg
|
030b2b5be8
|
don't dereference empty strings
|
2010-07-24 06:46:58 +00:00 |
Arvid Norberg
|
9109af0ce1
|
fix for disk job queue size measurement
|
2010-07-23 16:15:14 +00:00 |
Arvid Norberg
|
72060e8676
|
removed DHT mutex since everything is in the network thread now
|
2010-07-19 05:27:33 +00:00 |
Arvid Norberg
|
9baa280b52
|
added asserts to catch broken peer allocations and frees as well as disk buffer corruption
|
2010-07-18 19:28:22 +00:00 |
Arvid Norberg
|
a3f5962f91
|
ignore failures in when asking for local_endpoint
|
2010-07-18 14:45:43 +00:00 |
Arvid Norberg
|
1e70456f58
|
improved support for multi-homed clients
|
2010-07-17 07:13:14 +00:00 |
Arvid Norberg
|
9a9c121ec0
|
fixed assert typo
|
2010-07-15 06:31:39 +00:00 |
Arvid Norberg
|
4c6be42b74
|
added feature to not count downloaded bytes from web seeds in stats
|
2010-07-15 06:27:44 +00:00 |
Arvid Norberg
|
b3f57ac293
|
added incoming lsd alert
|
2010-07-15 05:56:29 +00:00 |
Arvid Norberg
|
aa25ed00c6
|
fix force-reannounce and tracker retry issue
|
2010-07-15 05:16:06 +00:00 |
Arvid Norberg
|
97afe3fca8
|
added option to set file priorities when adding torrents
|
2010-07-15 01:14:36 +00:00 |
Arvid Norberg
|
a3d95677b0
|
fixed build errors from last check-in
|
2010-07-14 07:38:35 +00:00 |
Arvid Norberg
|
4e576f93fd
|
removed the session mutex for improved performance
|
2010-07-14 04:16:38 +00:00 |
Arvid Norberg
|
3310198dae
|
added upload and download activity timer stats for torrents
|
2010-07-08 19:29:38 +00:00 |
Arvid Norberg
|
92593abf89
|
added support for SOCKS5 proxies in client_test and fixed an assert when using proxies
|
2010-07-03 06:56:09 +00:00 |
Arvid Norberg
|
a0cef76bf2
|
fixed race condition around m_abort in session_impl
|
2010-06-24 21:43:00 +00:00 |
Arvid Norberg
|
69001e6a6b
|
fixed bug in metadata extensions combined with encryption
|
2010-06-18 05:44:08 +00:00 |
Arvid Norberg
|
b882914461
|
refactored socket reading code to not use async. operations unnecessarily
|
2010-06-18 04:43:20 +00:00 |
Arvid Norberg
|
26c4a819c8
|
removed the reuse-address flag on the listen socket
|
2010-06-17 17:14:56 +00:00 |
Arvid Norberg
|
61374075c4
|
fixed typo
|
2010-06-06 01:39:05 +00:00 |
Arvid Norberg
|
df49e9d26b
|
made the struct layout of entry be the same in debug builds as release builds to make that part of the ABI stable
|
2010-06-06 00:47:39 +00:00 |
Arvid Norberg
|
cdf05a9c9c
|
moved UDP trackers over to use a single socket
|
2010-05-30 01:33:03 +00:00 |
Arvid Norberg
|
c796157f81
|
added missing include
|
2010-05-29 05:46:47 +00:00 |
Arvid Norberg
|
2c1ccc7ed6
|
fixed bug in write_address
|
2010-05-24 06:37:32 +00:00 |
Arvid Norberg
|
f9ec9180ff
|
more disk cache cleanup optimizations
|
2010-05-16 23:14:47 +00:00 |
Arvid Norberg
|
68e9bf618f
|
removed incorrect assert
|
2010-05-16 22:15:55 +00:00 |
Arvid Norberg
|
6bb24bea80
|
added feature to make asserts log to a file instead of breaking the process
|
2010-05-16 05:26:43 +00:00 |
Arvid Norberg
|
e07bad0686
|
optimized disk I/O cache clearing
|
2010-05-13 15:01:20 +00:00 |
Arvid Norberg
|
23ba8c8a72
|
fixed synchronization issue between download queue and piece picker
|
2010-05-13 06:29:33 +00:00 |
Arvid Norberg
|
08d145a6e9
|
added production assert mode
|
2010-05-06 02:18:08 +00:00 |
Arvid Norberg
|
d0f2b0ade0
|
make tick interval configurable
|
2010-05-03 08:54:03 +00:00 |
Arvid Norberg
|
feaf4aa082
|
another attempt to fix tracker timer bug. Fixes issue where the tracker timer would be triggered repeatedly. Fixes bug where trackers loaded from resume data would get a fail limit of 3 (now they don't have a limit)
|
2010-05-03 08:24:30 +00:00 |
Arvid Norberg
|
1f44ec75a0
|
fixed bug in add_piece() that would trigger asserts
|
2010-05-01 17:47:28 +00:00 |
Arvid Norberg
|
2705859bb4
|
fixed bug where trackers wouldn't be retried if they failed
|
2010-04-27 18:22:59 +00:00 |
Arvid Norberg
|
f092ddb49e
|
make the sliding average class a template
|
2010-04-16 16:06:17 +00:00 |
Arvid Norberg
|
2a55fe8c70
|
debug logging fixes
|
2010-04-14 18:52:13 +00:00 |
Arvid Norberg
|
954b25f356
|
logging fix
|
2010-04-14 07:16:07 +00:00 |
Arvid Norberg
|
9a5f5562cb
|
improve web seed connection handling
|
2010-04-14 06:22:00 +00:00 |
Arvid Norberg
|
eeda665d06
|
report tracker errors in the tracker list
|
2010-04-13 04:37:39 +00:00 |
Arvid Norberg
|
384bfdec48
|
added anonymous mode to disable some particular features that might give away the user's and the client's identity
|
2010-04-13 04:30:34 +00:00 |
Arvid Norberg
|
b5efe1c92a
|
added feature to ask a torrent if it needs to save its resume data or not
|
2010-04-12 00:36:31 +00:00 |
Arvid Norberg
|
fb12950098
|
fixed debug logging to not use up one extra file descriptor per connection
|
2010-04-11 21:20:38 +00:00 |
Arvid Norberg
|
62eef91338
|
added setting to ignore file modification time when loading resume files
|
2010-04-11 21:02:43 +00:00 |
Arvid Norberg
|
c26d1631e0
|
fix bug in web and http seeds shutdown
|
2010-04-09 05:51:31 +00:00 |
Arvid Norberg
|
ccb808638d
|
fixed strict aliasing warning on gcc
|
2010-04-02 03:57:06 +00:00 |
Arvid Norberg
|
c51e0a2a86
|
fixed inconsistency when creating torrents with symlinks
|
2010-04-01 00:44:29 +00:00 |
Arvid Norberg
|
4c4c7f832a
|
fix for torrent announcing bug introduced when supporting fine grained control over sources torrents are announced to
|
2010-03-31 02:40:00 +00:00 |
Arvid Norberg
|
7e851818b1
|
support more fine-grained torrent states between which peer sources it announces too
|
2010-03-29 00:34:04 +00:00 |
Arvid Norberg
|
9977480f02
|
fixed bug in url encoder and in client test
|
2010-03-29 00:31:30 +00:00 |
Arvid Norberg
|
b4abe6677d
|
support for sha1 file-hashes
|
2010-03-27 15:51:30 +00:00 |
Arvid Norberg
|
c6f57ce5d7
|
support optional LSD IP broadcast
|
2010-03-26 17:45:16 +00:00 |
Arvid Norberg
|
c14042b29e
|
remove unused declarations and added a small piece of documentation
|
2010-03-25 04:47:56 +00:00 |
Arvid Norberg
|
1d0e2c0a37
|
solaris fix
|
2010-03-21 17:32:54 +00:00 |
Arvid Norberg
|
c93e13c6fb
|
added include files to Makefile
|
2010-03-20 22:26:06 +00:00 |
Arvid Norberg
|
3a84dce119
|
fixed unused variables warnings
|
2010-03-20 22:22:18 +00:00 |
Arvid Norberg
|
b78aca9a53
|
fixed logging build
|
2010-03-20 09:35:45 +00:00 |
Arvid Norberg
|
c9f7ba495f
|
don't include symlink info by default in torrents
|
2010-03-20 07:30:34 +00:00 |
Arvid Norberg
|
6ecb25121b
|
disabled auto disconnect_peers feature since it seems to be buggy
|
2010-03-20 02:43:33 +00:00 |
Arvid Norberg
|
8ee5268123
|
disable including 'mtime' in new torrents by default
|
2010-03-20 02:41:36 +00:00 |
Arvid Norberg
|
5224e0c340
|
complete_ago extension
|
2010-03-19 18:39:51 +00:00 |
Arvid Norberg
|
2910a4a10c
|
dropped dependency on zlib
|
2010-03-16 06:14:22 +00:00 |
Arvid Norberg
|
631cd17ebf
|
renamed union hack
|
2010-03-12 18:30:18 +00:00 |
Arvid Norberg
|
06a043a489
|
add send_watermark_factor
|
2010-03-12 02:36:55 +00:00 |
Arvid Norberg
|
79bd8fcd52
|
made the default cache size depend on the amount of physical RAM. and fixed disk thread settings update when loading through load_state
|
2010-03-10 07:14:10 +00:00 |
Arvid Norberg
|
a3bff512e1
|
added 'added' and 'completed' time to torrent_status
|
2010-03-09 03:21:35 +00:00 |
Arvid Norberg
|
dcffa55700
|
some sunPRO compiler support
|
2010-03-07 06:00:12 +00:00 |
Arvid Norberg
|
013cef68e8
|
add flags to session::save_state to filter what is saved
|
2010-03-06 07:49:40 +00:00 |
Arvid Norberg
|
e3a9578e2d
|
fixed some shadow warnings
|
2010-03-06 07:16:39 +00:00 |
Arvid Norberg
|
b835b03ae8
|
fix std::string::size_type type
|
2010-03-06 03:57:48 +00:00 |
Arvid Norberg
|
d4854024db
|
added flags to torrent::status() that can filter which values are calculated
|
2010-03-04 19:15:23 +00:00 |
Arvid Norberg
|
281b6368f7
|
deprecate old state saving functions, merge dht state with session state
|
2010-03-04 16:42:39 +00:00 |
Arvid Norberg
|
fb8e1d8611
|
add a num_warnings enum to performance_alert
|
2010-03-04 03:46:45 +00:00 |
Arvid Norberg
|
1189a3ef82
|
initialize members in cache_status
|
2010-03-04 03:43:50 +00:00 |
Arvid Norberg
|
9d6cdb0c89
|
solaris build fixes
|
2010-03-03 07:42:51 +00:00 |
Arvid Norberg
|
a942890e8d
|
added more detailed instrumentation of the disk I/O thread
|
2010-03-03 07:09:04 +00:00 |
Arvid Norberg
|
fb06acc828
|
add default peer rate limit setting
|
2010-03-03 01:31:31 +00:00 |
Arvid Norberg
|
0952dd48f6
|
fixed udp tracker race condition
|
2010-03-02 09:04:27 +00:00 |
Arvid Norberg
|
5adb8d5533
|
the proper fix
|
2010-03-02 03:55:47 +00:00 |
Arvid Norberg
|
77c0fa5872
|
support multiple trackers in magnet links
|
2010-03-01 06:46:57 +00:00 |
Arvid Norberg
|
d15fd0c6d3
|
bump version number
|
2010-02-25 22:30:07 +00:00 |
Arvid Norberg
|
aa5fc72fbf
|
made tracker errors use error_code
|
2010-02-23 21:53:45 +00:00 |
Arvid Norberg
|
eff49e42a7
|
added support for torrents with odd piece sizes
|
2010-02-23 16:26:24 +00:00 |
Arvid Norberg
|
210c663596
|
fixed error handling with torrents with invalid piece sizes
|
2010-02-22 01:51:25 +00:00 |
Arvid Norberg
|
b96e0a448e
|
udp socket debugging and asserts
|
2010-02-21 20:15:07 +00:00 |
Arvid Norberg
|
59deff7a44
|
fixed issue with disk read cache not being cleared when removing torrents
|
2010-02-21 08:52:26 +00:00 |
Arvid Norberg
|
17750035ea
|
alert_cast fix
|
2010-02-21 05:20:13 +00:00 |
Arvid Norberg
|
54b4bc7754
|
better rate limiter fix
|
2010-02-21 01:32:57 +00:00 |
Arvid Norberg
|
cead1b5780
|
rate limiter fix for metadata extension
|
2010-02-20 18:56:53 +00:00 |
Arvid Norberg
|
b362795f9d
|
web seed fix
|
2010-02-20 16:53:38 +00:00 |
Arvid Norberg
|
47f3a18d65
|
DHT bootstrapping and refresh fix
|
2010-02-20 16:37:50 +00:00 |
Arvid Norberg
|
29880b7e26
|
use a stricted condition when to enter end-game mode. Made it configurable in RC_0_15+
|
2010-02-18 19:25:15 +00:00 |
Arvid Norberg
|
f31e670fc2
|
made end-game mode less aggressive
|
2010-02-18 17:26:21 +00:00 |
Arvid Norberg
|
d892198a40
|
fixed unsigned type issue in lazy_entry
|
2010-02-18 16:31:51 +00:00 |
Arvid Norberg
|
04d31cea6e
|
support option to report redundant bytes or not to tracker as well as 'corrupt' argument
|
2010-02-18 06:45:07 +00:00 |
Arvid Norberg
|
09a1023eb3
|
fixed issue with UDP over SOCKS5. Added a udp tracker to the unit test to make sure it works. Added tracker tests for all proxies
|
2010-02-18 04:37:02 +00:00 |
Arvid Norberg
|
95d4c3af5d
|
don't use posix_fallocate on BSD
|
2010-02-15 07:16:41 +00:00 |
Arvid Norberg
|
08c8bfae29
|
more wide character and mingw fixes
|
2010-02-15 05:49:10 +00:00 |
Arvid Norberg
|
5c02f3df59
|
fixed DHT bootstrapping issue
|
2010-02-14 07:46:57 +00:00 |
Arvid Norberg
|
fe5f908cc6
|
fixed MinGW support
|
2010-02-14 04:05:18 +00:00 |
Arvid Norberg
|
69b625e65d
|
added missing file
|
2010-02-14 03:42:51 +00:00 |
Arvid Norberg
|
c050b22d8f
|
optimized memory usage for torrent objects
|
2010-02-14 01:39:55 +00:00 |
Arvid Norberg
|
b12b3ff105
|
simplified web seed logic
|
2010-02-12 06:10:20 +00:00 |
Arvid Norberg
|
3d5d9eb807
|
start torrent on incoming connection feature
|
2010-02-11 04:39:04 +00:00 |
Arvid Norberg
|
348cd22b9a
|
fixed typo
|
2010-02-09 04:58:16 +00:00 |
Arvid Norberg
|
fb47469834
|
experimental support for the BitTyrant choking algorithm
|
2010-02-09 03:04:41 +00:00 |
Arvid Norberg
|
1a97405189
|
added an option to save a little bit of RAM by not collecting full detailed stats
|
2010-02-08 05:43:54 +00:00 |
Arvid Norberg
|
7e343a9d6f
|
add size logging to various classes
|
2010-02-08 04:51:34 +00:00 |
Arvid Norberg
|
8c02d04d2e
|
UDP tracker optimization
|
2010-02-06 08:14:18 +00:00 |
Arvid Norberg
|
abfc92de35
|
added performance warning if there are too many optimistic unchoke slots
|
2010-02-06 07:39:45 +00:00 |
Arvid Norberg
|
088f4bf700
|
improved LSD performance and made the interval configurable
|
2010-02-05 08:23:17 +00:00 |
Arvid Norberg
|
1b2798970c
|
support O_NOATIME on linux and use it by default
|
2010-02-02 19:44:52 +00:00 |
Arvid Norberg
|
859f412189
|
support an arbitrary number of optimistic unchoke slots
|
2010-02-02 18:39:32 +00:00 |
Arvid Norberg
|
53ef3dfb22
|
tuning of guided read cache
|
2010-02-01 00:38:32 +00:00 |
Arvid Norberg
|
f68b45bae6
|
fixed typo in comment
|
2010-01-31 22:19:28 +00:00 |
Arvid Norberg
|
c9e50559b6
|
loop back cancel messages for web servers
|
2010-01-31 21:44:22 +00:00 |
Arvid Norberg
|
238f7e38f5
|
improve disk stats logging to include cache hits
|
2010-01-31 21:13:52 +00:00 |
Arvid Norberg
|
3bc40b9980
|
fix builds for all combinations of stats and disk stats
|
2010-01-31 20:32:12 +00:00 |
Arvid Norberg
|
ca20d2d600
|
fixed broken build
|
2010-01-31 20:22:35 +00:00 |
Arvid Norberg
|
5b747f58f7
|
add guided read cache and update tuning docs
|
2010-01-31 19:14:00 +00:00 |
Arvid Norberg
|
ccf8b0278a
|
added volatile read cache option
|
2010-01-30 03:50:17 +00:00 |
Arvid Norberg
|
a4ff3cdf87
|
fix new disk cache implementation
|
2010-01-30 02:36:41 +00:00 |
Arvid Norberg
|
f6c0d5af35
|
optimized disk cache to work with large caches
|
2010-01-27 04:25:45 +00:00 |
Arvid Norberg
|
64d52b26ca
|
fixed windows upnp test. added test for is_space
|
2010-01-24 17:31:06 +00:00 |
Arvid Norberg
|
942c4e0a7c
|
fixed torrent_deleted_alert to not dead-lock
|
2010-01-23 22:42:48 +00:00 |
Arvid Norberg
|
2b86528e50
|
added info_hash to torrent_deleted_alert
|
2010-01-23 16:56:00 +00:00 |
Arvid Norberg
|
a046850130
|
support disk I/O priority setting
|
2010-01-23 03:02:32 +00:00 |
Arvid Norberg
|
3691ca847b
|
fixed missing include
|
2010-01-20 03:01:39 +00:00 |
Arvid Norberg
|
7c2d4f0f08
|
pass in the full path to the predicate function fo add_files
|
2010-01-19 03:05:43 +00:00 |
Arvid Norberg
|
d959331c1e
|
renamed some torrent check queue related functions to be more descriptive
|
2010-01-17 21:42:14 +00:00 |
Arvid Norberg
|
c9b594fde1
|
support sending suggest messages based on what's in the read cache. support 'explicit read cache'
|
2010-01-15 16:45:42 +00:00 |
Arvid Norberg
|
ef41d38c34
|
added support for storing per-peer rate limits across reconnects
|
2010-01-15 03:06:05 +00:00 |
Arvid Norberg
|
2d7705e38b
|
disabled feature to drop requests after having been skipped too many times
|
2010-01-14 02:16:23 +00:00 |
Arvid Norberg
|
a1299c3a10
|
optimize disk I/O elevator algorithm to spend less time picking job
|
2010-01-12 01:56:48 +00:00 |
Arvid Norberg
|
27247df5c9
|
windows build fixes
|
2010-01-10 05:06:13 +00:00 |
Arvid Norberg
|
85951208e4
|
added support for explicitly flushing the disk cache
|
2010-01-09 21:17:52 +00:00 |
Arvid Norberg
|
d498c129ab
|
clear sparse flag on files that complete on windows
|
2010-01-09 18:40:05 +00:00 |
Arvid Norberg
|
11cd7af4e7
|
optimized DHT routing table memory usage
|
2010-01-03 11:08:39 +00:00 |
Arvid Norberg
|
cbf2526a8c
|
added stats_alert reporting raw transfer stats per torrent every second
|
2010-01-02 14:16:35 +00:00 |
Arvid Norberg
|
0350e86867
|
fixed web seed unit test
|
2009-12-29 17:49:24 +00:00 |
Arvid Norberg
|
d157af5305
|
build fixes
|
2009-12-28 20:59:34 +00:00 |
Arvid Norberg
|
cdf459dad5
|
only keep one outstanding duplicate request per peer
|
2009-12-25 16:52:57 +00:00 |
Arvid Norberg
|
ac8f64f5fe
|
fixed deadlock in piece_manager
|
2009-12-25 16:02:45 +00:00 |
Arvid Norberg
|
0fc90b5655
|
fixed support for min-interval on tracker failures
|
2009-12-21 09:47:32 +00:00 |
Arvid Norberg
|
da48f026b6
|
fixed disk_io_thread header
|
2009-12-17 08:46:51 +00:00 |
Arvid Norberg
|
6298322b1d
|
service disk-read requests that hit the cache immediately and circumvent the elevator ordering
|
2009-12-16 10:49:15 +00:00 |
Arvid Norberg
|
2862d15dcc
|
disable exception-only functions when exceptions are disabled
|
2009-12-16 10:47:31 +00:00 |
Arvid Norberg
|
96cedc9b5f
|
more beos fixes
|
2009-12-15 13:11:07 +00:00 |
Arvid Norberg
|
cebcbc3eeb
|
fixed force reannounce bug with min_interval support
|
2009-12-13 16:36:45 +00:00 |
Arvid Norberg
|
25798ba1fa
|
timer initialization fix
|
2009-12-13 16:32:07 +00:00 |
Arvid Norberg
|
f612a07b06
|
more header dependency fixes and some configure header cleanup
|
2009-12-09 09:55:19 +00:00 |
Arvid Norberg
|
50c7e53eef
|
updated config header to be slightly more structured
|
2009-12-09 07:29:09 +00:00 |
Arvid Norberg
|
31bbfee895
|
more beos
|
2009-12-09 05:19:48 +00:00 |
Arvid Norberg
|
df2f2570c2
|
factor out page size function and make aligned allocator configurable to use posix_memalign and memalign
|
2009-12-09 01:55:30 +00:00 |
Arvid Norberg
|
df928764e2
|
reorganized error codes
|
2009-12-05 23:03:48 +00:00 |
Arvid Norberg
|
d84c59d13b
|
upload only fix
|
2009-12-05 16:46:10 +00:00 |
Arvid Norberg
|
a6ed83e7fe
|
add load_state/save_state to python bindings and made them build
|
2009-12-05 07:24:22 +00:00 |
Arvid Norberg
|
ff2063651b
|
build fixes
|
2009-12-03 17:44:11 +00:00 |
Arvid Norberg
|
1d04c4dcd0
|
added session saving and loading functions
|
2009-12-03 05:11:57 +00:00 |
Arvid Norberg
|
9abe4c14c6
|
and this goes with it
|
2009-12-03 05:10:30 +00:00 |
Arvid Norberg
|
da5a18cc04
|
more shared link issues
|
2009-12-03 04:24:00 +00:00 |
Arvid Norberg
|
bd881ac154
|
fixed more link issues on windows. examples build with shared linking on windows
|
2009-12-02 17:46:25 +00:00 |
Arvid Norberg
|
1e654220fa
|
added support for min_interval
|
2009-12-02 04:05:24 +00:00 |
Arvid Norberg
|
3fb05a13b1
|
fixed DLL link issues
|
2009-11-30 07:03:34 +00:00 |
Arvid Norberg
|
60aae18493
|
time function dll_export fixes
|
2009-11-29 22:34:48 +00:00 |
Arvid Norberg
|
1f5859d31f
|
error_code fix. added is_error_code_enum template specialization and using the abbreviated syntax to build error_codes
|
2009-11-29 07:06:38 +00:00 |
Arvid Norberg
|
39dae9e6dc
|
some GCC 2.95 support fixes and some BeOS support
|
2009-11-28 22:41:21 +00:00 |
Arvid Norberg
|
5d1bfc497a
|
added torrent_info::remap_files()
|
2009-11-27 22:15:34 +00:00 |
Arvid Norberg
|
bf107858b8
|
include config.hpp
|
2009-11-27 22:02:26 +00:00 |
Arvid Norberg
|
ddceb1487d
|
fixed building with no IPv6 support
|
2009-11-27 18:46:29 +00:00 |
Arvid Norberg
|
9fd7a58370
|
header dependency fixes
|
2009-11-27 07:17:10 +00:00 |
Arvid Norberg
|
e750910798
|
fixed windows build
|
2009-11-27 07:08:47 +00:00 |
Arvid Norberg
|
b38df8941d
|
header dependency fix
|
2009-11-26 22:30:50 +00:00 |
Arvid Norberg
|
072d3b0f48
|
moved some alert functions from the header to the cpp file
|
2009-11-26 21:40:10 +00:00 |
Arvid Norberg
|
e1aa90daab
|
header dependency fixes
|
2009-11-26 21:05:57 +00:00 |
Arvid Norberg
|
f5f3552eee
|
fixed header dependency
|
2009-11-26 19:32:11 +00:00 |
Arvid Norberg
|
7db5996abc
|
header dependency fix
|
2009-11-26 18:31:27 +00:00 |
Arvid Norberg
|
f42f4641a6
|
fixes to windows build
|
2009-11-26 16:25:39 +00:00 |
Arvid Norberg
|
c6333e147c
|
socket_type fix
|
2009-11-26 15:56:20 +00:00 |
Arvid Norberg
|
a80b2b0fce
|
fixed torrent_info copy constructor. restricted copying of lazy_entry. Fixed build. added pascal_string type to be used with lazy_entry (trunk only)
|
2009-11-26 06:54:52 +00:00 |
Arvid Norberg
|
8dd244581d
|
header optimizations
|
2009-11-26 05:45:43 +00:00 |
Arvid Norberg
|
18e5d67967
|
protect file_priority functions from being called on torrents without metadata
|
2009-11-26 00:09:49 +00:00 |
Arvid Norberg
|
a5586d154d
|
more header dependency optimizations
|
2009-11-25 06:55:34 +00:00 |
Arvid Norberg
|
7ae9ed1a7d
|
add missing header files
|
2009-11-24 19:11:18 +00:00 |
Arvid Norberg
|
2280454a99
|
support upload-only extension message
|
2009-11-24 18:49:59 +00:00 |
Arvid Norberg
|
15c4842cea
|
another header optimization
|
2009-11-23 17:05:26 +00:00 |
Arvid Norberg
|
6343fe6a6d
|
optimized header dependencies to lower build time
|
2009-11-23 08:38:50 +00:00 |
Arvid Norberg
|
562e2512b9
|
some vs2010 fixes
|
2009-11-22 23:55:54 +00:00 |
Arvid Norberg
|
a65659f52f
|
broadcast sockets now join every network interface
|
2009-11-14 20:35:24 +00:00 |
Arvid Norberg
|
ac0f9d8f9c
|
switched over buffer to use realloc/free
|
2009-11-11 05:24:57 +00:00 |
Arvid Norberg
|
4b52b57bf0
|
fixed some compiler warnings
|
2009-11-11 05:22:57 +00:00 |
Arvid Norberg
|
84ba8445cf
|
changed includes for tommath to point into the libtorrent directory
|
2009-11-10 17:14:53 +00:00 |
Arvid Norberg
|
3b9b8b144c
|
added support for using libtommath instead of libgcrypt or libcrypto for bittorrent encryption
|
2009-11-09 07:26:40 +00:00 |
Arvid Norberg
|
e9e32235b4
|
added support for libgcrypt
|
2009-11-08 03:09:19 +00:00 |
Arvid Norberg
|
e43340c961
|
made it possible to build without RTTI
|
2009-11-02 20:43:38 +00:00 |
Arvid Norberg
|
fade413665
|
introduced alert_cast
|
2009-11-02 03:34:16 +00:00 |
cristiangreco
|
bba63021c0
|
configure.ac: drop dependencies on boost.filesystem and boost.thread libraries
and add some new files to makefiles.
|
2009-11-02 02:10:38 +00:00 |
Arvid Norberg
|
0e9bdd9e53
|
improved alert message when torrent doesn't have metadata
|
2009-10-31 23:28:37 +00:00 |
Arvid Norberg
|
c9392fe0fb
|
fixed web seed for windows
|
2009-10-30 03:42:29 +00:00 |
Arvid Norberg
|
380dbd5600
|
added type() to alerts, to not require rtti support
|
2009-10-30 03:21:25 +00:00 |
Arvid Norberg
|
cd0fc85b5f
|
fixed msvc warning
|
2009-10-29 22:55:00 +00:00 |
Arvid Norberg
|
51ef057498
|
more unicode and wstring fixes
|
2009-10-29 18:12:43 +00:00 |
Arvid Norberg
|
dcd8bb6718
|
move stats instrumentation to .cpp file to fix header dependency issue
|
2009-10-28 19:56:18 +00:00 |
Arvid Norberg
|
e11f5265bd
|
increased the number of peers returned from the DHT
|
2009-10-26 22:44:49 +00:00 |
Arvid Norberg
|
ecb922e013
|
fix comparison operator of web_seed_entry
|
2009-10-26 20:12:57 +00:00 |
Arvid Norberg
|
c777227c84
|
fixed some msvc warnings
|
2009-10-26 02:26:15 +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
|
28e9c58e3d
|
fixed bug in add_files that would fail to recurse if the path ended with a /
|
2009-10-25 21:07:14 +00:00 |
Arvid Norberg
|
6c137d6ef6
|
announces torrents immediately to the DHT when it's started
|
2009-10-25 02:37:45 +00:00 |
Arvid Norberg
|
65eb4db727
|
added session::is_dht_running
|
2009-10-24 21:55:16 +00:00 |
Arvid Norberg
|
3dc190da6e
|
dht fix
|
2009-10-23 20:29:26 +00:00 |
Arvid Norberg
|
9d1989904b
|
some compatibility fixes.
|
2009-10-20 16:44:11 +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
|
a5fb1b3455
|
USE_BOOST_DATE_TIME fix
|
2009-10-19 03:01:15 +00:00 |
cristiangreco
|
70b0edb9f4
|
fix to not install the local copy of GeoIP.h when linking against system
libgeoip.
|
2009-10-12 20:56:17 +00:00 |
Arvid Norberg
|
474566fa21
|
more DHT fixes and simplifications
|
2009-10-09 02:34:25 +00:00 |
Arvid Norberg
|
cee42ff5a1
|
more DHT simplifications
|
2009-10-07 20:51:02 +00:00 |
Arvid Norberg
|
115a4b1863
|
fixed msvc build
|
2009-10-04 23:46:29 +00:00 |
Arvid Norberg
|
599543e889
|
automatically caps files and connections by default to rlimit
|
2009-10-03 19:02:31 +00:00 |
Arvid Norberg
|
ea1761838a
|
added torrent_status::finished_time
|
2009-09-30 17:21:59 +00:00 |
Arvid Norberg
|
dfccf0b412
|
some DHT work
|
2009-09-29 17:06:08 +00:00 |
Arvid Norberg
|
138fb8c679
|
extended DHT unit test to include error reporting
|
2009-09-27 17:41:51 +00:00 |
Arvid Norberg
|
f36688a364
|
initial support for torrent tag store in DHT
|
2009-09-27 03:38:41 +00:00 |
Arvid Norberg
|
9b15c11740
|
don't send stats to trackers received through tracker exchange
|
2009-09-25 18:17:59 +00:00 |
cristiangreco
|
57995668fe
|
fix some error/warning strings typos
|
2009-09-22 11:30:31 +00:00 |
Arvid Norberg
|
6de02f9895
|
fixed deadlock in natpmp implementation
|
2009-09-22 04:01:01 +00:00 |
Arvid Norberg
|
e289b9c6ac
|
build fixes
|
2009-09-20 15:21:31 +00:00 |
Arvid Norberg
|
54cce9da60
|
simplified and optimized the DHT implementation
|
2009-09-20 00:23:36 +00:00 |
cristiangreco
|
deccb51a7d
|
fix headers install path
|
2009-09-17 21:50:38 +00:00 |
Georg Rudoy
|
e8327c96b1
|
Build fixes.
|
2009-09-17 11:22:18 +00:00 |
Arvid Norberg
|
0f62beebb3
|
improved compile time by moving rate limiter implementation to a cpp file and making it a non-template
|
2009-09-16 04:41:35 +00:00 |
Arvid Norberg
|
6c67da08d6
|
split socket.hpp up in multiple headers to lower build time somewhat
|
2009-09-16 03:46:36 +00:00 |
Arvid Norberg
|
35bca49c61
|
add torrent priority to adjust bandwidth allocation of torrent's peers
|
2009-09-13 02:24:25 +00:00 |
Arvid Norberg
|
e43dacb275
|
NAME_MAX fix
|
2009-09-10 17:12:17 +00:00 |
Arvid Norberg
|
3d9c8f1b2d
|
cleaned up usage of MAX_PATH and related macros
|
2009-09-10 03:54:10 +00:00 |
cristiangreco
|
2fd925a4ae
|
Rewrite autotools build system (new configure.ac, changes for various
Makefile.am and fixed m4 scripts). Could still need some fixes.
|
2009-09-10 02:22:13 +00:00 |
Arvid Norberg
|
ddbb35cf7d
|
fixed bug in connect candidate counter
|
2009-09-09 16:42:52 +00:00 |
Arvid Norberg
|
5164c42a00
|
fixed url-seed bug causing only a single web seed to be connected
|
2009-09-07 06:09:57 +00:00 |
Arvid Norberg
|
3e9725b5d7
|
made peer_blocked_alert derive from torrent_alert
|
2009-09-07 01:47:30 +00:00 |
Arvid Norberg
|
3ea1b0d304
|
alloca build fixes
|
2009-09-06 23:56:07 +00:00 |
Georg Rudoy
|
4cb1c9f006
|
Hopefully really fixed alloca.h for now.
|
2009-09-06 18:43:09 +00:00 |
Georg Rudoy
|
5b5597e523
|
Possibly fixed not found alloca on FreeBSD.
|
2009-09-06 18:22:55 +00:00 |
Arvid Norberg
|
d0cb5049f7
|
windows support for disk physical offset
|
2009-09-06 07:44:45 +00:00 |
Arvid Norberg
|
3e77baa9a4
|
msvc 7.1 build fix
|
2009-09-05 15:18:55 +00:00 |
Arvid Norberg
|
bec481acdf
|
improved disk read performance and fixed bug in storage_interface's backwards compatibility functions
|
2009-09-05 07:21:10 +00:00 |
Arvid Norberg
|
c7b1d7e7d6
|
escape string fixes
|
2009-09-05 01:08:56 +00:00 |
Arvid Norberg
|
f7ebefb285
|
fixed checking of fast and suggest messages when used with magnet links
|
2009-09-01 04:41:50 +00:00 |
Arvid Norberg
|
1f5a722b01
|
improved sun studio support (it seems to lack a lot of stl)
|
2009-08-30 07:38:52 +00:00 |
Arvid Norberg
|
a5a9fdf2af
|
added missing include in storage.hpp
|
2009-08-28 16:12:23 +00:00 |
Arvid Norberg
|
6078dd06b0
|
removed the last dependency on iostream and lexical cast
|
2009-08-25 18:13:46 +00:00 |
Arvid Norberg
|
45fd696bc6
|
added I2P support
|
2009-08-20 03:19:12 +00:00 |
Arvid Norberg
|
51c38c2e16
|
added performance warning when hitting the send buffer watermark limit
|
2009-08-17 20:29:09 +00:00 |
Arvid Norberg
|
a6bcb8f8c9
|
fixed issue where web seed connections might have been disconnected in the constructor (which causes problems)
|
2009-08-08 15:27:07 +00:00 |
Arvid Norberg
|
7933132cd9
|
fixed assert when built with disk stats
|
2009-08-05 19:02:51 +00:00 |
Arvid Norberg
|
63368c1383
|
added dummy storage class to disable disk I/O and an option to disable hash checking (for performance testing and simulation)
|
2009-08-02 06:40:45 +00:00 |
Arvid Norberg
|
78a6df0b2a
|
connect candidate fix
|
2009-08-01 22:48:43 +00:00 |
Arvid Norberg
|
bf545fc508
|
fixed overflow issue in stats and inserted asserts to avoid similar bugs in the future
|
2009-07-26 23:36:55 +00:00 |
Arvid Norberg
|
e06b7f7000
|
remove useless declaration
|
2009-07-26 08:17:34 +00:00 |
Arvid Norberg
|
4f4f96db5a
|
added support for deprecation warnings on windows
|
2009-07-26 02:37:31 +00:00 |
Arvid Norberg
|
eecc78b931
|
dll export fix + reverting upload slot change
|
2009-07-26 02:27:52 +00:00 |
Arvid Norberg
|
137d2d63f5
|
cleaned up policy. Moved logic from policy to torrent
|
2009-07-23 04:38:52 +00:00 |
Arvid Norberg
|
4e5768847d
|
build fix
|
2009-07-21 08:44:27 +00:00 |
Arvid Norberg
|
ecdd7231b8
|
removed redundant code in disk_io_thread
|
2009-07-21 04:32:27 +00:00 |
Arvid Norberg
|
848a4b2cf2
|
fixed bug where downloading from peers could stall when downloading at very high rates
|
2009-07-21 04:29:29 +00:00 |
Arvid Norberg
|
215b95699b
|
fixed release-with-logging build configuration
|
2009-07-21 04:27:12 +00:00 |
Andrew Resch
|
c401c65dfb
|
Add get_ip_filter() to session
|
2009-07-21 01:52:37 +00:00 |
Arvid Norberg
|
fb9ffb8360
|
set default lease duration to 0 for UPnP (permanent lease)
|
2009-07-20 02:28:56 +00:00 |
Arvid Norberg
|
3f11c9c57f
|
ignore missing dll-interface on windows
|
2009-07-20 02:05:47 +00:00 |
Arvid Norberg
|
310b9d0e51
|
windows build fixes (and one msvc warning fix)
|
2009-07-20 01:54:51 +00:00 |
Arvid Norberg
|
7ad858ccd9
|
fixed rate limiter bug for local (unthrottled) connections
|
2009-07-19 09:17:40 +00:00 |
Arvid Norberg
|
8b807f7514
|
enable floating point API by default
|
2009-07-19 05:36:06 +00:00 |
Arvid Norberg
|
ae3be201c4
|
reduced the number of floating point operations to better support systems with no FPU
|
2009-07-19 04:59:27 +00:00 |
Arvid Norberg
|
20d3c46155
|
attempt to make it build on windows
|
2009-07-18 22:19:04 +00:00 |
Arvid Norberg
|
51992dda6a
|
added new alert when individual files complete
|
2009-07-04 04:58:24 +00:00 |
Arvid Norberg
|
ece98a8ef6
|
* added support for storing symbolic links in .torrent files
|
2009-07-01 08:35:45 +00:00 |