Arvid Norberg
|
ed0df519d7
|
fixed outstanding bytes counter assert
|
2009-06-28 21:09:07 +00:00 |
Arvid Norberg
|
8ee50045ca
|
added support for uTorrent interpretation of multi-tracker torrents (off by default)
|
2009-06-28 20:21:55 +00:00 |
Arvid Norberg
|
6ddf63197f
|
added more asserts around outstanding bytes counter
|
2009-06-28 07:39:06 +00:00 |
Arvid Norberg
|
cbc740ee4f
|
fixed bug where one allowed-fast message would be sent even when disabled
|
2009-06-28 00:47:49 +00:00 |
Arvid Norberg
|
e9bd8f6e1f
|
turned fast-resume errors into error_codes. fixed typo in documentation
|
2009-06-28 00:36:41 +00:00 |
Arvid Norberg
|
8454d51ba1
|
fixed rare piece picker bug
|
2009-06-28 00:32:14 +00:00 |
Arvid Norberg
|
44ace0b86b
|
fixed resume data compatibility with 0.13
|
2009-06-27 21:47:30 +00:00 |
Arvid Norberg
|
32d1bdcf01
|
removed unused enums
|
2009-06-27 21:36:31 +00:00 |
Arvid Norberg
|
499d4dfbb4
|
cleaned up left-over logging
|
2009-06-27 19:35:20 +00:00 |
Arvid Norberg
|
10eb3fa00f
|
handle torrents with duplicate filenames
|
2009-06-26 16:20:57 +00:00 |
Arvid Norberg
|
356db54dce
|
connect candidate counter fix
|
2009-06-26 05:58:24 +00:00 |
Arvid Norberg
|
84426fd0a3
|
merkle tree torrents use 64 kiB piece sizes
|
2009-06-24 21:39:15 +00:00 |
Arvid Norberg
|
b6b4e0d051
|
fix wpath build issue
|
2009-06-24 17:05:14 +00:00 |
Arvid Norberg
|
7eb7dfdf17
|
fixed rename_file
|
2009-06-24 09:09:35 +00:00 |
Arvid Norberg
|
3722fff027
|
fixed typo
|
2009-06-24 01:49:06 +00:00 |
Arvid Norberg
|
f96a5c247f
|
windows fixes
|
2009-06-23 17:52:05 +00:00 |
Arvid Norberg
|
2c5ef0debf
|
fixed disk stats assert
|
2009-06-23 08:10:59 +00:00 |
Arvid Norberg
|
c2e39ec907
|
adjust piece timeouts depending on download rate limit
|
2009-06-23 05:28:36 +00:00 |
Arvid Norberg
|
5de60fad78
|
added support for preserving modification time of files in torrents
|
2009-06-23 02:50:41 +00:00 |
Arvid Norberg
|
3e3c60b1ca
|
fixed support for non-utf8 codepages
|
2009-06-23 02:49:57 +00:00 |
Arvid Norberg
|
cb29ef04e7
|
clean up
|
2009-06-23 01:57:53 +00:00 |
Arvid Norberg
|
ad1e575a6e
|
trim tracker urls and renamed isprint to is_print
|
2009-06-23 01:53:47 +00:00 |
Arvid Norberg
|
fffda3c738
|
fixed tracker error race condition
|
2009-06-23 01:52:44 +00:00 |
Georg Rudoy
|
8f5e69d610
|
Fix build on GCC 4.4.
|
2009-06-22 16:13:16 +00:00 |
Arvid Norberg
|
9dfa35d18d
|
merged utf8_native and convert_to_native
|
2009-06-22 02:19:11 +00:00 |
Arvid Norberg
|
cc3e6621ed
|
fixed rename_file() bug where the new name would not be saved in the resume data in some cases
|
2009-06-22 00:52:57 +00:00 |
Arvid Norberg
|
93e1c70263
|
allow 0 upload slots. added test for allow fast support for sending pieces to choked peers
|
2009-06-20 23:23:41 +00:00 |
Arvid Norberg
|
c47f9cd64c
|
fix channel_state assert
|
2009-06-19 18:19:24 +00:00 |
Arvid Norberg
|
5ce7aed078
|
encodes urls in torrent files that needs to be encoded
|
2009-06-19 18:18:49 +00:00 |
Arvid Norberg
|
306b75e6b1
|
boost 1.35 fixes
|
2009-06-19 16:42:33 +00:00 |
Arvid Norberg
|
d5fc3ea422
|
&supportcrypto=1 fix
|
2009-06-19 16:38:06 +00:00 |
Arvid Norberg
|
f09774607f
|
added upload mode
|
2009-06-18 22:32:55 +00:00 |
Arvid Norberg
|
6b048dc85e
|
fixed bug in connect candidate counter
|
2009-06-18 16:16:41 +00:00 |
Arvid Norberg
|
8f47ba50f1
|
hash_for_slot fix
|
2009-06-14 22:50:35 +00:00 |
Arvid Norberg
|
3df15ad39e
|
fixed memory leak in disk io thread when not using the cache
|
2009-06-14 22:48:07 +00:00 |
Arvid Norberg
|
62a7946968
|
disk stats fix
|
2009-06-14 22:20:23 +00:00 |
Arvid Norberg
|
2c34e0aa18
|
only write operations should trigger piece_picker::write_failed
|
2009-06-13 17:40:18 +00:00 |
Arvid Norberg
|
8af5211fb5
|
fix deadlock when upnp or natpmp fails to start
|
2009-06-13 10:45:07 +00:00 |
Arvid Norberg
|
7328b30517
|
fixed potential deadlock in natpmp and upnp
|
2009-06-13 08:04:53 +00:00 |
Arvid Norberg
|
2da772210c
|
fix to make torrent_status::list_peers more accurate
|
2009-06-13 04:14:41 +00:00 |
Arvid Norberg
|
f20f63f865
|
fixed deadlock in some session member functions
|
2009-06-13 04:09:54 +00:00 |
Arvid Norberg
|
07bcb3545a
|
converted a whole lot of error strings into error_codes. Documented some previously undocumented alerts as well as all the error codes
|
2009-06-12 16:40:38 +00:00 |
Arvid Norberg
|
af25f26538
|
correction of previous 'assert fix'
|
2009-06-12 16:12:19 +00:00 |
Arvid Norberg
|
cf8659a0af
|
fixed typo
|
2009-06-12 06:28:18 +00:00 |
Arvid Norberg
|
7b6261a63a
|
fixed piece picker assert (would change the peer_count for pieces we have, and assert on them)
|
2009-06-12 06:20:08 +00:00 |
Arvid Norberg
|
3e23029670
|
removed incorrect assert
|
2009-06-11 06:35:00 +00:00 |
Arvid Norberg
|
5e87420b6f
|
set all piece priorities to 0 when a write fails
|
2009-06-10 09:20:55 +00:00 |
Arvid Norberg
|
6b908e5f3f
|
fixed compile warnings
|
2009-06-10 08:42:05 +00:00 |
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 |
Arvid Norberg
|
e322b318ae
|
improved handling of out-of-memory conditions in disk I/O thread
|
2009-05-23 18:39:55 +00:00 |
Arvid Norberg
|
e197f5cb85
|
disk_io_thread assert fixes
|
2009-05-23 17:17:47 +00:00 |
Arvid Norberg
|
5fbff8e060
|
fixed a bug when checking a torrent twice
|
2009-05-23 15:58:32 +00:00 |
Arvid Norberg
|
f9c12ef589
|
added more disk io asserts
|
2009-05-23 15:50:38 +00:00 |
Arvid Norberg
|
c1d9198dc3
|
added largest_contiguous cache flush algorithm
|
2009-05-23 07:35:45 +00:00 |
Arvid Norberg
|
1392b14fec
|
fixed disk_io error handling bugs
|
2009-05-23 03:05:21 +00:00 |
Arvid Norberg
|
e36ea4ba5d
|
added instrumentation for disk access. Useful to benchmark disk cache performance
|
2009-05-23 03:03:52 +00:00 |
Arvid Norberg
|
0127edac14
|
added disk-checking delay, to leave room for other disk operations while checking a torrent
|
2009-05-22 06:32:39 +00:00 |
Arvid Norberg
|
11e97842da
|
changed the optimistic disconnect implementation to be slightly more efficient
|
2009-05-22 06:27:47 +00:00 |
Arvid Norberg
|
292c7f61a1
|
revert and do what the previous check-in was supposed to do
|
2009-05-22 03:36:05 +00:00 |
Arvid Norberg
|
065c33969a
|
promoted an expensive invariant check to only be built with full invariant checks
|
2009-05-22 03:26:24 +00:00 |
Arvid Norberg
|
cb9c3cb37d
|
memory optimization for checking torrents
|
2009-05-21 16:15:05 +00:00 |
Daniel Wallin
|
6014ac1e7a
|
Allocate memory for read/write handlers inplace inside peer_connection instance.
|
2009-05-20 08:57:08 +00:00 |
Arvid Norberg
|
98ee6daddc
|
fixed shadowing variable bug
|
2009-05-19 22:22:22 +00:00 |
Arvid Norberg
|
e7d6c9cd3c
|
fixed printf formatting issue
|
2009-05-19 20:53:27 +00:00 |
Arvid Norberg
|
c047f66454
|
improved disk buffer logging and added extra asserts when logging disk buffer stats
|
2009-05-19 07:00:05 +00:00 |
Arvid Norberg
|
ad157d49d2
|
fixed bug that prevented buffer optimization
|
2009-05-19 06:51:30 +00:00 |
Arvid Norberg
|
536d1e2cf6
|
removed assert in policy
|
2009-05-16 02:38:53 +00:00 |
Arvid Norberg
|
a2668d9b1b
|
optimized memory usage when checking files fails
|
2009-05-16 02:25:28 +00:00 |
Arvid Norberg
|
5bce212126
|
fixed incoming peer source flag and exposed it in client_test
|
2009-05-15 23:22:11 +00:00 |
Arvid Norberg
|
a51dfa50f5
|
renamed peer_from_tracker to add_peer
|
2009-05-15 22:07:19 +00:00 |
Arvid Norberg
|
437cb94fd0
|
improved IPv6 support by announcing twice when necessary
|
2009-05-15 21:23:41 +00:00 |
Arvid Norberg
|
81af5d52fb
|
fixed broken url generation in tracker announce
|
2009-05-15 16:31:47 +00:00 |
Arvid Norberg
|
53f890608d
|
use C99 string formatting macros for platform independence
|
2009-05-15 15:52:15 +00:00 |
Arvid Norberg
|
6e39f24dcf
|
optimized http tracker url construction by moving most of it over to snprintf
|
2009-05-14 22:10:00 +00:00 |
Arvid Norberg
|
1eda63c4f5
|
avoid using ' in peer ids, since there are buggy trackers that don't support it
|
2009-05-14 21:07:49 +00:00 |
Arvid Norberg
|
c459262c51
|
exception and IPv6 fixes
|
2009-05-14 20:38:42 +00:00 |
Arvid Norberg
|
890811dcc3
|
added missing include
|
2009-05-14 20:31:44 +00:00 |
Arvid Norberg
|
31c422df0a
|
added feature to set a separate global rate limit for local peers
|
2009-05-14 17:21:19 +00:00 |
Arvid Norberg
|
28c334fb35
|
web_peer_connection statistics fix
|
2009-05-13 23:02:08 +00:00 |
Arvid Norberg
|
00ccf9064e
|
optimized memory usage in the DHT, and added some handling for out-of-memory cases
|
2009-05-13 22:18:41 +00:00 |
Arvid Norberg
|
bdd7e21831
|
replace endpoint with address in DHT node ban list
|
2009-05-13 21:07:51 +00:00 |
cg25
|
7038dd3cd7
|
fix src/Makefile.am against socks4_stream.cpp
|
2009-05-13 20:52:20 +00:00 |
Arvid Norberg
|
062e1796c0
|
fixed crash when shutting down while checking a torrent
|
2009-05-13 17:17:33 +00:00 |
Arvid Norberg
|
c8066aabd8
|
fixed policy::peer cast bug (introduced when optimizing the peer allocation)
|
2009-05-13 16:14:20 +00:00 |
Arvid Norberg
|
b7c5d2f12d
|
add a separate setting for max peer list size for paused torrents
|
2009-05-13 01:34:10 +00:00 |
Arvid Norberg
|
8e3bd5154a
|
removed iostream and boost-regex dependency in client_test
|
2009-05-13 01:02:06 +00:00 |
Arvid Norberg
|
85bf463e11
|
added session setting to control disk buffer pool allocation sizes
|
2009-05-12 18:52:05 +00:00 |
Arvid Norberg
|
46c286eea3
|
assert fixes
|
2009-05-12 18:24:16 +00:00 |
Arvid Norberg
|
649f95c932
|
added session_settings presets for low memory usage and seed box environments
|
2009-05-12 18:05:04 +00:00 |
Arvid Norberg
|
d5164b1b1e
|
fixed typo. made it possible to set max_outstanding_disk_bytes_per_connection to 0
|
2009-05-12 17:57:52 +00:00 |
Arvid Norberg
|
039ee486af
|
use alloca for iovec arrays
|
2009-05-12 17:56:12 +00:00 |
Arvid Norberg
|
89e4c41ea2
|
fixed indentation
|
2009-05-11 21:19:03 +00:00 |
Arvid Norberg
|
92f42eb23c
|
fixed move_stororage to handle the case where it fails
|
2009-05-11 21:18:09 +00:00 |
Arvid Norberg
|
136f101449
|
when reaching peer list size limit, rank peers to be removed. Fix for updating IP filter
|
2009-05-11 20:23:47 +00:00 |
Arvid Norberg
|
a14bc56520
|
fixed bug in smart_ban (introduced when policy::peer allocation was changed)
|
2009-05-10 17:25:29 +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
|
1eb2799a03
|
added more allocation logging for statistics builds. Identified and fixed some memory waste
|
2009-05-07 20:30:20 +00:00 |
Arvid Norberg
|
0aa477ce54
|
handle web seed urls that don't end with / when they should
|
2009-05-07 20:27:07 +00:00 |
Arvid Norberg
|
a961e253ef
|
fix logging build
|
2009-05-07 16:30:14 +00:00 |
Arvid Norberg
|
d0786a0fde
|
added BOOST_NO_EXCEPTIONS ifdefs
|
2009-05-07 07:01:36 +00:00 |
Arvid Norberg
|
d0d2328288
|
fixed indentation
|
2009-05-07 06:47:19 +00:00 |
Arvid Norberg
|
838df44184
|
documented file_rename_failed_alert and file_renamed_alert. they were previously not documented. Fixed bug where the storage would be left in an error state (and eventually pause the torrent) when a rename_file() failed. The error is now only reported back through the alert
|
2009-05-07 06:41:41 +00:00 |
Arvid Norberg
|
bc20af9375
|
ban self-connections, in order to not try them again
|
2009-05-07 05:10:19 +00:00 |
Arvid Norberg
|
c8176cca55
|
optimized peer storage in resume data an in memory. Should use far less memory than previously for the peer list. Introduced peer source affinity, to avoid problem with a peer list that's diluted with stale peers
|
2009-05-06 22:36:24 +00:00 |
Arvid Norberg
|
ea91a6e077
|
fixed inverted peer connect rank. Used to connect to the least likely to work peer, instead of the most likely
|
2009-05-06 22:31:17 +00:00 |
Arvid Norberg
|
ff3db926fb
|
allocates 10 disk buffers at a time instead of 32. Fixed bug where connection candidates would be too high
|
2009-05-06 07:06:26 +00:00 |
Arvid Norberg
|
6c03035aa0
|
added total number of peers logging to session statistics
|
2009-05-04 06:56:29 +00:00 |
Arvid Norberg
|
cf6dc377c9
|
define fixes for disk stats build configurations
|
2009-05-04 06:42:24 +00:00 |
Arvid Norberg
|
89ac9916d7
|
replaced std::set with std::vector for accept fast piece list
|
2009-05-04 00:08:00 +00:00 |
Arvid Norberg
|
641abc6c4a
|
slight memory optimization and some header cleanup
|
2009-05-03 20:21:24 +00:00 |
Arvid Norberg
|
f2ec6b5adb
|
added option to use a single block buffer when hashing, instead of for the entire piece
|
2009-05-03 19:09:06 +00:00 |
Arvid Norberg
|
d73c97e444
|
made get_download_queue() use considerably less memory and scale with larger piece_sizes
|
2009-05-03 09:45:07 +00:00 |
Arvid Norberg
|
7563ba87b5
|
added comments to #endifs
|
2009-05-03 06:57:58 +00:00 |
Arvid Norberg
|
c71100950b
|
fix to recalculate_connect_candidates
|
2009-05-03 06:57:04 +00:00 |
Arvid Norberg
|
7439ca3277
|
add an invariant check for num_connect_candidate in policy
|
2009-05-03 03:41:33 +00:00 |
Arvid Norberg
|
807c1fc397
|
added validation check to disk_buffer_pool (and disk_io_thread in 0.14). This should catch any reference to the disk_io_thread after it has been destructed
|
2009-05-03 03:16:15 +00:00 |
Arvid Norberg
|
b75648445e
|
fixed magnet link parser to accept hex encoded info-hashes
|
2009-05-02 18:36:51 +00:00 |
Arvid Norberg
|
76ce836fb9
|
magnet link fix
|
2009-05-02 08:06:37 +00:00 |
Arvid Norberg
|
e4ddb13b6f
|
made the cache_size setting include send and receive buffers
|
2009-05-02 06:52:57 +00:00 |
Arvid Norberg
|
06b609aa1f
|
fixed unchoke bug. made the automatic unchoke strategy the default
|
2009-05-02 03:15:52 +00:00 |
Arvid Norberg
|
033fd5bd22
|
count send and receive buffers against the cache size limit
|
2009-05-01 08:00:58 +00:00 |
Arvid Norberg
|
84dda7b617
|
support for adjusting the socket buffer sizes through session_settings
|
2009-05-01 04:59:15 +00:00 |
Arvid Norberg
|
6ca1c191b6
|
some windows fixes for dynamic linking
|
2009-04-30 17:30:14 +00:00 |
Arvid Norberg
|
3cf34e3a91
|
greatly optimised memory usage for peer list
|
2009-04-30 05:49:46 +00:00 |
Arvid Norberg
|
c7dd73dd08
|
add asserts to catch negative m_outstanding_bytes
|
2009-04-26 19:44:08 +00:00 |
Arvid Norberg
|
5fc239bd23
|
ignore empty strings when passed as a tracker url to the torrent constructor
|
2009-04-26 19:16:55 +00:00 |
Arvid Norberg
|
3ecbcc8fe7
|
filters trackers with empty url fields
|
2009-04-26 08:05:42 +00:00 |
Arvid Norberg
|
86a3bf3e07
|
fixed assert when adding a torrent with resume data and immediately setting all piece priorities to 0
|
2009-04-26 07:31:26 +00:00 |
Arvid Norberg
|
6c972e03a4
|
fixed corruption of the connection queue when a peer_connection fails immediately in its connect() function
|
2009-04-26 02:46:10 +00:00 |
Arvid Norberg
|
7109b86566
|
greatly simplified the rate limiter and generalized all rate limits (peer, torrent, global) to allow for arbitrary rate limit configurations
|
2009-04-26 00:21:59 +00:00 |
Arvid Norberg
|
b324d4a190
|
fixed potential buffer overrun in verbose logging builds
|
2009-04-25 18:39:44 +00:00 |
Arvid Norberg
|
6b69f1d8c4
|
fixed crash when shutting down while checking a torrent
|
2009-04-25 08:45:13 +00:00 |
Arvid Norberg
|
fba4ae541c
|
fixed invalid iterator access in debug mode
|
2009-04-25 08:19:21 +00:00 |
Arvid Norberg
|
679a594f4e
|
fixed typo in verbose bandwidth logging
|
2009-04-24 17:40:40 +00:00 |
Arvid Norberg
|
9ea68dbb9c
|
fixed bug where an asio exception could be thrown when resolving peer countries
|
2009-04-24 17:29:57 +00:00 |
Arvid Norberg
|
4476a44160
|
fixed debug logging bug
|
2009-04-24 17:04:20 +00:00 |
Arvid Norberg
|
4421ccf11c
|
fixed missed spot in safe_convert -> convert_to_wstring rename
|
2009-04-24 08:33:23 +00:00 |
Arvid Norberg
|
73f4b06100
|
fixed merge error
|
2009-04-22 17:56:19 +00:00 |
Arvid Norberg
|
3c51ceb7c5
|
fixed bug when receiving keepalive message
|
2009-04-21 19:27:52 +00:00 |
Andrew Resch
|
4137f47386
|
Do not set an error when pausing a checking torrent
|
2009-04-19 19:49:33 +00:00 |
Arvid Norberg
|
dd67612e9b
|
fixed assert when receiving invalid piece
|
2009-04-17 17:56:58 +00:00 |
Arvid Norberg
|
509c8ed402
|
timed_wait does not seem to work as expected, revert to regular wait()
|
2009-04-15 16:32:05 +00:00 |
Arvid Norberg
|
4724051841
|
fixed assert in udp_socket
|
2009-04-13 17:52:45 +00:00 |
Arvid Norberg
|
189d618261
|
improved IPv6 support (skips unsupported tests on windows)
|
2009-04-13 05:11:44 +00:00 |
Arvid Norberg
|
32a42bae99
|
removed some dependencies on stringstream
|
2009-04-13 04:22:03 +00:00 |
Arvid Norberg
|
45f010f5d1
|
fix to_hex()
|
2009-04-13 02:13:17 +00:00 |
Arvid Norberg
|
fb5ef271cd
|
storage fix for locale dependent filename encoding
|
2009-04-13 01:03:33 +00:00 |
Arvid Norberg
|
c3dce7c91b
|
fixed typo
|
2009-04-12 21:07:17 +00:00 |
Arvid Norberg
|
91065d7a08
|
added unit tests for identify_client. replaced iostream for rendering. renamed 'Deluge Torrent' -> 'Deluge'
|
2009-04-12 18:46:07 +00:00 |
Arvid Norberg
|
3426385226
|
improve error reporting for boost-1.34 and fix boost-1.34 compatibility
|
2009-04-12 18:04:20 +00:00 |
Arvid Norberg
|
066d6ce799
|
moved content-range parsing into http_parser and added unittest
|
2009-04-12 17:52:25 +00:00 |
Arvid Norberg
|
58b053bfdf
|
replaced stringstream with sprintf in http_connection
|
2009-04-12 09:00:16 +00:00 |
Arvid Norberg
|
6a11d6ee4e
|
IPv6 tracker fix
|
2009-04-12 00:37:06 +00:00 |
Arvid Norberg
|
90ce06bb47
|
web seed fix
|
2009-04-11 20:45:14 +00:00 |
Arvid Norberg
|
1c01c9ce98
|
stats fix
|
2009-04-11 02:19:57 +00:00 |
Arvid Norberg
|
370acde32a
|
port number string conversion fix
|
2009-04-11 00:14:49 +00:00 |
Arvid Norberg
|
efbb3a5861
|
removed debug logging
|
2009-04-10 08:21:10 +00:00 |
Arvid Norberg
|
a051228069
|
fixed bug in storage when forcing recheck while renaming a file or moving it
|
2009-04-10 07:22:27 +00:00 |
Arvid Norberg
|
6219c2e36c
|
fixed padding file and resume data bug
|
2009-04-09 17:36:05 +00:00 |
Arvid Norberg
|
41be942ae7
|
experimental support for incoming connections over socks (untested)
|
2009-04-09 01:04:49 +00:00 |
Arvid Norberg
|
a956265be4
|
merged socks4 and socks5 code and improved SOCKS error messages
|
2009-04-08 04:18:45 +00:00 |
Arvid Norberg
|
1ed9e6d2f8
|
more C bindings and added getters for max_uploads on session and torrent
|
2009-04-07 15:55:05 +00:00 |
Arvid Norberg
|
2bb1772299
|
time_duration fix (works with boost.date-time again)
|
2009-04-06 17:12:14 +00:00 |
Arvid Norberg
|
40c6db3c52
|
debug define fix in piece_picker
|
2009-04-04 21:50:36 +00:00 |
Arvid Norberg
|
2b671bc820
|
more iostream fixes
|
2009-04-04 21:44:04 +00:00 |
Arvid Norberg
|
b5bb51c6af
|
cut out more IPv6 code if not supported
|
2009-04-04 16:59:53 +00:00 |
Arvid Norberg
|
c6f2aa129c
|
minor peer_connection fixes
|
2009-04-04 16:19:19 +00:00 |
Arvid Norberg
|
e6f2073cd3
|
IPv6 fix
|
2009-04-04 10:08:07 +00:00 |
Arvid Norberg
|
aba5b2e9d0
|
dropped some iostream dependencies
|
2009-04-04 09:52:25 +00:00 |
Arvid Norberg
|
ac7e4fed7e
|
more missing wchar_t support
|
2009-04-04 08:32:23 +00:00 |
Arvid Norberg
|
3cd26dec64
|
compile time options to use readv/writev or not
|
2009-04-04 08:23:53 +00:00 |
Arvid Norberg
|
db8487be46
|
auto unchoke improvement
|
2009-04-04 07:55:34 +00:00 |
Arvid Norberg
|
33912a0fb7
|
invariant check fix
|
2009-03-31 18:01:12 +00:00 |
Arvid Norberg
|
3499913c59
|
storage compact mode resume data fix
|
2009-03-31 08:20:34 +00:00 |
Arvid Norberg
|
91ba36a396
|
added compile time option for mlock support
|
2009-03-31 08:15:21 +00:00 |
Arvid Norberg
|
982cf7f7f7
|
improved support for platforms with no wchar_t and std::wstring
|
2009-03-31 08:12:35 +00:00 |
Arvid Norberg
|
c6017f9366
|
reverted bug introduced a few check-ins ago. Fixed case when recursive_copy fails (don't remove the original files). Cleaned up callback dispatching in disk_io_thread in trunk. Improved unit tests for move_storage
|
2009-03-31 08:05:46 +00:00 |
Arvid Norberg
|
0070232f7c
|
attempt to fix #493 by keeping io_service running while there are still peer connections
|
2009-03-31 08:02:25 +00:00 |
Arvid Norberg
|
d7eb787c88
|
reset the io_service in case it exits prematurely
|
2009-03-31 07:57:57 +00:00 |
Arvid Norberg
|
1a6d2f86b9
|
add compile time option to disable IPv6 support
|
2009-03-31 07:45:54 +00:00 |
Arvid Norberg
|
36eb9c4f51
|
move storage fix
|
2009-03-30 04:55:23 +00:00 |
Arvid Norberg
|
db9236fcf8
|
don't try IPv6 on windows if it's not installed
|
2009-03-27 18:44:40 +00:00 |
Arvid Norberg
|
d4e08cd37f
|
generate partial resume data for torrents that haven't been checked
|
2009-03-27 18:40:05 +00:00 |
Arvid Norberg
|
9c4c49c443
|
logging build fix and indentation fix
|
2009-03-27 17:14:15 +00:00 |
Arvid Norberg
|
3d2bf88894
|
fixed CIDR calculation
|
2009-03-25 23:58:39 +00:00 |
Arvid Norberg
|
37cbdb331e
|
IPv6 only tracker fix
|
2009-03-22 22:24:11 +00:00 |
Arvid Norberg
|
643be6c44b
|
fixed issue where renamed files would sometimes not be saved in the resume data
|
2009-03-22 22:21:48 +00:00 |
Arvid Norberg
|
fb5ae3dc97
|
fixed dual IP stack issue
|
2009-03-22 20:34:57 +00:00 |
Arvid Norberg
|
7c4f788b9d
|
fix to lazy_entry print function
|
2009-03-22 05:31:28 +00:00 |
Arvid Norberg
|
1ed7e222f8
|
added documentation to explain how paused and auto_managed are overridden by resume_data. Added a mechanism to trunk to ignore the resume data for those two settings. Updated documentation in trunk to include more fields in the resume data. Fixed broken links in the trunk docs
|
2009-03-21 04:33:53 +00:00 |
Arvid Norberg
|
7e01b9d990
|
fix on_piece to check if header is received before parsing it
|
2009-03-19 16:50:37 +00:00 |
Arvid Norberg
|
31054ef069
|
first implementation of set_piece_deadline
|
2009-03-17 09:34:44 +00:00 |
Arvid Norberg
|
1cdfe26630
|
Fixed bug when moving storage with files renamed to end up outside of the rood directory. Fixes Deluge bug http://dev.deluge-torrent.org/ticket/839
|
2009-03-17 09:31:30 +00:00 |
Arvid Norberg
|
fc8a59a390
|
fix to http_parser when used to parse requests instead of responses
|
2009-03-14 23:22:37 +00:00 |
Arvid Norberg
|
af10b55254
|
wakes up the disk io thread once a second to flush caches
|
2009-03-14 09:24:58 +00:00 |
Arvid Norberg
|
f5f9796ba7
|
fixed windows build
|
2009-03-14 08:19:17 +00:00 |
Arvid Norberg
|
84a513bffb
|
initial support for merkle hash tree torrents
|
2009-03-13 06:09:39 +00:00 |
Andrew Resch
|
2ad491cfd3
|
fixed UPnP issue where the control url contained the base url
|
2009-03-12 20:15:05 +00:00 |
Arvid Norberg
|
f07ff08dd2
|
we can send requests when we're choked (for allowed fast pieces)
|
2009-03-12 17:27:59 +00:00 |
Arvid Norberg
|
0de21dc815
|
fixed bug related to ignoring upload slots and made the piece rejection code more robust to handle similar bugs better
|
2009-03-12 17:06:41 +00:00 |
Arvid Norberg
|
59fa30400f
|
fix lazy_entry stream out operator to not leave the stream in hexadecimal mode
|
2009-03-12 01:59:35 +00:00 |
Arvid Norberg
|
ee3075ec12
|
upnp delete mapping bugfix
|
2009-03-11 00:42:46 +00:00 |
Arvid Norberg
|
6353b3c3e6
|
fixed boost-1.34.1 build
|
2009-03-06 08:57:00 +00:00 |
Arvid Norberg
|
079c6e6e03
|
no need to wait for 4 retries before mapping ports on a router
|
2009-03-04 09:40:16 +00:00 |
Arvid Norberg
|
b9ab3f056b
|
fixed create_torrent to use renamed function 'convert_to_wstring'
|
2009-03-03 18:18:08 +00:00 |
Arvid Norberg
|
93eda7c7fa
|
fix ignore unchoke slot invariant check
|
2009-03-01 07:20:08 +00:00 |
Arvid Norberg
|
614dec05aa
|
fixed UPnP crash caused by UPnP was giving up while there were still outstanding http requests pending
|
2009-03-01 02:25:46 +00:00 |
Arvid Norberg
|
b809028bda
|
uses iconv by default on linux to convert filenames from utf-8 to the current locale
|
2009-03-01 00:02:33 +00:00 |
Arvid Norberg
|
6ff2b1b2d4
|
fixed potential http compatibility issue
|
2009-02-27 09:03:05 +00:00 |
Arvid Norberg
|
b84e87edf4
|
build fix
|
2009-02-27 07:03:00 +00:00 |
Arvid Norberg
|
7aacfca292
|
made the examples build without exception support. added overloads of add_torrent() and add_magnet_uri() that don't throw
|
2009-02-26 07:09:56 +00:00 |
Arvid Norberg
|
f8e72650bd
|
fixed #488
|
2009-02-25 05:53:24 +00:00 |
Arvid Norberg
|
00916610c7
|
fixed wpath bug #486
|
2009-02-25 04:56:00 +00:00 |
Arvid Norberg
|
b25a8db2a6
|
added more error codes. consolidated exception classes into one. moved over more places to use error_code instead of strings. fixed proper error handling for torrent_info
|
2009-02-23 01:21:19 +00:00 |
Arvid Norberg
|
80a51ad89d
|
improved error handling of out of memory conditions
|
2009-02-22 20:52:55 +00:00 |
Arvid Norberg
|
658b7309d3
|
fixed issue where web peers would be connected before files were checked
|
2009-02-22 20:19:58 +00:00 |
Arvid Norberg
|
fbc6910335
|
fix cast issue on 64-bit platforms
|
2009-02-22 20:18:42 +00:00 |
Arvid Norberg
|
d728af10a2
|
fix 64-bit cast issue
|
2009-02-21 18:02:12 +00:00 |
Arvid Norberg
|
afd04635e9
|
replaced std::isdigit with is_digit, to avoid asserts on windows and locale dependency. Fixes #484
|
2009-02-18 06:01:24 +00:00 |
Arvid Norberg
|
25dd5c86b9
|
fixed upnp bug that could cause stack overflow
|
2009-02-18 03:46:36 +00:00 |
Arvid Norberg
|
7fff6ace1b
|
added download queue time estimate
|
2009-02-17 02:33:45 +00:00 |
Arvid Norberg
|
13ca386838
|
improved support for sparse files on windows
|
2009-02-17 00:11:38 +00:00 |
Arvid Norberg
|
7b2be278f1
|
windows file fix
|
2009-02-17 00:00:21 +00:00 |
Arvid Norberg
|
5a30111b9b
|
some file fixes
|
2009-02-16 11:04:54 +00:00 |
Arvid Norberg
|
75efebac1e
|
allocate files on unix when allocate storage mode is used
|
2009-02-16 00:42:44 +00:00 |
Arvid Norberg
|
9905f700ae
|
prepare to take sparse regions into account when checking files
|
2009-02-14 04:31:08 +00:00 |
Arvid Norberg
|
7c2d2f6d12
|
use SetFileValidData() on non-sparse files on windows
|
2009-02-14 04:18:17 +00:00 |
Arvid Norberg
|
dc4d50b117
|
don't make files sparse when allocation mode is set on the storage (windows only)
|
2009-02-14 03:56:07 +00:00 |
Arvid Norberg
|
3187bd9905
|
moved some errors over to use error_code
|
2009-02-13 19:01:02 +00:00 |
Arvid Norberg
|
2a9605f9db
|
the reserved bits are only 8 bytes
|
2009-02-13 07:17:20 +00:00 |
Arvid Norberg
|
63a2522014
|
fixed some warnings
|
2009-02-13 07:13:03 +00:00 |
Arvid Norberg
|
373c19dadd
|
build fix for no encryption build
|
2009-02-12 03:57:53 +00:00 |
Arvid Norberg
|
e42ca5ec4b
|
fixed locale dependence in lsd.cpp
|
2009-02-11 18:16:55 +00:00 |
Arvid Norberg
|
72531255bc
|
define boost::throw_exception when building with no exceptions
|
2009-02-11 17:45:12 +00:00 |
Arvid Norberg
|
561fcd5748
|
formatting change
|
2009-02-11 08:16:14 +00:00 |
Arvid Norberg
|
90b3006d22
|
fixed bug when talking to https 1.0 servers
|
2009-02-11 07:54:16 +00:00 |
Arvid Norberg
|
2f5604f3c0
|
removed duplicate code
|
2009-02-10 08:55:39 +00:00 |
Arvid Norberg
|
2c68654994
|
fixed bug where mapped files were not restored properly from the resume data. Fixes #483
|
2009-02-09 06:19:31 +00:00 |
Arvid Norberg
|
fe714b4b89
|
fixed torrent checking race condition
|
2009-02-09 02:04:43 +00:00 |
Arvid Norberg
|
ba0f894c7c
|
avoid adding a torrent to the checking queue twice
|
2009-02-08 01:29:09 +00:00 |
Arvid Norberg
|
c0d43b8110
|
resume data errors should always be logged, regardless of the alert being active
|
2009-02-08 00:05:27 +00:00 |
Arvid Norberg
|
6c8617ffc3
|
added more verbose logging for web_peer_connection
|
2009-02-07 22:20:13 +00:00 |
Arvid Norberg
|
7744718b44
|
added error message to invalid_torrent_file exception (will be replaced by error_code at some point)
|
2009-02-07 19:18:48 +00:00 |
Arvid Norberg
|
cf55883d0f
|
read_resume_data fix
|
2009-02-07 06:12:32 +00:00 |
Arvid Norberg
|
7ddffbac64
|
fixed windows build
|
2009-02-06 17:59:49 +00:00 |
Arvid Norberg
|
5c12db28d2
|
added option to lock disk cache in physical memory
|
2009-02-06 09:46:13 +00:00 |
Arvid Norberg
|
7607286f50
|
fixing bug where the trailing bits in bitfields were not set to 0. Fixes #482
|
2009-02-06 08:51:25 +00:00 |
Arvid Norberg
|
bcd93da465
|
fixed encryption asserts
|
2009-02-04 05:51:00 +00:00 |
Arvid Norberg
|
532a5f477d
|
fixed checking files issue
|
2009-02-03 17:35:41 +00:00 |
Arvid Norberg
|
1ac8f806fa
|
added seed mode support (lazy hash checking)
|
2009-02-03 07:46:24 +00:00 |
Arvid Norberg
|
26910eff1d
|
update_settings fixes for disk_io_thread
|
2009-01-28 07:09:10 +00:00 |