Arvid Norberg
|
6e78b6b824
|
optimization to only update peer interests in case a piece was filtered/unfiltered during a priority call
|
2007-08-10 21:13:35 +00:00 |
Arvid Norberg
|
11b63bc93e
|
storage fix
|
2007-08-10 02:04:26 +00:00 |
Arvid Norberg
|
b3e29ba8fa
|
added freebsd to the linux path for detecting sparse files support
|
2007-08-08 23:08:55 +00:00 |
Arvid Norberg
|
3f5204aff6
|
removed some invariant checks that are expensive
|
2007-08-08 22:38:30 +00:00 |
Arvid Norberg
|
4d04588def
|
made libtorrent build on msvc-8 sp1
|
2007-08-08 21:22:59 +00:00 |
Arvid Norberg
|
b626bd96d5
|
reverted fix in 1435
|
2007-08-08 21:02:35 +00:00 |
Arvid Norberg
|
2a9d68376d
|
upnp fixes, improved upnp logging and error handling
|
2007-08-07 07:59:51 +00:00 |
Arvid Norberg
|
5dfba92665
|
fixed #101
|
2007-08-07 07:35:21 +00:00 |
Arvid Norberg
|
6b86e5faa3
|
fixed #109
|
2007-08-07 07:29:51 +00:00 |
Arvid Norberg
|
61f713d24a
|
fixed #107
|
2007-08-07 07:19:35 +00:00 |
Arvid Norberg
|
3cdbda928e
|
fixes #104
|
2007-08-07 07:17:13 +00:00 |
Arvid Norberg
|
9f08256dff
|
added support for attributes in the xml parser
|
2007-08-07 01:32:38 +00:00 |
Arvid Norberg
|
f7b3433ff8
|
added check to disallow requests > 16kB (since the buffer pool now requires that limit)
|
2007-08-03 16:12:32 +00:00 |
Arvid Norberg
|
be1faccd1d
|
peer_connection fixes for earlier pending disk buffer size limit
|
2007-08-03 08:19:10 +00:00 |
Arvid Norberg
|
8387240b31
|
more asserts, piece_picker fixes, debug-iterator fixes
|
2007-08-03 06:13:26 +00:00 |
Arvid Norberg
|
192ce4b463
|
added some extra checks for buffer overrun in disk_io_thread
|
2007-08-02 01:42:19 +00:00 |
Arvid Norberg
|
f2a8fe6df7
|
fixes to prevent incorrect asserts
|
2007-08-01 15:48:55 +00:00 |
Arvid Norberg
|
ce8acd0911
|
added compiler flag to disable inclusion of boost.serialization headers
|
2007-08-01 07:26:10 +00:00 |
Arvid Norberg
|
1973af7779
|
added alert messages for blocks finishing, pieces finishing and blocks being requested. patch by micah
|
2007-08-01 06:14:16 +00:00 |
Arvid Norberg
|
54aa76f940
|
exposed queued disk bytes in peer_info
|
2007-08-01 06:11:11 +00:00 |
Arvid Norberg
|
786d4e5f25
|
added a limit on how many bytes each connection can have pending in the disk write queue
|
2007-08-01 05:22:34 +00:00 |
Arvid Norberg
|
054fa03d9d
|
connection queue fix
|
2007-07-27 17:41:42 +00:00 |
Arvid Norberg
|
f67deba30e
|
fixed #81
|
2007-07-26 07:04:35 +00:00 |
Arvid Norberg
|
a630756fae
|
more _SECURE_SCL related fixes
|
2007-07-24 15:48:06 +00:00 |
Arvid Norberg
|
f89ce2669f
|
fixes #90. adds compact_mode to torrent_status
|
2007-07-23 04:36:56 +00:00 |
Arvid Norberg
|
3050e35adf
|
disabled lsd for private torrents
|
2007-07-23 00:38:31 +00:00 |
Arvid Norberg
|
bde5a9be0a
|
fixed intended behavior for async_move_storage (2nd attempt)
|
2007-07-17 08:33:14 +00:00 |
Arvid Norberg
|
fa37b9f3df
|
fixed intended behavior for async_move_storage
|
2007-07-17 08:12:32 +00:00 |
Arvid Norberg
|
664abc570b
|
uploads limit fix
|
2007-07-17 06:39:39 +00:00 |
Arvid Norberg
|
cf35ec6d9c
|
added asserts to try to catch #84
|
2007-07-15 19:00:41 +00:00 |
Arvid Norberg
|
1acedb39dc
|
prioritize more complete partial pieces over less complete ones
|
2007-07-15 15:41:55 +00:00 |
Arvid Norberg
|
6650a34cfd
|
fixed #83
|
2007-07-15 14:20:55 +00:00 |
Arvid Norberg
|
245793b7a3
|
applied patch in #79
|
2007-07-15 05:34:28 +00:00 |
Arvid Norberg
|
329f73276f
|
fixed #82
|
2007-07-15 05:32:56 +00:00 |
Arvid Norberg
|
430534bf3f
|
fixed incorrect assert
|
2007-07-10 18:55:14 +00:00 |
Arvid Norberg
|
9bdf2a9c8d
|
fixed invariant check in policy
|
2007-07-10 17:25:10 +00:00 |
Arvid Norberg
|
5e08a9b379
|
added reiser4 as having sparse files support and improved detection on mac
|
2007-07-09 23:29:58 +00:00 |
Arvid Norberg
|
182c917842
|
optimized peer_connection by postponing diffie hellman key creation and generation of handhake until the connection has succeeded
|
2007-07-09 04:22:38 +00:00 |
Arvid Norberg
|
4771f323f6
|
added invariant checks for peer_counter in block_info. added bytes_progress and block_size to block_info (to allow a more detail download progress display). Updated client_test to show download progress per block and also to have a separate color for 'multi blocks' (i.e. blocks that have been requested from more than one peer)
|
2007-07-08 20:45:42 +00:00 |
Arvid Norberg
|
e395747e35
|
fixed piece picker bug
|
2007-07-08 20:43:44 +00:00 |
Arvid Norberg
|
a46ef3ece8
|
changed the handshake 'ip' to 'yourip'
|
2007-07-07 01:36:40 +00:00 |
Arvid Norberg
|
82e1160214
|
introduced a non-rarest-first option to the piece picker that is used to pick the very first pieces in a torrent
|
2007-07-07 01:26:30 +00:00 |
Arvid Norberg
|
4d912eddf4
|
added openssl cleanup (to make leak detectors not complain)
|
2007-07-06 23:06:58 +00:00 |
Arvid Norberg
|
c536ac1990
|
peer_connections stats fix. test_sleep fix. improved test_swarm and test Jamfile
|
2007-07-06 20:17:36 +00:00 |
Arvid Norberg
|
a3e66a3efe
|
made the piece picker handle multi-request blocks better. fixes problem that might occur at the end of a torrent where the piece picker could take over blocks back and forth
|
2007-07-06 17:15:35 +00:00 |
unsh
|
927985b38a
|
fixed bug in shared secret generation
|
2007-07-06 09:38:38 +00:00 |
unsh
|
1e8b11adb3
|
updated makefiles for automake
|
2007-07-06 09:02:27 +00:00 |
Arvid Norberg
|
f90a80ab05
|
made piece picker less anal about speed categories, to improve performance
|
2007-07-05 22:49:28 +00:00 |
Arvid Norberg
|
3c69e3b2cb
|
updated asserts
|
2007-07-04 16:15:46 +00:00 |
Arvid Norberg
|
b20270d243
|
added more asserts related to recent downloading_piece optimization and fixed a translation problem to the public interface
|
2007-07-04 15:46:10 +00:00 |
Arvid Norberg
|
3bdf01778a
|
chamged peer representation from tcp::endpoint to policy::peer pointer in piece_picker's downloading piece. Saves memory, removes the need for lookup and improves the hash check fail/pass handling for closed connections
|
2007-07-04 02:16:49 +00:00 |
Arvid Norberg
|
e714e1aeba
|
improved bandwidth limiter and added a unit test for it
|
2007-07-02 23:48:06 +00:00 |
Arvid Norberg
|
8aa37dfa39
|
fixed #75
|
2007-07-02 19:31:46 +00:00 |
Arvid Norberg
|
816bf3ff2d
|
made the number of peers requested from trackers customizable
|
2007-07-02 18:44:33 +00:00 |
Arvid Norberg
|
35b99dbae7
|
changed identify client to say uTorrent instead of MicroTorrent
|
2007-07-02 16:47:32 +00:00 |
unsh
|
fa90161327
|
Fixed #71
|
2007-06-30 07:28:44 +00:00 |
Arvid Norberg
|
340a91e2a4
|
fixed #74
|
2007-06-21 00:51:42 +00:00 |
Arvid Norberg
|
0d7a208865
|
added more output to transfer tests and changed the data to be more easily debuggable + some code cleanup
|
2007-06-20 18:41:53 +00:00 |
Arvid Norberg
|
7e7686b44f
|
fixed typo
|
2007-06-18 17:15:33 +00:00 |
Arvid Norberg
|
756db24b75
|
logs pad size when using encryption
|
2007-06-18 17:12:42 +00:00 |
Arvid Norberg
|
eb03851276
|
fixed mutex issue in disk io thread
|
2007-06-17 05:58:12 +00:00 |
Arvid Norberg
|
f05b06d4e5
|
added required operator on time_duration
|
2007-06-14 23:15:30 +00:00 |
Arvid Norberg
|
46bf2970fb
|
fixes to remote peer download rate etimation
|
2007-06-14 21:47:00 +00:00 |
Arvid Norberg
|
5efe12dde6
|
fixed bug reported by Marcos Pinto where an exception was not cought properly
|
2007-06-13 18:28:55 +00:00 |
Arvid Norberg
|
bbaa2efcb0
|
removed asserts that are can no longer be maintained with the async io
|
2007-06-13 18:09:52 +00:00 |
Arvid Norberg
|
fa1a37e649
|
updated Jamfile to support openssl on windows, added missing files to makefiles and made test_pe_crypto build when encryption is disabled
|
2007-06-13 01:48:24 +00:00 |
Arvid Norberg
|
5b5f3b3ca2
|
support for ip address in announce
|
2007-06-13 00:20:06 +00:00 |
Arvid Norberg
|
b75a69cd47
|
added alerts for synchronizing disk io when pausing and moving storage
|
2007-06-11 21:24:14 +00:00 |
Arvid Norberg
|
07c8d1242e
|
windows unicode fixes when using boost-1.34 and fix for test_swarm when building without encryption support
|
2007-06-11 19:01:25 +00:00 |
Arvid Norberg
|
3b8670626a
|
merged back async_io branch into trunk
|
2007-06-10 20:46:09 +00:00 |
Arvid Norberg
|
daba3196c3
|
fixed url parsing bug related to IPv6 addresses. fixes #66
|
2007-06-09 00:11:11 +00:00 |
Arvid Norberg
|
6447a074eb
|
fixes to allow-multiple-connections-per-ip and a unit test that run a swarm of 3 local peers
|
2007-06-08 23:02:31 +00:00 |
Arvid Norberg
|
a7ad108e8a
|
made the unchoke interval configurable
|
2007-06-07 22:37:58 +00:00 |
unsh
|
e858cbc1ae
|
fixes for r1331
|
2007-06-07 11:04:00 +00:00 |
unsh
|
7996d35395
|
added invariant checks
|
2007-06-07 10:18:13 +00:00 |
Arvid Norberg
|
2030420f9a
|
fix for previous peer download rate check-in
|
2007-06-07 00:53:48 +00:00 |
Arvid Norberg
|
a3a2217276
|
an approximate peer download rate is now in peer_info
|
2007-06-07 00:05:18 +00:00 |
Arvid Norberg
|
273f8bd921
|
merged back encryption branch to trunk
|
2007-06-06 00:41:20 +00:00 |
unsh
|
41cf912501
|
merged lazy bitfields fixes (r1316, r1320)
|
2007-06-05 10:20:45 +00:00 |
Arvid Norberg
|
22cd8ded91
|
fixed semantics in http_connection
|
2007-06-05 01:25:46 +00:00 |
Arvid Norberg
|
4f339272dc
|
minor cleanup
|
2007-06-03 05:57:05 +00:00 |
Arvid Norberg
|
08965f331c
|
removed debug output from storage
|
2007-06-01 23:27:49 +00:00 |
Arvid Norberg
|
d0412a2244
|
added port filter for outgoing connections
|
2007-06-01 01:05:57 +00:00 |
Arvid Norberg
|
aea4e503c5
|
more storage state machine fixes, added test to storage unit test and fix in file::set_size
|
2007-05-31 23:35:48 +00:00 |
Arvid Norberg
|
61f9315e34
|
added the metdata extension alert back
|
2007-05-31 22:56:29 +00:00 |
Arvid Norberg
|
8f4c460587
|
fixes to storage state machine
|
2007-05-31 21:48:36 +00:00 |
Arvid Norberg
|
7e540a8d53
|
made inactivity time-out configurable
|
2007-05-31 19:57:15 +00:00 |
Arvid Norberg
|
43a28e7a49
|
fixed bug in write resume data
|
2007-05-31 02:22:04 +00:00 |
Arvid Norberg
|
31247c046a
|
supports turning on and off upnp, natpmp and lsd. All ofthem are now off by default
|
2007-05-31 00:21:54 +00:00 |
Arvid Norberg
|
b385ed6064
|
added socks4 proxy support
|
2007-05-30 23:35:14 +00:00 |
Arvid Norberg
|
5f7dd474e9
|
fixes to storage full allocation mode
|
2007-05-30 22:23:17 +00:00 |
Arvid Norberg
|
97db7e009d
|
updated identify client
|
2007-05-30 09:52:36 +00:00 |
Arvid Norberg
|
f65c08338e
|
fixed bug with torrents having peers despite being paused
|
2007-05-30 08:37:36 +00:00 |
Arvid Norberg
|
14a15831ef
|
exposed piece availability vector
|
2007-05-30 06:52:59 +00:00 |
Arvid Norberg
|
1d15a5040c
|
removed old unused logging
|
2007-05-26 22:55:21 +00:00 |
Arvid Norberg
|
9fe77101ed
|
added support for lazy bitfields
|
2007-05-26 22:27:40 +00:00 |
Arvid Norberg
|
ea965431bf
|
fixed typo
|
2007-05-26 19:28:38 +00:00 |
Arvid Norberg
|
8679ee5916
|
have optimization is now optional, but on by default
|
2007-05-25 21:19:14 +00:00 |
Arvid Norberg
|
c10e74f4fc
|
improved control over the rate of connection attempts
|
2007-05-25 21:00:35 +00:00 |
Arvid Norberg
|
bb71832f5f
|
exposed some more peer info
|
2007-05-25 19:42:10 +00:00 |
Arvid Norberg
|
685f79b82f
|
option to ignore bandwidth limits for local peers. fixed some asserts when allowing multiple connections per IP
|
2007-05-25 17:06:30 +00:00 |
Arvid Norberg
|
4ff4ddeae7
|
added more shutdown logging
|
2007-05-24 19:51:14 +00:00 |
Arvid Norberg
|
71fe036b78
|
removed leftover debug print
|
2007-05-24 19:00:28 +00:00 |
Arvid Norberg
|
510966f2a5
|
fixed fast resume data bug when using full allocation mode, and moved parts of resume data generation to the storage
|
2007-05-24 18:53:55 +00:00 |
Arvid Norberg
|
58b23a79e7
|
exception fixes
|
2007-05-24 17:07:43 +00:00 |
Arvid Norberg
|
99a22dcae4
|
made dht requests be allocated in a pool allocator for heap and runtime efficiency. Fixes to DHT error responses
|
2007-05-23 08:45:12 +00:00 |
Arvid Norberg
|
3a27e51720
|
fixed bug in recent UPnP change
|
2007-05-23 06:23:22 +00:00 |
Arvid Norberg
|
883773e8fa
|
added shutdown logging and tracker manager shutdown flag
|
2007-05-23 01:02:46 +00:00 |
Arvid Norberg
|
cbd67ed729
|
added support for authentication in the url_parser and added a test for it
|
2007-05-22 20:44:18 +00:00 |
Arvid Norberg
|
e58c161057
|
http_parser fix
|
2007-05-22 19:39:06 +00:00 |
Arvid Norberg
|
66437229e1
|
updated makefile to name the target so file properly
|
2007-05-21 08:16:13 +00:00 |
Arvid Norberg
|
89d65dcb15
|
web seed downloader fix
|
2007-05-17 19:57:48 +00:00 |
Arvid Norberg
|
d964abda7a
|
fixed typo in previous check-in
|
2007-05-17 16:04:09 +00:00 |
Arvid Norberg
|
6d8cf1899c
|
connection queue fixes
|
2007-05-17 02:55:44 +00:00 |
Arvid Norberg
|
8987d7077d
|
refactoring in natpmp, upnp and lsd. made lsd (probably) work on windows
|
2007-05-17 02:54:13 +00:00 |
Arvid Norberg
|
ea45641c8b
|
made lsd work
|
2007-05-17 00:01:51 +00:00 |
Arvid Norberg
|
633f174947
|
improved natpmp, upnp and lsd
|
2007-05-16 21:36:27 +00:00 |
Arvid Norberg
|
674e1f96b1
|
improved local IP guessing slightly
|
2007-05-16 18:58:31 +00:00 |
Arvid Norberg
|
3bfaaf1129
|
fixed a checked iterator assert
|
2007-05-16 18:21:08 +00:00 |
Arvid Norberg
|
13ca78e92b
|
#47. introduced parole mode for peers that fails the hash check.
|
2007-05-16 04:12:13 +00:00 |
Arvid Norberg
|
f7d051162e
|
fixed assert triggered by checked iterators in msvc-8.0
|
2007-05-16 01:58:00 +00:00 |
Arvid Norberg
|
1d68e10684
|
made it build in msvc by inserting ; at the end of function try blocks
|
2007-05-16 01:17:14 +00:00 |
Arvid Norberg
|
e9601080bb
|
introduced swap_slots and swap_slots3 on storage_interface. All reads that needs it, should now be EOF safe (when using sparse files).
|
2007-05-16 01:16:08 +00:00 |
Arvid Norberg
|
b386aa23e9
|
DHT bugfix, more logging and less frequent private key generation. Fixed typo in identify_client
|
2007-05-14 17:49:36 +00:00 |
Arvid Norberg
|
e79817cfc5
|
cleanup and added another known peer-id
|
2007-05-14 12:02:57 +00:00 |
Arvid Norberg
|
0720a96ac2
|
added new knoen peer-ids
|
2007-05-14 11:32:12 +00:00 |
Arvid Norberg
|
8392276975
|
speed categories are now disabled before 1% of the pieces have been downloaded
|
2007-05-14 10:54:18 +00:00 |
Arvid Norberg
|
36898ecc12
|
added more logging to upnp. fixed upnp test
|
2007-05-14 08:56:46 +00:00 |
Arvid Norberg
|
c5e150ee69
|
upnp fixes
|
2007-05-14 07:31:01 +00:00 |
Arvid Norberg
|
421d4ee81d
|
fixed recent send buffer optimization to work with metadata extension
|
2007-05-14 06:06:28 +00:00 |
Arvid Norberg
|
0436ab2ec8
|
added filename extension to statistics log
|
2007-05-14 04:49:08 +00:00 |
Arvid Norberg
|
419ac258de
|
more statistics
|
2007-05-14 04:01:30 +00:00 |
Arvid Norberg
|
dcad9b3031
|
fixed warning
|
2007-05-14 03:50:19 +00:00 |
Arvid Norberg
|
4a906aa31d
|
added option for session statistics output
|
2007-05-13 22:01:21 +00:00 |
Arvid Norberg
|
bf25aa0d1c
|
allocate slots bug fix in storage. Introduced with sparse files
|
2007-05-13 00:25:29 +00:00 |
Arvid Norberg
|
734305f78d
|
small modification to linux path for discover sparse files support
|
2007-05-12 21:21:59 +00:00 |
Arvid Norberg
|
f5c449837f
|
introduced an extra invariant check in policy to make sure peers are unique
|
2007-05-12 20:25:44 +00:00 |
Arvid Norberg
|
57d5cf9147
|
fixed typo in last check in
|
2007-05-12 19:08:08 +00:00 |
Arvid Norberg
|
e405dd3fda
|
made lsd not throw on send failure
|
2007-05-12 18:53:37 +00:00 |
Arvid Norberg
|
9f902e7b9f
|
the DHT now refreshes buckets properly.
|
2007-05-12 01:52:25 +00:00 |
Arvid Norberg
|
9ffde51404
|
fixed a bug caused by file_pool being destructed before torrents, and torrents using the file pool in their destructors
|
2007-05-11 23:41:31 +00:00 |
Arvid Norberg
|
6faa11f7ab
|
optimized web_peer_connection to use less memory and replaced std::copy with std::memmove in peer_connection
|
2007-05-11 18:40:22 +00:00 |
Arvid Norberg
|
35fe7dae4f
|
fixed memory bug introduced in recent optimization of web_peer_connection
|
2007-05-10 18:15:53 +00:00 |
Arvid Norberg
|
acf973fe39
|
added exception handling to upnp
|
2007-05-10 18:00:10 +00:00 |
Arvid Norberg
|
23ae2e12c8
|
fixed warning in peer_connection
|
2007-05-10 06:27:52 +00:00 |
Arvid Norberg
|
57439bcec8
|
send buffer heap optimization
|
2007-05-10 06:20:29 +00:00 |
Arvid Norberg
|
e6c7945aac
|
fixed typo
|
2007-05-10 06:17:27 +00:00 |
Arvid Norberg
|
a531027e3f
|
attempted heap optimization in DHT routing table
|
2007-05-10 05:48:14 +00:00 |
Arvid Norberg
|
9ead2e2f54
|
web seed heap and cpu optimization
|
2007-05-10 05:32:47 +00:00 |
Arvid Norberg
|
f39185bb21
|
optimized the read callback to loop and exhaust the read buffer from the socket instead of making another async read call. #43
|
2007-05-10 01:50:11 +00:00 |