Arvid Norberg
|
13ceee7a55
|
fixed boost-1.34 compatibility
|
2009-01-17 18:47:35 +00:00 |
Arvid Norberg
|
7529225870
|
file windows fix
|
2009-01-17 18:25:27 +00:00 |
Arvid Norberg
|
ae1fa3c1b5
|
linux file fixes
|
2009-01-17 09:37:40 +00:00 |
Arvid Norberg
|
5b551c1761
|
merged storage::readv() and storage::writev()
|
2009-01-17 08:35:48 +00:00 |
Arvid Norberg
|
78d3654263
|
fix file.cpp build on linux
|
2009-01-17 00:09:44 +00:00 |
Arvid Norberg
|
e670f3807b
|
file EOF fix for windows
|
2009-01-16 19:10:53 +00:00 |
Arvid Norberg
|
a35d516b68
|
file EOF fix for windows
|
2009-01-16 18:51:54 +00:00 |
Arvid Norberg
|
97d8685066
|
pad file support fix
|
2009-01-15 18:52:41 +00:00 |
Arvid Norberg
|
0e8325bd3b
|
fixed infinite recursion in allocator
|
2009-01-15 18:25:27 +00:00 |
Arvid Norberg
|
113d1f3557
|
moved page_aligned_allocator to its own file and uses it in set_piece_hashes to not pass in unaligned buffers to storage read
|
2009-01-15 17:09:36 +00:00 |
Arvid Norberg
|
9edfd93603
|
fixed missing new line in assert message
|
2009-01-15 04:45:28 +00:00 |
Arvid Norberg
|
630601aedf
|
use & instead of %
|
2009-01-15 04:25:07 +00:00 |
Arvid Norberg
|
3f94cc8857
|
made the sequential download mode slightly more sequential (by letting more categories of peers request early pieces). Disabled speed affinity and prefer_whole_pieces when in sequential download mode
|
2009-01-14 09:07:27 +00:00 |
Arvid Norberg
|
bd1757fbd2
|
added libtorrent version and svn revision to assert output
|
2009-01-14 08:41:14 +00:00 |
Arvid Norberg
|
66ccc9d23f
|
improved support for padding files by not counting them in total_wanted_done and total_wanted or progress
|
2009-01-14 07:41:25 +00:00 |
Arvid Norberg
|
692c3cd6f8
|
another map_block fix
|
2009-01-14 07:39:02 +00:00 |
Arvid Norberg
|
63add6c725
|
map_file fix
|
2009-01-14 06:55:28 +00:00 |
Arvid Norberg
|
b9d7538ba8
|
fixed storage to generate a proper error when the read operation
|
2009-01-14 03:05:35 +00:00 |
Arvid Norberg
|
d0546e702f
|
optimized file_storage::map_block to use lower_bound instead of linear search
|
2009-01-14 01:12:36 +00:00 |
Arvid Norberg
|
6fdbe76532
|
file fixes
|
2009-01-13 19:40:14 +00:00 |
Arvid Norberg
|
0bb330225c
|
another storage fix
|
2009-01-13 08:58:35 +00:00 |
Arvid Norberg
|
3f0fa60164
|
fixed typo preventing pool-allocators=off build
|
2009-01-13 06:49:40 +00:00 |
Arvid Norberg
|
2a19a52465
|
fix incorrect buffer handling with pad files
|
2009-01-12 18:08:18 +00:00 |
Arvid Norberg
|
b3999c8ac0
|
minor bytes_done fix
|
2009-01-12 02:22:11 +00:00 |
Arvid Norberg
|
43e69cd316
|
added extension for file attributes. Fixes problem when sharing Application bundles on OSX or hidden files on windows
|
2009-01-11 22:27:43 +00:00 |
Arvid Norberg
|
de9286a760
|
replace std::isdigit() to avoid asserts on windows
|
2009-01-11 20:40:43 +00:00 |
Arvid Norberg
|
97e3d9f709
|
fixed missing file flag on windows
|
2009-01-11 19:54:20 +00:00 |
Arvid Norberg
|
ee5a76fa65
|
another windows file IO fix
|
2009-01-11 18:10:52 +00:00 |
Arvid Norberg
|
52aa441818
|
File IO fixes for windows
|
2009-01-11 18:01:28 +00:00 |
Arvid Norberg
|
eea890de11
|
added support for generating torrent files with padding files in them
|
2009-01-11 10:32:57 +00:00 |
Arvid Norberg
|
ce6531640b
|
fixed incorrect return codes
|
2009-01-11 10:21:18 +00:00 |
Arvid Norberg
|
27956d4dcb
|
fixed operator precedence bug
|
2009-01-11 09:59:05 +00:00 |
Arvid Norberg
|
7592ad4aee
|
updated disk IO to support unbuffered files
|
2009-01-11 02:02:34 +00:00 |
Arvid Norberg
|
20a0593fa3
|
removed mapped_storage
|
2009-01-10 07:14:02 +00:00 |
Arvid Norberg
|
cfd116ffad
|
made disk_io_settings be synchronized through the job queue
|
2009-01-10 05:46:02 +00:00 |
Arvid Norberg
|
c21edfa6f1
|
fixed bug preventing clients to change the disk cache expiration time
|
2009-01-09 18:18:46 +00:00 |
Arvid Norberg
|
1ac4b29aa9
|
fix invariant check failure
|
2009-01-07 10:09:25 +00:00 |
Arvid Norberg
|
b0a72f6809
|
fixed dead-lock when setting DHT proxy
|
2009-01-06 17:45:32 +00:00 |
Arvid Norberg
|
7df806d7f5
|
fix bug when calling torrent_handle::queue_position_up() on the torrent at the top of the queue. #455
|
2009-01-05 18:45:05 +00:00 |
Arvid Norberg
|
d07ccaf6b8
|
workaround for sparse files issue on Windows vista
|
2009-01-05 01:08:09 +00:00 |
Arvid Norberg
|
f1d229aae6
|
first pass of replacing coalesce writes and reads by writev and readv (no windows support yet)
|
2009-01-03 08:11:31 +00:00 |
Arvid Norberg
|
3bf9fa239d
|
fixed incorrect failure test in storage. Affected reading when not coalescing reads
|
2009-01-02 10:31:26 +00:00 |
Arvid Norberg
|
a14421bde5
|
return if torrent is aborted in files checked
|
2009-01-02 09:47:51 +00:00 |
Arvid Norberg
|
dacb1ac48d
|
reverted async. call to torrent::start() since it creates an undesirable race condition for file operations
|
2009-01-02 08:58:51 +00:00 |
Arvid Norberg
|
a4dc107658
|
dht_stats fix (truncates the log file on startup)
|
2009-01-01 18:29:42 +00:00 |
Arvid Norberg
|
233f2ed00c
|
start of use of writev instead of coalescing into a heap allocated buffer
|
2009-01-01 01:47:57 +00:00 |
Arvid Norberg
|
cf7a6e6029
|
fixed broken DHT round trip logging
|
2008-12-31 18:49:28 +00:00 |
Arvid Norberg
|
aecc24171d
|
extended utf-8 encoding error correction to also cover name, comment and created by. Fixes #372
|
2008-12-31 10:18:19 +00:00 |
Arvid Norberg
|
1a22c31d08
|
fixed typo in last check-in
|
2008-12-30 17:45:58 +00:00 |
Arvid Norberg
|
b873ffeb01
|
log the url in udp_tracker log lines
|
2008-12-30 17:37:38 +00:00 |
Arvid Norberg
|
06da1f8e8a
|
added some session logging. added more disk-io-thread stats logging and parse script
|
2008-12-30 08:20:25 +00:00 |
Arvid Norberg
|
e5d3755afb
|
added support for http seeds (BEP 17)
|
2008-12-30 03:54:07 +00:00 |
Arvid Norberg
|
96a771ef8b
|
only accept gzip encoding for bottled http requests
|
2008-12-29 07:31:33 +00:00 |
Arvid Norberg
|
725fdef85e
|
IP overhead calculation fix
|
2008-12-28 20:06:59 +00:00 |
Arvid Norberg
|
469fe10107
|
udp_socket fix believed to fix #445
|
2008-12-28 01:50:55 +00:00 |
Arvid Norberg
|
b81ae19e86
|
fix uninitialized variable read (next_announce)
|
2008-12-27 07:22:57 +00:00 |
Arvid Norberg
|
3d2726c523
|
dht stats now truncates the log from previous run
|
2008-12-27 03:34:05 +00:00 |
Arvid Norberg
|
28cb451eac
|
expire read cache as well (same time out as write cache)
|
2008-12-27 02:38:14 +00:00 |
Arvid Norberg
|
927f9623cb
|
session stats improvements
|
2008-12-27 02:22:20 +00:00 |
Arvid Norberg
|
952ed687cd
|
made session stats config build
|
2008-12-26 07:00:21 +00:00 |
Arvid Norberg
|
c8988d79b9
|
fixed typo in earlier check-in and wrapped try-catch block in BOOST_NO_EXCEPTIONS
|
2008-12-25 23:51:16 +00:00 |
Arvid Norberg
|
5a201af5f5
|
don't send performance warnings for rate limits unless it's enabled. stats logging improvements
|
2008-12-25 22:26:02 +00:00 |
Arvid Norberg
|
9379e4414c
|
removed limit of active torrents to the unchoked slots. Fixes #450. Also removed some dead code and fixed typos in comments
|
2008-12-25 22:19:14 +00:00 |
Arvid Norberg
|
de911676ed
|
added asserts to make sure tracker_connections are shut down correctly (#451)
|
2008-12-25 02:05:23 +00:00 |
Arvid Norberg
|
6f80fdf9f7
|
fix bug when renaming files and using the web_peer_connection. Deprecated non-const file_storage access in torrent_info
|
2008-12-24 20:07:34 +00:00 |
Arvid Norberg
|
00d02f7859
|
improved DHT get_peers code. get_peers always returns nodes now, and announce_peer is always sent to the k closest nodes to the info-hash. This should significantly speed up retrieving peers from the DHT
|
2008-12-23 20:04:12 +00:00 |
Arvid Norberg
|
3b5706c5db
|
fixed index of dht stats log and added/fixed dht log parsing and graphin tools
|
2008-12-23 18:38:48 +00:00 |
Arvid Norberg
|
f43bc34ab9
|
another GeoIP fix
|
2008-12-22 09:53:30 +00:00 |
Arvid Norberg
|
578c2eb80c
|
more C fixes for GeoIP.c
|
2008-12-22 09:07:12 +00:00 |
Arvid Norberg
|
f6a9e44523
|
modified fix for #431 to make it actually build and work
|
2008-12-21 19:15:53 +00:00 |
Arvid Norberg
|
7b8663fa8b
|
support for wide character paths for the GeoIP databases. Fixes #431
|
2008-12-21 08:48:06 +00:00 |
Arvid Norberg
|
16bfde875d
|
tests don't need the default session features turned on
|
2008-12-20 23:06:06 +00:00 |
Arvid Norberg
|
4bd0d2d2e6
|
added resolver cancellation to http_connection and udp_socket. might prevent potential shutdown stalls
|
2008-12-20 18:27:09 +00:00 |
Arvid Norberg
|
41b2be779e
|
fixed natpmp (broken in [3023])
|
2008-12-19 19:27:58 +00:00 |
Arvid Norberg
|
2c03c44a59
|
fix assert.cpp mac build to take sdk version into account
|
2008-12-19 09:17:55 +00:00 |
Arvid Norberg
|
d850a9ea38
|
utp socket fix
|
2008-12-19 06:20:09 +00:00 |
Arvid Norberg
|
eadd91849a
|
simplified assert.cpp, included stack-traces on Mac (assumes 10.5). Makes it easier to debug asio hangs since the backtraces can be used externally
|
2008-12-19 06:12:55 +00:00 |
Arvid Norberg
|
e4ed68918b
|
fixed bug when torrent file have announce-list but no valid trackers. #444
|
2008-12-16 01:26:35 +00:00 |
Arvid Norberg
|
f1d981254a
|
added session::set_alert_dispatch() for system specific message loop integration
|
2008-12-15 07:12:08 +00:00 |
Arvid Norberg
|
b47f965c85
|
added torrent_handle::read_piece(). #441
|
2008-12-14 19:47:02 +00:00 |
Arvid Norberg
|
0638251289
|
added queued bytes to bandwidth manager and session_stats
|
2008-12-13 05:12:12 +00:00 |
Arvid Norberg
|
eb1de9d9eb
|
fixed potential problem in storage where it sometimes checks files without first initializing
|
2008-12-13 03:32:57 +00:00 |
Arvid Norberg
|
9c5c0418ba
|
fixed tracker prioritization bug
|
2008-12-12 10:00:20 +00:00 |
Arvid Norberg
|
6d3d58020a
|
udp_socket fixes and extra asserts
|
2008-12-12 09:20:27 +00:00 |
Arvid Norberg
|
5bc4a2089d
|
fixed seeding choking algorithm to be more fair (proper round robin)
|
2008-12-10 23:07:44 +00:00 |
Arvid Norberg
|
5fb854d724
|
improved super seeding with strict option
|
2008-12-09 07:56:37 +00:00 |
Arvid Norberg
|
ef8234efc5
|
fixed preprocessor defines using UNICODE instead of TORRENT_USE_WPATH. Removed old boost.filesystem replacement code to support boost 1.33
|
2008-12-09 03:45:58 +00:00 |
Arvid Norberg
|
2a9353cf48
|
prefer udp trackers. Fixes #433
|
2008-12-08 09:13:21 +00:00 |
Arvid Norberg
|
b41cdd6469
|
initial super seeding support
|
2008-12-08 06:36:22 +00:00 |
Arvid Norberg
|
14c142d997
|
added add_piece() to inject data from external sources
|
2008-12-07 21:04:19 +00:00 |
Arvid Norberg
|
3b7e484d6a
|
various fixes for potential shutdown freezes
|
2008-12-07 20:25:04 +00:00 |
Arvid Norberg
|
a54c3fc0e7
|
added space after Host: http header
|
2008-12-04 21:44:21 +00:00 |
Arvid Norberg
|
aeee715dd6
|
slight upnp optimization
|
2008-12-04 06:24:57 +00:00 |
Arvid Norberg
|
2d4bdbca7d
|
fixed disk_io_thread over-allocation
|
2008-12-03 06:42:53 +00:00 |
Arvid Norberg
|
4cc15f34ad
|
fixed nat-pmp bug
|
2008-12-02 08:20:29 +00:00 |
Arvid Norberg
|
eacab8680e
|
fixed illegal type conversion
|
2008-12-01 20:37:06 +00:00 |
Arvid Norberg
|
70f4303d92
|
added tracker IP to tracker_response callback and added filtering of local IPs in pex and tracker responses. #409
|
2008-12-01 08:48:54 +00:00 |
Arvid Norberg
|
58a3f6e4a0
|
added wpath overload for torrent_info constructor
|
2008-12-01 07:52:59 +00:00 |
Arvid Norberg
|
a00ddba109
|
fixed bug that would grossly underestimate the TCP/IP overhead
|
2008-12-01 07:23:58 +00:00 |
Arvid Norberg
|
4b738fca7a
|
added previous state to state_changed_alert. #401
|
2008-12-01 00:19:05 +00:00 |
Arvid Norberg
|
8e48e81ead
|
added wpath and wstring overloads for functions dealing with paths for more complete wide character support. #432
|
2008-11-30 08:12:26 +00:00 |
Arvid Norberg
|
6027f9f20c
|
made assert tied to the new TORRENT_DEBUG define. Fixed two include problems that surfaced as a result
|
2008-11-30 04:50:52 +00:00 |
Arvid Norberg
|
6519660372
|
add port number of host field in http requests
|
2008-11-29 23:00:57 +00:00 |
Arvid Norberg
|
1022ba45fc
|
fixed bug in disk IO thread which would make it sometimes0 exit the thread if an error occurred
|
2008-11-29 21:38:34 +00:00 |
Arvid Norberg
|
09b3a865ef
|
fixed compiler flags in pkg-config file and made header files not depend on the NDEBUG define
|
2008-11-29 21:33:21 +00:00 |
Arvid Norberg
|
d1a2b774e6
|
changed how trackers are handled. Implements #297 by setting session_settings::announce_to_all_trackers to true
|
2008-11-29 08:38:40 +00:00 |
Arvid Norberg
|
acbdbfc1ef
|
added tracker exchange (tex) extension
|
2008-11-27 20:51:59 +00:00 |
Arvid Norberg
|
1b686a1364
|
m_currently_trying_tracker cleanup
|
2008-11-27 20:48:29 +00:00 |
Arvid Norberg
|
5ed3daa49a
|
PEX optimization
|
2008-11-26 08:27:57 +00:00 |
Arvid Norberg
|
3fd5405fa9
|
torrent_handle::add_tracker()
|
2008-11-26 01:42:14 +00:00 |
Arvid Norberg
|
294e62a4c3
|
current_tracker now also indicates which tracker is being tried. fixes #404
|
2008-11-26 01:31:54 +00:00 |
Arvid Norberg
|
93a0103746
|
ut_metadata fix to not send metadata for private torrents
|
2008-11-25 19:25:49 +00:00 |
Arvid Norberg
|
2cd1838f38
|
exception fix in udp_socket
|
2008-11-24 19:19:27 +00:00 |
Arvid Norberg
|
73907913d7
|
force recheck assert fix
|
2008-11-24 19:18:53 +00:00 |
Arvid Norberg
|
157603b597
|
first pass at a link compatibility check
|
2008-11-23 15:44:11 +00:00 |
Arvid Norberg
|
357d548bb5
|
fixed boost.filesystem usage to not rely on deprecated functions
|
2008-11-21 23:38:07 +00:00 |
Arvid Norberg
|
3c90672b2f
|
fixed upnp parsing problem #427
|
2008-11-21 18:23:44 +00:00 |
Arvid Norberg
|
723aba6c24
|
solved issue with pausing checking torrents. Introduced a new state, checkin_resume_data, which a torrent is in while waiting for the disk io thread to verify the resume data, but before it has been determined wheter it should be queued for checking or not
|
2008-11-19 00:46:48 +00:00 |
Arvid Norberg
|
78abf8a340
|
made recent change where the TCP/IP overhead is take into account when rate limiting, optional
|
2008-11-18 11:14:44 +00:00 |
Arvid Norberg
|
ce24a17308
|
minor checking torrent fix
|
2008-11-18 11:03:19 +00:00 |
Arvid Norberg
|
57c22bb214
|
complete support for pausing checking torrents
|
2008-11-18 11:01:30 +00:00 |
Arvid Norberg
|
70119a6b53
|
consider 0-sized piece messages to be reject messages
|
2008-11-17 19:29:14 +00:00 |
Arvid Norberg
|
51393dabdf
|
fixed typo
|
2008-11-17 19:19:45 +00:00 |
Arvid Norberg
|
370ee02ef6
|
fixed incorrect assert when receiving a 0-size piece message
|
2008-11-17 19:12:34 +00:00 |
Arvid Norberg
|
4fed0cd542
|
comment about file name truncation
|
2008-11-17 18:31:42 +00:00 |
Arvid Norberg
|
30c0525ed5
|
truncates filenames that are too long (#412)
|
2008-11-17 08:01:35 +00:00 |
Arvid Norberg
|
f503bbfe86
|
fix for when aborting torrents that are being checked. Fix in client_test when removing torrents that are checking.
|
2008-11-17 01:19:46 +00:00 |
Arvid Norberg
|
de93105d51
|
pad file fix
|
2008-11-16 23:33:59 +00:00 |
Arvid Norberg
|
a48ffe36e0
|
improved natpmp logging and handling of mapped ports in session
|
2008-11-16 02:11:04 +00:00 |
Arvid Norberg
|
e9a33e6a05
|
added option to set alert mask when constructing session
|
2008-11-16 02:09:53 +00:00 |
Arvid Norberg
|
7e4d5dc72f
|
avoid exception from boost.filesystem
|
2008-11-14 23:23:02 +00:00 |
Arvid Norberg
|
40946162b3
|
avoid exceptions from boost.filesystem
|
2008-11-14 21:35:21 +00:00 |
Arvid Norberg
|
c3bbf138a4
|
estimate TCP/IP overhead more accurately
|
2008-11-14 20:51:49 +00:00 |
Arvid Norberg
|
10fcab392a
|
fix utf8 build
|
2008-11-14 05:22:04 +00:00 |
Arvid Norberg
|
03398e94b0
|
replaced utf8 conversion with code from unicode.org
|
2008-11-13 06:39:08 +00:00 |
Arvid Norberg
|
4578f3426c
|
assert fix
|
2008-11-12 22:24:55 +00:00 |
Arvid Norberg
|
1b10a3b15f
|
DHT instrumentation changes
|
2008-11-12 03:56:56 +00:00 |
Arvid Norberg
|
4eb0df96c2
|
DHT fix. broke in recent update
|
2008-11-12 03:33:58 +00:00 |
Arvid Norberg
|
43a2db0b20
|
fix for recent move of torrent::start into the libtorrent thread
|
2008-11-12 03:30:19 +00:00 |
Arvid Norberg
|
a5ba060240
|
when calculating desired queue size, block size should not depend on whether or not they are merged in the requests
|
2008-11-12 00:54:44 +00:00 |
Arvid Norberg
|
a7af4d806b
|
verbose logging improvement
|
2008-11-11 23:45:43 +00:00 |
Arvid Norberg
|
beb9dbfc03
|
cleaned up DHT error handling and logging. Made it use lazy_bdecode for improved performance
|
2008-11-11 17:51:02 +00:00 |
Arvid Norberg
|
03593c8b92
|
typecasting syntax fixes. No longer prints empty buckets in routing table dump
|
2008-11-11 10:03:43 +00:00 |
Arvid Norberg
|
49a3ac9710
|
disk_io_thread shutdown fix
|
2008-11-11 09:32:51 +00:00 |
Arvid Norberg
|
473f75e98a
|
DHT fix where the node_id would get set after it was started and be inconsitent with rpc_manager and routing_table
|
2008-11-11 08:33:34 +00:00 |
Arvid Norberg
|
dd26371c0a
|
indentation fix
|
2008-11-10 04:17:16 +00:00 |
Arvid Norberg
|
ce8c835ab8
|
fixed missing member initialization
|
2008-11-10 04:16:18 +00:00 |
Arvid Norberg
|
7306b60682
|
lazy_decode memory allocation tuning
|
2008-11-10 04:15:29 +00:00 |
Arvid Norberg
|
45de012553
|
fixed non verbose DHT build
|
2008-11-10 03:08:29 +00:00 |
Arvid Norberg
|
4abd27b40e
|
initialize torrent object in libtorrent thread instead of in calling thread
|
2008-11-10 02:33:39 +00:00 |
Arvid Norberg
|
18d269dd62
|
DHT optimizations
|
2008-11-10 02:08:42 +00:00 |
Arvid Norberg
|
15a8cbcce7
|
dht fix
|
2008-11-09 09:02:06 +00:00 |
Arvid Norberg
|
ce544e2300
|
DHT rate limiter fixes
|
2008-11-09 00:37:03 +00:00 |
Arvid Norberg
|
3ed38059aa
|
rate_limited_udp_socket fixes
|
2008-11-08 21:44:24 +00:00 |
Arvid Norberg
|
9bba20cdb4
|
first pass at rate limited udp socket (for DHT)
|
2008-11-08 17:40:06 +00:00 |
Arvid Norberg
|
4e9124019b
|
added accessor to query for the max number of connections
|
2008-11-08 07:40:55 +00:00 |
Arvid Norberg
|
71fb640699
|
fix to count download stats when a peer has disconnected or sends an invalid message id
|
2008-11-06 09:01:27 +00:00 |
Arvid Norberg
|
3412c0f709
|
added option to set peers in a state where it doesn't download
|
2008-11-06 08:34:56 +00:00 |
Arvid Norberg
|
19c66a1826
|
exception fixes
|
2008-11-05 05:39:18 +00:00 |
Arvid Norberg
|
19660306e0
|
more exception defines
|
2008-11-03 04:23:16 +00:00 |
Arvid Norberg
|
bb02c7f985
|
fixed bug in upnp xml service parser introduced in last update
|
2008-11-02 21:11:00 +00:00 |
Arvid Norberg
|
f2c9e02994
|
fixed deadlock in dht code
|
2008-11-02 10:01:04 +00:00 |
Arvid Norberg
|
e0bea061b5
|
disabled an expensive assert when TORRENT_EXPENSIVE_INVARIANT_CHECKS is not defined
|
2008-11-01 19:44:39 +00:00 |
Arvid Norberg
|
17c250349e
|
fix for when update_peer_port() disconnects
|
2008-11-01 19:34:12 +00:00 |
Arvid Norberg
|
593af53aba
|
fix for connection_queue::close() to maintain the correct m_num_connecting counter
|
2008-11-01 18:01:00 +00:00 |
Arvid Norberg
|
44e9ff70de
|
disconnect_if_redundant fix
|
2008-11-01 10:14:11 +00:00 |
Arvid Norberg
|
da9a5c4262
|
connection_queue::close() fix
|
2008-11-01 09:02:13 +00:00 |
Arvid Norberg
|
d721e99026
|
fix windows build with verbose logging
|
2008-11-01 05:35:41 +00:00 |
Arvid Norberg
|
d359e84b34
|
fix connection_queue::close
|
2008-11-01 01:38:14 +00:00 |
Arvid Norberg
|
8c0165b5c4
|
removed incorrect assert
|
2008-10-31 23:14:36 +00:00 |
Arvid Norberg
|
4dada930ac
|
made torrents not wanting more peers whene they're shutting down. Closes out all connections in the connection queue explicitly when session is shutting down
|
2008-10-30 17:13:10 +00:00 |
Arvid Norberg
|
afb6b55b8f
|
fixed typo in safe_convert call
|
2008-10-30 17:04:59 +00:00 |
Arvid Norberg
|
d6a8c28d9c
|
storage cleanup and truncating files that are larger than they should be
|
2008-10-30 06:09:23 +00:00 |
Arvid Norberg
|
829a5a9e25
|
removed debug output to stderr
|
2008-10-30 02:33:58 +00:00 |
Arvid Norberg
|
972450e766
|
support for UPnP routers that don't provide a urlbase
|
2008-10-29 01:17:19 +00:00 |
Arvid Norberg
|
669da96ae2
|
typo
|
2008-10-28 21:53:58 +00:00 |
Arvid Norberg
|
0b47f69afd
|
upnp fix with unit test
|
2008-10-28 09:49:26 +00:00 |
Arvid Norberg
|
7fd2fd4732
|
added performance warnings for when the IP overhead eats up the entire up- or download rate limit
|
2008-10-28 06:45:42 +00:00 |
Arvid Norberg
|
efcaee9c2d
|
fix for when DHT is started before a listen port has been configured
|
2008-10-27 03:45:08 +00:00 |
Arvid Norberg
|
65c4b7ec13
|
fix for when removing a torrent when it is in the checking state
|
2008-10-26 09:23:00 +00:00 |
Arvid Norberg
|
8f7a3ddfe0
|
fix bug for when a torrent queued for checking was removed
|
2008-10-26 04:10:27 +00:00 |
Arvid Norberg
|
3f6a4f846e
|
fixes to default features in session constructor
|
2008-10-24 08:11:17 +00:00 |
Arvid Norberg
|
971f437b41
|
added num_pieces to peer_info. Fixes #385
|
2008-10-24 00:15:39 +00:00 |
Arvid Norberg
|
f7b22e3517
|
return if disconnected by extension
|
2008-10-23 16:31:15 +00:00 |
Arvid Norberg
|
392dbb71da
|
more fixes to avoid unwanted exceptions
|
2008-10-23 04:10:23 +00:00 |
Arvid Norberg
|
dc6564fa11
|
applies ip filter to trackers as well
|
2008-10-22 19:40:32 +00:00 |
Arvid Norberg
|
0ed75c3f64
|
made nat-pmp generate alerts as well, just like upnp
|
2008-10-22 07:06:58 +00:00 |
Arvid Norberg
|
49c01d7754
|
moved UPNP_LOGGING out of upnp.cpp and added alerts for when upnp logs something
|
2008-10-22 01:12:14 +00:00 |
Arvid Norberg
|
a6ba48a60a
|
removed exception usage in dht implementation and peer_connection
|
2008-10-21 17:10:11 +00:00 |
Arvid Norberg
|
41d5abf0d8
|
exception related fixes. Avoiding functions that may throw in places where exceptions shouldn't be thrown
|
2008-10-21 08:45:42 +00:00 |
Arvid Norberg
|
cfe029d58f
|
updated seed rank to lower priority for finished, but not seeding torrents
|
2008-10-19 08:05:36 +00:00 |
Arvid Norberg
|
535f668c5d
|
simplified the file interface
|
2008-10-19 05:03:17 +00:00 |
Arvid Norberg
|
54eb378a1e
|
simplified is_active() function
|
2008-10-19 04:31:33 +00:00 |
Arvid Norberg
|
f04e9e9875
|
made unchoke interval depend on piece size
|
2008-10-18 22:35:10 +00:00 |
Arvid Norberg
|
d0fc5fee2b
|
fixed assert in piece_picker
|
2008-10-18 22:29:56 +00:00 |
Arvid Norberg
|
8b835bf75f
|
fix to faster unchoke a new peer if an unchoked peer becomes uninterested
|
2008-10-18 22:12:05 +00:00 |
Arvid Norberg
|
3d75732145
|
changed variant_stream to return a pointer instead of a reference when querying for underlying type (avoids exceptions)
|
2008-10-18 07:12:04 +00:00 |
Arvid Norberg
|
68981fc3fd
|
removed unused references to iostream and date-time lib in Makefile.am
|
2008-10-18 07:11:00 +00:00 |
Arvid Norberg
|
8995edead0
|
policy iterator fix
|
2008-10-17 07:32:46 +00:00 |
Arvid Norberg
|
f5f03ff681
|
improved seeding of files with small pieces to avoid swithing back and forth between unchoke sets
|
2008-10-17 04:33:22 +00:00 |
Arvid Norberg
|
c04183d960
|
cleaned up save_resume_data
|
2008-10-17 01:56:36 +00:00 |
Arvid Norberg
|
0368e444af
|
fix to torrent_info constructor to not try to access 0 pointer when loading a 0 size torrent file
|
2008-10-17 01:46:06 +00:00 |
Arvid Norberg
|
032f6e4d55
|
removed expensive invariant check
|
2008-10-16 07:11:57 +00:00 |
Arvid Norberg
|
c0df461296
|
relaxed file timestamp requirements to work better with FAT volumes
|
2008-10-15 20:19:03 +00:00 |
Arvid Norberg
|
16d56eaee6
|
clears torrent stats when paused
|
2008-10-15 17:31:20 +00:00 |
Arvid Norberg
|
2d1b72628e
|
fix for unchoke_compare
|
2008-10-15 04:52:07 +00:00 |
Arvid Norberg
|
ad4d80cc6b
|
removed commented out code
|
2008-10-15 02:21:41 +00:00 |
Arvid Norberg
|
9152bc8712
|
fix to peer_connection::unchoke_compare
|
2008-10-15 02:18:59 +00:00 |
Arvid Norberg
|
c7b1977431
|
uses http 1.0 for soap traffic to dodge chunked transfer encodings
|
2008-10-14 08:07:27 +00:00 |
Arvid Norberg
|
cac6132aae
|
don't resume a torrent if there aren't enough upload slots
|
2008-10-14 07:41:05 +00:00 |
Arvid Norberg
|
9a5e261c64
|
Fixed UPnP bug where the port and host would be re-used from the xml url when connecting to the control url
|
2008-10-14 07:19:46 +00:00 |
Arvid Norberg
|
f0f285ae63
|
fixed bug where broadcast socket would not send messages on interfaces with addresses in local network ranges
|
2008-10-14 04:56:42 +00:00 |
Arvid Norberg
|
f0cd0c152c
|
removed incorrect assert from recent check-in
|
2008-10-14 03:01:19 +00:00 |
Arvid Norberg
|
b8f58f149e
|
made UPnP not give up as soon. To give routers some time to send a NOTIFY message
|
2008-10-14 02:41:22 +00:00 |
Arvid Norberg
|
fdadccf7a2
|
asserts for unchoke slot handling
|
2008-10-14 02:03:54 +00:00 |
Arvid Norberg
|
cb1fce0d62
|
fix to immediately unchoke another peer if an unchoked peer is disconnected
|
2008-10-14 01:00:05 +00:00 |
Arvid Norberg
|
c709cd28a8
|
fixes seeding behavior to avoid flipping unchoke slots back and forth too often
|
2008-10-14 00:57:58 +00:00 |
Arvid Norberg
|
5710cdebf4
|
make auto-unchoke less likely to open up slots when maxed out
|
2008-10-14 00:56:44 +00:00 |
Arvid Norberg
|
ef48097421
|
fix for #389
|
2008-10-12 20:36:22 +00:00 |
Arvid Norberg
|
62e365225b
|
made some moer invariant checks count as expensive
|
2008-10-10 07:08:46 +00:00 |
Arvid Norberg
|
b417a03877
|
removed unnecessary invariant check
|
2008-10-10 05:38:19 +00:00 |
Arvid Norberg
|
8499fd2fe2
|
moved some invariant checks into 'full-invariant-checks' builds
|
2008-10-10 05:25:55 +00:00 |
Arvid Norberg
|
e109b64b27
|
fixed bug when contacting an HTTP/1.0 web server that used gzip compression
|
2008-10-10 04:19:56 +00:00 |
Arvid Norberg
|
13554cbd3b
|
transfer stats assert fix
|
2008-10-09 03:33:53 +00:00 |
Arvid Norberg
|
68a89507bc
|
mutex fix for dht status reporting
|
2008-10-09 03:33:14 +00:00 |
Arvid Norberg
|
8e206c7d0d
|
attempt to fix bug in storage on windows where ENOENT was not properly caught
|
2008-10-07 09:24:30 +00:00 |
Arvid Norberg
|
3fbdded9f3
|
typo
|
2008-10-07 07:12:32 +00:00 |
Arvid Norberg
|
75aac14855
|
fixed typo
|
2008-10-07 06:42:25 +00:00 |
Arvid Norberg
|
3d3a8cca6b
|
fixed std::max usage in storage (fixes msvc build)
|
2008-10-07 05:53:38 +00:00 |
Arvid Norberg
|
b355541a7d
|
applied patch from Sergei Vorobyov to allow changing the limit on outstanding alerts
|
2008-10-07 05:46:42 +00:00 |
Arvid Norberg
|
468ec140ac
|
fixed invalid invariant check
|
2008-10-07 03:57:18 +00:00 |
Arvid Norberg
|
d06fea3d6c
|
fix to handle 0-size piece response without asserting
|
2008-10-06 03:23:47 +00:00 |
Arvid Norberg
|
ccd75006d4
|
fixed failing invariant check caused by a life-time issue in debug mode
|
2008-10-05 23:36:50 +00:00 |
Arvid Norberg
|
f6a1e467a8
|
marked expensive invariant check to only be included in full checks in piece-picker
|
2008-10-05 23:28:57 +00:00 |
Arvid Norberg
|
7733f74d7a
|
fixed invariant check in peer_connection
|
2008-10-05 22:09:33 +00:00 |
Arvid Norberg
|
5f6351146a
|
removed assert that could cause dead-lock in debug mode
|
2008-10-05 19:47:55 +00:00 |
Arvid Norberg
|
3144767632
|
fixed buffer overrun when calling get_download_queue
|
2008-10-05 07:23:46 +00:00 |
Arvid Norberg
|
7f0bfa37b9
|
fix for loading 0-size torrent files. Fixes #383
|
2008-10-05 04:52:01 +00:00 |
Arvid Norberg
|
d4c5d5835a
|
another state fix where mutliple torrent_finished_alerts could be generated
|
2008-10-05 04:44:29 +00:00 |
Arvid Norberg
|
8f665e949f
|
fixed rare bug where a torrent could be put back into downloading state when finishing checking files if it already finished by then
|
2008-10-05 01:44:57 +00:00 |
Arvid Norberg
|
528a009f7f
|
removed date-time and iostream from makefiles
|
2008-10-04 07:46:56 +00:00 |
Arvid Norberg
|
7157516eba
|
fixed boost-compatibility
|
2008-10-04 06:56:51 +00:00 |
Arvid Norberg
|
d4c206841b
|
added support for bitcomet padding files. simplified storage read/write code.
|
2008-10-03 05:49:41 +00:00 |
Arvid Norberg
|
dd40d24708
|
more stats assert fixes
|
2008-10-01 15:19:31 +00:00 |
Arvid Norberg
|
1092c558e4
|
counts newly started torrents as active up to 2 minutes, to give them a chance to start downloading. Active torrents are not considered slow in the auto manager.
|
2008-10-01 05:25:18 +00:00 |
Arvid Norberg
|
ba28449765
|
rename_file now creates missing directories before renaming
|
2008-09-30 23:55:45 +00:00 |
Arvid Norberg
|
ef42e8f77c
|
fixed rename_file to work when the file hasn't been created yet. Fixed error reporting when rename_file fails. Updates the file in the torrent_handle when filename is updated
|
2008-09-30 23:37:42 +00:00 |
Arvid Norberg
|
dc3c5d0bd7
|
more fixes to not trigger the stat asserts
|
2008-09-30 18:52:53 +00:00 |
Arvid Norberg
|
0f6ec06e12
|
fixed race condition in invariant check in disk io thread (only affected debug builds)
|
2008-09-30 01:16:19 +00:00 |
Arvid Norberg
|
195521db65
|
prevent new connections when shutting down
|
2008-09-30 01:14:27 +00:00 |