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 |
Arvid Norberg
|
a5847956e1
|
most of the metadata is now freed when a torrent becomes a seed. #44
|
2007-05-09 22:54:26 +00:00 |
Arvid Norberg
|
d95ddde3f2
|
more storage fixes for problems related to sparse files support
|
2007-05-09 20:16:18 +00:00 |
Arvid Norberg
|
4371dbe02c
|
fixed resume data problem caused by recent piece_picker optimization
|
2007-05-09 03:18:53 +00:00 |
Arvid Norberg
|
6dcca9250b
|
optimized heap allocations in piece_picker. #42
|
2007-05-09 00:49:13 +00:00 |
Arvid Norberg
|
25d38ff1fc
|
fixed typo
|
2007-05-08 23:22:57 +00:00 |
Arvid Norberg
|
2b18189ef8
|
upnp fixes + logging
|
2007-05-08 18:02:10 +00:00 |
Arvid Norberg
|
daa6534972
|
upnp fix. suggested by Massaroddel
|
2007-05-08 17:46:32 +00:00 |
Arvid Norberg
|
4956639171
|
piece picker optimization
|
2007-05-08 11:13:13 +00:00 |
Arvid Norberg
|
708202575f
|
upnp fix
|
2007-05-08 11:10:05 +00:00 |
Arvid Norberg
|
122841fc5e
|
attempt to memory optimization in DHT routing table
|
2007-05-08 08:49:07 +00:00 |
Arvid Norberg
|
ceb442bea0
|
DHT is more forgiving when parsing responses and logs messages that fails to decode
|
2007-05-08 00:55:43 +00:00 |
Arvid Norberg
|
a2b359b64e
|
fixed assert in torrent.cpp
|
2007-05-07 18:19:53 +00:00 |
Arvid Norberg
|
eb5b532d3f
|
removed boost.date_time dependency from DHT logging code
|
2007-05-07 18:12:03 +00:00 |
Arvid Norberg
|
517488c722
|
DHT fixes
|
2007-05-07 18:00:17 +00:00 |
Arvid Norberg
|
b39f6bccc0
|
policy cleanup
|
2007-05-07 16:24:08 +00:00 |
Arvid Norberg
|
ce63e79758
|
cleaned up upnp error codes
|
2007-05-07 00:12:33 +00:00 |
Arvid Norberg
|
508dfd722a
|
cleaned up policy a bit and the country code list
|
2007-05-05 22:55:34 +00:00 |
Arvid Norberg
|
b239eecc04
|
updates to upnp code
|
2007-05-05 22:06:26 +00:00 |
Arvid Norberg
|
d320928e8f
|
more upnp logging and made the upnp test build again
|
2007-05-05 20:00:28 +00:00 |
Arvid Norberg
|
49bd69cad4
|
introduced a proper half open TCP connection limit. Also exposed the connection queue to let clients use the same connection limiter as libtorrent. UPnP connections and tracker connection are now also limited as well as peer connections and web seeds
|
2007-05-05 00:29:33 +00:00 |
Arvid Norberg
|
328f335a4d
|
fixed bug in latest upnp change
|
2007-05-04 17:39:44 +00:00 |
Arvid Norberg
|
983f4bc02e
|
removed unneccesary connection lookup in connect_peer
|
2007-05-04 16:35:29 +00:00 |
Arvid Norberg
|
c7b4f49d5a
|
moved initialization of multicast addresses from global initializers to local constructors to avoid WSAStartup issues on windows
|
2007-05-04 06:47:32 +00:00 |
Arvid Norberg
|
675781d604
|
upnp mapping is attempted after all broadcasts are complete. changed the logging configuration to log UPnP traffic with TORRENT_UPNP_LOGGING define
|
2007-05-04 05:34:03 +00:00 |
Arvid Norberg
|
c39462c125
|
fixed another sparse files related bug in storage
|
2007-05-04 03:28:42 +00:00 |
Arvid Norberg
|
f942308ccb
|
added extra assert to piece picker
|
2007-05-03 21:28:31 +00:00 |
Arvid Norberg
|
b9cdfc2771
|
fixed bug in piece_picker
|
2007-05-03 19:25:18 +00:00 |
Arvid Norberg
|
577bda5266
|
removed old code from piece picker and fixed set_priority to not tamper with the download queue
|
2007-05-03 18:38:57 +00:00 |
Arvid Norberg
|
9be3f14dd7
|
fixed bug in recent connection queue changes
|
2007-05-03 17:12:24 +00:00 |
Arvid Norberg
|
56a4b8412a
|
restored the faster connection behavior
|
2007-05-03 01:49:14 +00:00 |
Arvid Norberg
|
77c141fd6d
|
fix to previous connection queue change
|
2007-05-02 19:50:07 +00:00 |
Arvid Norberg
|
54805ca60b
|
added option to disable country resolving
|
2007-05-02 19:47:38 +00:00 |
Arvid Norberg
|
13bcb48dba
|
fixed warnings and removed unused variables
|
2007-05-02 18:45:29 +00:00 |
Arvid Norberg
|
04e41cf702
|
improved connection queue handling slightly. Will require further improvements
|
2007-05-02 17:38:37 +00:00 |
Arvid Norberg
|
b98162621e
|
fixes for the GET request and passes that data through the data pointer in bottled mode too
|
2007-05-01 22:44:54 +00:00 |
Arvid Norberg
|
233cd373e8
|
fixed issue with sparse files and compact allocation. added move_slot() to the storage abstraction
|
2007-04-30 01:06:29 +00:00 |
Arvid Norberg
|
f41fd7d303
|
added catch blocks to lsd. changed bind expressions to use operators
|
2007-04-29 20:49:30 +00:00 |
Arvid Norberg
|
9f1a11aa50
|
regenerated documentation. fixed a few warnings. fixed a bug in recent check in in piece picker
|
2007-04-27 16:26:30 +00:00 |
Arvid Norberg
|
9cae6e636e
|
fixed typo in previous check-in
|
2007-04-27 02:54:33 +00:00 |
Arvid Norberg
|
4afe9712e0
|
improvements to the piece picker with regard to recently introduced categories
|
2007-04-27 02:33:59 +00:00 |
Arvid Norberg
|
88277fd736
|
fixed a bug where the web seed could be disconnected in the process of a response without noticing. checked in to RC_0_12 and trunk
|
2007-04-27 02:33:09 +00:00 |
Arvid Norberg
|
ee1681e2cb
|
added peer/piece categories to the piece picker. fixes #18
|
2007-04-27 00:27:37 +00:00 |
Arvid Norberg
|
19bb5553bb
|
added missing files from previous check-in
|
2007-04-25 18:57:13 +00:00 |
Arvid Norberg
|
00948e9fc4
|
first attempt to implement SOCKS5 and proper HTTP proxy support. fixes #22
|
2007-04-25 18:26:35 +00:00 |
Arvid Norberg
|
d9902d178f
|
applied shyam's memory optimization patch
|
2007-04-25 17:36:12 +00:00 |
Arvid Norberg
|
65d7e5d63e
|
added BitRocket to known clients
|
2007-04-24 17:30:15 +00:00 |
Arvid Norberg
|
d43a6b80bf
|
added an abstraction layer or tcp sockets, to be able to support socks proxys
|
2007-04-23 21:36:21 +00:00 |
Arvid Norberg
|
094dc1065c
|
some boost 1.34 preprocessor conditions and fixed assert in piece_picker
|
2007-04-23 17:14:40 +00:00 |
Arvid Norberg
|
e5a20b8de6
|
fix to previous check-in
|
2007-04-19 21:02:33 +00:00 |
Arvid Norberg
|
8ef7819a95
|
added redirection support to http_connection
|
2007-04-19 20:52:29 +00:00 |
Arvid Norberg
|
219db47776
|
fixed boost version test in storage
|
2007-04-19 16:22:13 +00:00 |
Arvid Norberg
|
172205d7fb
|
improvements and fixes to sparse files support. made the test pass again
|
2007-04-19 03:32:20 +00:00 |
Arvid Norberg
|
92cf13c2c2
|
sparse files fixes. now sets the size of the files in case sparse files are supported
|
2007-04-19 03:06:15 +00:00 |
Arvid Norberg
|
a35c1ef1a5
|
piece picker fix
|
2007-04-19 02:54:46 +00:00 |
Arvid Norberg
|
60ddb5c64a
|
piece_picker fix
|
2007-04-18 20:40:41 +00:00 |
Arvid Norberg
|
9551e68074
|
fixes in file_win and removed debugging output from storage
|
2007-04-18 20:00:58 +00:00 |
Arvid Norberg
|
88d6f7a4c9
|
added character-set build feature (only effective on windows). Made storage build with win32/unicode and newer versions of boost. optimized allocate_slots
|
2007-04-18 19:12:30 +00:00 |
Arvid Norberg
|
4c8e8470cd
|
storage fix for unicode on windows
|
2007-04-18 16:48:24 +00:00 |
Arvid Norberg
|
c639399b84
|
fixed typo in windows code
|
2007-04-18 00:48:31 +00:00 |
Arvid Norberg
|
af779b6349
|
factored out the test for sparse files support
|
2007-04-18 00:36:09 +00:00 |
Arvid Norberg
|
e49c49c892
|
fixes #35
|
2007-04-17 23:06:00 +00:00 |
Arvid Norberg
|
75d61207f2
|
fix for prioritize_files()
|
2007-04-17 22:56:14 +00:00 |
Arvid Norberg
|
16e17f066c
|
first stab at sparse files support
|
2007-04-17 21:54:40 +00:00 |
Arvid Norberg
|
4b750a29d2
|
made the logging of bitfields slightly faster
|
2007-04-17 21:18:52 +00:00 |
Arvid Norberg
|
90bff3d1ca
|
Fixed building issues on windows with msvc-8.0
|
2007-04-17 21:18:35 +00:00 |
Arvid Norberg
|
067219d14a
|
made downloading pieces higher priority. fix in piece picker when blocks in prio 0 pieces were marked as finished
|
2007-04-17 09:21:53 +00:00 |
Arvid Norberg
|
849db39472
|
added peer_blocked_alert which is generated when a peer is blocked by the IP filter. Fixed the ip-filter parsing in client_test and made it report the peer_blocked_alert. Added documentation.
|
2007-04-17 05:56:43 +00:00 |
Arvid Norberg
|
34473aad1b
|
fixed bug in recent piece picker optimization when used in combination with sequenced download threshold
|
2007-04-17 00:20:39 +00:00 |
Arvid Norberg
|
373263677c
|
turned file collisions into a runtime error rather than an assert. fixes #14
|
2007-04-15 07:15:49 +00:00 |
Arvid Norberg
|
8dd610bfbd
|
removed unnecessary fill of the have bitfield
|
2007-04-15 04:40:45 +00:00 |
Arvid Norberg
|
8cb1f9f899
|
added optional use of openssl instead of public domain sha-1 implementation, ticket #13
|
2007-04-15 04:30:52 +00:00 |
Arvid Norberg
|
40804a829b
|
failcount is reset on a peer that successfully connects. documented max_failcount and min_reconnect_time. implemented seed optimization for piece_picker (inc_refcount_all and dec_refcount_all), ticket #17
|
2007-04-15 02:14:02 +00:00 |
Arvid Norberg
|
fceaa8f79e
|
introduced failcount and retry time settings for peers
|
2007-04-14 21:47:07 +00:00 |
Arvid Norberg
|
44603cf049
|
removed unnecessary asserts from http_tracker_connection
|
2007-04-14 20:11:46 +00:00 |
Arvid Norberg
|
129b447509
|
fixed issue where lsd, natpmp and upnp would only be rebound if dht was enabled
|
2007-04-14 17:30:57 +00:00 |
Arvid Norberg
|
0a32fffdfd
|
exception fixes for UPnP and NAT-PMP. port fix for lsd
|
2007-04-14 15:51:36 +00:00 |
Arvid Norberg
|
a22ad5ad33
|
added failcount to peer_info. fixes #31
|
2007-04-13 20:19:04 +00:00 |
Arvid Norberg
|
3d759e8936
|
fixes in connection policy. fixes #29. inserted more invariant checks in policy
|
2007-04-13 17:47:40 +00:00 |
peerkoel
|
b08037d094
|
Test added to allow conditional compilation of sources in src/kademlia.
New file time.hpp added to header files that need to be installed.
|
2007-04-13 16:11:11 +00:00 |
Arvid Norberg
|
57eeba53a8
|
fix to previous checking
|
2007-04-13 01:57:16 +00:00 |
Arvid Norberg
|
0e5ce5dd9d
|
cleaned up policy a bit, moved the seed check in on_bitfield to be performed before the piece picker is updated
|
2007-04-13 01:53:25 +00:00 |
Arvid Norberg
|
3293bf9b6e
|
the seed flag in the peer struct is updated when connected to a seed (will avoid trying to reconnect to a seed when we're also a seed)
|
2007-04-13 00:22:03 +00:00 |
Arvid Norberg
|
52623405f0
|
improved unchoking, connecting and disconnecting logic in policy. seems to fix #29
|
2007-04-12 10:21:55 +00:00 |
Arvid Norberg
|
05e16f8fbd
|
added missing upnp.cpp reference in Makefile
|
2007-04-12 06:37:48 +00:00 |
Arvid Norberg
|
79cfdb609f
|
fixed threading problem in file_pool
|
2007-04-12 05:08:23 +00:00 |
Arvid Norberg
|
87b1cdc341
|
fix to avoid connecting web seeds when not a seed but finished
|
2007-04-11 22:27:58 +00:00 |
Arvid Norberg
|
3bc8d093c2
|
fixed the distributed copy function in the piece picker
|
2007-04-11 20:33:28 +00:00 |
Arvid Norberg
|
e503e334d5
|
fix to previous check-in
|
2007-04-11 17:44:15 +00:00 |
Arvid Norberg
|
109cc3f232
|
made the announce timer (for dht and lsd) use a weak pointer instead of raw pointer, to avoid problems when torrent is being destructed
|
2007-04-11 17:22:19 +00:00 |
Arvid Norberg
|
250adabcfa
|
removed unused web stats
|
2007-04-11 16:50:54 +00:00 |
Arvid Norberg
|
3ed24da320
|
added source to peer_info, which is a bitmask of the sources where the peer has been acquired from
|
2007-04-10 21:23:13 +00:00 |
Arvid Norberg
|
009b10e9bf
|
completed previous fix
|
2007-04-10 19:22:08 +00:00 |
Arvid Norberg
|
e65206309c
|
fixed issue when aborting an http connection
|
2007-04-10 18:53:12 +00:00 |
Arvid Norberg
|
4ceb6a02ea
|
added download_limit and upload_limit functions to torrent_handle
|
2007-04-10 09:25:17 +00:00 |
Arvid Norberg
|
0863bc1aa6
|
removed the dependency on the compiled boost.date_time library
|
2007-04-10 09:11:32 +00:00 |
Arvid Norberg
|
d88ffcc0e4
|
removed some more unecessary boost.date_time dependencies
|
2007-04-10 07:52:58 +00:00 |
Arvid Norberg
|
5be60cc125
|
upnp made destructor not sync.ing
|
2007-04-10 05:14:37 +00:00 |
Arvid Norberg
|
11136650d6
|
updates to multicast lsd and upnp
|
2007-04-09 21:59:40 +00:00 |
Arvid Norberg
|
2dea7f072c
|
upnp fix
|
2007-04-09 00:26:00 +00:00 |
Arvid Norberg
|
baecc64131
|
fix to previous timer check-in that broke the api
|
2007-04-07 03:05:59 +00:00 |
Arvid Norberg
|
5f3797cf80
|
fix in http_connection where the handler was sometimes not called when rate limited and aborted
|
2007-04-06 23:01:27 +00:00 |
Arvid Norberg
|
b1501d0dac
|
fix for rate limited http_connection
|
2007-04-05 20:53:11 +00:00 |
Arvid Norberg
|
af21efb861
|
upnp fix
|
2007-04-05 17:53:42 +00:00 |
Arvid Norberg
|
e7d1f92623
|
removed debug printout
|
2007-04-05 16:33:40 +00:00 |
Arvid Norberg
|
27da18bd0a
|
windows fixes
|
2007-04-05 01:08:21 +00:00 |
Arvid Norberg
|
306d015924
|
added a timer abstraction and replaced the use of boost.date_time. the timers used now are QueryPerformanceCounter on windows, mach_absolute_time on darwin and currently falls back on boost.date_time on other platforms. This has the advantage of being a monotonic clock, and also slightly more efficient
|
2007-04-04 22:27:36 +00:00 |
Arvid Norberg
|
7fc238407c
|
added missing lsd.cpp and lsd.hpp
|
2007-04-04 19:11:19 +00:00 |
Arvid Norberg
|
a9eff16c7e
|
natpmp fix if set_mappings is called more than once
|
2007-04-04 08:56:58 +00:00 |
Arvid Norberg
|
a4ccee15df
|
removed unused code
|
2007-04-04 02:10:25 +00:00 |
Arvid Norberg
|
5e32484194
|
first stab at getting local service discovery
|
2007-04-04 02:06:07 +00:00 |
Arvid Norberg
|
2555daa95f
|
fixed upnp when set_mappings are called multiple times before the upnp requests can finish
|
2007-04-04 00:08:00 +00:00 |
Arvid Norberg
|
ed9e80a3d4
|
added support for rate limiting on http_connection
|
2007-04-03 20:00:47 +00:00 |
Arvid Norberg
|
36ca0eb3ba
|
addition to previous peer connection download/upload limit fix
|
2007-04-02 23:10:11 +00:00 |
Arvid Norberg
|
ed3bb7e4e8
|
fixed peer connection rate limits
|
2007-04-02 22:25:58 +00:00 |
Arvid Norberg
|
15ad0a36f6
|
possible fix to upnp close-down in case there are UPnP devices without WANIPConnection
|
2007-04-02 20:09:48 +00:00 |
Arvid Norberg
|
ec2962dd62
|
extensions are now instantiated for web seeds as well
|
2007-04-02 20:00:24 +00:00 |
Arvid Norberg
|
2fc73e9aeb
|
fixed upnp so that it doesn't overwrite valid ports with 0
|
2007-04-02 19:17:08 +00:00 |
Arvid Norberg
|
10b5f538b1
|
fixed timeout issues on non-bottled long running http connections
|
2007-04-02 18:51:35 +00:00 |
Arvid Norberg
|
b282c43f3f
|
fixed assert caused when network went down
|
2007-04-02 06:49:15 +00:00 |
Arvid Norberg
|
7a30b397f8
|
made test_storage build and fixed bug introduced when storage was turned into a customization point
|
2007-04-02 05:46:19 +00:00 |
Arvid Norberg
|
2f9611a1a9
|
UPnP seems to work
|
2007-04-01 15:39:08 +00:00 |
Arvid Norberg
|
3d2a4e00b9
|
upnp fixes
|
2007-04-01 01:18:10 +00:00 |
Arvid Norberg
|
9e1123eb9e
|
more UPnP work. updated ChangeLog and features documentation
|
2007-03-31 23:23:30 +00:00 |
Arvid Norberg
|
f65b5f677b
|
fixed incorrect locking that might cause invariant check failures
|
2007-03-30 22:00:26 +00:00 |
Arvid Norberg
|
c9fac1efa0
|
storage did not properly skip incomplete files when doing full checks
|
2007-03-30 20:22:07 +00:00 |
Arvid Norberg
|
5c90b99316
|
piece picker fix
|
2007-03-30 20:21:29 +00:00 |
Arvid Norberg
|
983b953f02
|
reverted last check-in
|
2007-03-30 20:03:18 +00:00 |
Arvid Norberg
|
5c9b9aefb3
|
file did not throw exception properly when file was trunkated and read
|
2007-03-30 19:56:53 +00:00 |
Arvid Norberg
|
e6a4733392
|
fixed one incorrect assert
|
2007-03-30 19:18:03 +00:00 |
Arvid Norberg
|
b8721ad854
|
updates to the upnp code
|
2007-03-30 16:57:55 +00:00 |
Arvid Norberg
|
0b55367664
|
fix related to listen port
|
2007-03-30 03:24:37 +00:00 |
Arvid Norberg
|
a9d18439e9
|
piece picker fix
|
2007-03-30 03:09:28 +00:00 |
Arvid Norberg
|
6c8ef08e56
|
fix to have http_connection support keep-alive connections
|
2007-03-29 16:23:11 +00:00 |
Arvid Norberg
|
fc46a731eb
|
modified and enabled invariant checking for piece_picker
|
2007-03-29 00:52:16 +00:00 |
Arvid Norberg
|
ceadb93097
|
added asserts to the piece picker
|
2007-03-28 23:23:07 +00:00 |
Arvid Norberg
|
513d388c2c
|
added extension hook when files have been checked
|
2007-03-28 22:59:35 +00:00 |
Arvid Norberg
|
ce14cb5783
|
properly updates piece interest bit for deprecated filter functions
|
2007-03-28 22:22:24 +00:00 |
Arvid Norberg
|
0344cadd69
|
improved logging of bitfields
|
2007-03-28 20:54:51 +00:00 |
Arvid Norberg
|
cb27cd3b73
|
made the peer exchange messages be non diffs the first time
|
2007-03-28 20:23:30 +00:00 |
Arvid Norberg
|
f2778d52d1
|
introduced failcounter for peers, increased timeout for peer info (such as being banned). Peers that fails 4 times are removed from the peer-list
|
2007-03-28 19:56:53 +00:00 |
Arvid Norberg
|
e8eb1ca96c
|
prioritizes upload bandwidth to peers we are interested in and that have unchoked us
|
2007-03-28 19:11:30 +00:00 |
Arvid Norberg
|
f1af5dc637
|
changes to ut_pex, added support for seed flag in pex messages
|
2007-03-28 01:06:15 +00:00 |
Arvid Norberg
|
72fd437ff0
|
moved the resume data verification to the storage, since the storage may map the files differently. The creation of resume data should probably also be moved there
|
2007-03-27 23:49:05 +00:00 |
Arvid Norberg
|
bec03261f5
|
fixed piece picker and test
|
2007-03-27 08:53:48 +00:00 |
Arvid Norberg
|
29e43d7f62
|
added http_connection and a simple xml parser, used by a upnp implementation that still isn't finished
|
2007-03-27 07:04:31 +00:00 |
Arvid Norberg
|
985e457e91
|
fixed exception issue
|
2007-03-26 06:48:34 +00:00 |
Arvid Norberg
|
b3c889f563
|
fixed typo in previous check in
|
2007-03-21 02:14:31 +00:00 |
Arvid Norberg
|
20e38bc42b
|
peer interest flag is now updated when priority is changed. fixes in piece_picker
|
2007-03-21 02:09:50 +00:00 |
Arvid Norberg
|
41e26691fb
|
fix where tracker connection did not bind to the correct network interface
|
2007-03-20 20:38:21 +00:00 |
Arvid Norberg
|
10da416c76
|
fix related to piece priorities
|
2007-03-20 19:50:15 +00:00 |
Arvid Norberg
|
00a7546f7e
|
fix related to piece priorities
|
2007-03-20 19:34:10 +00:00 |
Arvid Norberg
|
776b399a97
|
added api for piece priorities
|
2007-03-20 01:59:00 +00:00 |
Arvid Norberg
|
7ff5893431
|
reverted bad check-in where files_checked was removed from piece_picker
|
2007-03-17 17:28:59 +00:00 |
Arvid Norberg
|
8957b64c04
|
prepared for precompiled headers support. fixed issue where storage didn't lock the session properly. fixed typo in natpmp.cpp
|
2007-03-17 17:15:16 +00:00 |
Arvid Norberg
|
4ac08f393a
|
simplified the piece picker by initializing it properly in its constructor. Removed natpmp reporting port map success when removing mappings. fix where incoming connections before the files were completely checked would cause an assert.
|
2007-03-16 23:28:26 +00:00 |
Arvid Norberg
|
81ad74cbcd
|
fixes related to nat port mapping and having dht and bittorrent listen on the same port number
|
2007-03-16 21:45:29 +00:00 |
Arvid Norberg
|
a6b1583d3f
|
fixes to natpmp to take listen interface into account. added colors to the log in client_test
|
2007-03-16 21:04:58 +00:00 |
Arvid Norberg
|
47c08ad50d
|
fixes incorrect local IP address check
|
2007-03-16 18:03:18 +00:00 |
Arvid Norberg
|
118e1cf00d
|
added alerts for reporting nat-pmp status
|
2007-03-16 08:25:08 +00:00 |
Arvid Norberg
|
029953c5ae
|
made the storage into a customization point. it is now interchangable for a custom implementation
|
2007-03-16 05:29:23 +00:00 |
Arvid Norberg
|
52d6a201be
|
merged error message fix from RC_0_12 branch
|
2007-03-16 01:24:40 +00:00 |
Arvid Norberg
|
ecaa3068d5
|
added natpmp support. bumped version number to 0.13. added piece priority support to the piece picker. optmized and simplified the piece picker in the process.
|
2007-03-15 22:03:56 +00:00 |
Arvid Norberg
|
23c95e35a0
|
merged fixes from RC_0_12 branch
|
2007-03-12 01:05:15 +00:00 |
Arvid Norberg
|
87d9cdb965
|
fix for msvc-7.1
|
2007-03-11 23:17:40 +00:00 |
Arvid Norberg
|
034231566a
|
removed unnecessary assert(false) from rpc_manager
|
2007-03-10 20:23:16 +00:00 |
Arvid Norberg
|
4b68dce5f0
|
lowered the dht timeout from 20 to 10 seconds. added support to parse values-messages as described in the spec (even though that format is very very rare).
|
2007-03-09 20:37:17 +00:00 |
Arvid Norberg
|
6f0a0beadb
|
fix to allow hostnames for peers in tracker responses
|
2007-03-07 18:50:38 +00:00 |
Arvid Norberg
|
17c905e37b
|
fixed issue with single file web seeds with pre-urlencoded paths. Now, the url in the torrent file is assumed to be url-encoded.
|
2007-03-07 00:21:36 +00:00 |
Arvid Norberg
|
b17710df09
|
improved error reporting on http seed failures
|
2007-03-06 23:56:17 +00:00 |
Arvid Norberg
|
0fe9f53410
|
fix in http seed. incorrect status codes were accepted
|
2007-03-06 23:22:43 +00:00 |
Arvid Norberg
|
a3dbea606e
|
added debug message to dht. fixed while loop around condition variable in checker thread.
|
2007-03-06 17:27:17 +00:00 |
Arvid Norberg
|
7e17ff9d4a
|
updated warning messages
|
2007-03-03 00:49:15 +00:00 |
Arvid Norberg
|
c22c55feda
|
dht fix
|
2007-03-02 21:40:18 +00:00 |
Arvid Norberg
|
966ba81be0
|
fixed gcc warning on initialization order
|
2007-03-02 20:39:23 +00:00 |
Arvid Norberg
|
7e3a415d0b
|
made the trackers pick the most suitable interface to connect to (IPv6/Ipv4 issue). added Mono Torrent to identify_client and dht statistics.
|
2007-03-02 18:40:02 +00:00 |
Arvid Norberg
|
be574bcc33
|
removed old commented out code. polished client_test output
|
2007-03-02 06:49:00 +00:00 |
Arvid Norberg
|
8f1128f540
|
more dht fixes. polished client test output some
|
2007-03-02 05:02:12 +00:00 |
Arvid Norberg
|
83c2039ff7
|
fix to previous dht fix. removed some deprication warnings on msvc-8. various fixes
|
2007-03-02 01:16:59 +00:00 |
Arvid Norberg
|
c40a75f844
|
IPv6 fixes
|
2007-02-27 17:21:46 +00:00 |
Arvid Norberg
|
bb0b8c9d95
|
improved unit test for storage, modified move_storage to hopefully fix a bug. updated Changelog.
|
2007-02-25 21:11:29 +00:00 |
Arvid Norberg
|
10068634f8
|
fix for typo in previous checkin
|
2007-02-25 09:44:08 +00:00 |
Arvid Norberg
|
7888b72e12
|
fix for crashes when stopping or restarting DHT
|
2007-02-25 09:42:43 +00:00 |
Arvid Norberg
|
fcc9c49608
|
fixed issue with metadata-less torrents and their statistics updates
|
2007-02-25 05:20:14 +00:00 |
Arvid Norberg
|
de37f48179
|
fixed bug where multi-file torrents with just a single file in left directories after storage::move_storage was called
|
2007-02-21 22:49:01 +00:00 |
Arvid Norberg
|
b0ae8d3a14
|
tracker fixes for trackerless torrents
|
2007-02-21 17:15:47 +00:00 |
Arvid Norberg
|
11b44fd286
|
fixed typo in previous check in
|
2007-02-21 03:05:25 +00:00 |
Arvid Norberg
|
4b66454a38
|
another fix for closing torrentless torrents
|
2007-02-20 22:58:31 +00:00 |
Arvid Norberg
|
9c7e0576bd
|
improved verbose logging of http seed connections
|
2007-02-20 17:38:07 +00:00 |
Arvid Norberg
|
3fc73cb219
|
added a web seed test (requires manual environment setup for web server). fixed bug in torrent_info where file offsets could be left uninitialized. Fixed bug in torrent which would cause a crash in case a torrent without any trackers would be aborted.
|
2007-02-20 01:42:12 +00:00 |
Arvid Norberg
|
4f86042b97
|
bandwidth management fix + improved string conversion fallback in case strings are incorrect in torrent
|
2007-02-19 23:06:20 +00:00 |
Arvid Norberg
|
f5fe27e691
|
bandwidth management fix + fix to http tracker connection request builder
|
2007-02-19 21:24:48 +00:00 |
Arvid Norberg
|
9c0e9701d9
|
fix for bug in bandwidth throttler when limiting a torrent to lower than bandwidth block size. Fixed #ifndef related to DHT support
|
2007-02-19 00:01:39 +00:00 |
Arvid Norberg
|
889ad70cee
|
fixes for metadata-less torrents, and fixes for peer requests
|
2007-02-15 03:03:50 +00:00 |
Arvid Norberg
|
14cb23cec2
|
tracker announces will always request 50 peers, unless it's stopped
|
2007-02-12 22:45:23 +00:00 |
Arvid Norberg
|
6a47eb501e
|
fixed problem with torrents that were paused not getting any upload slots or connection quota once the were unpaused
|
2007-02-12 18:21:14 +00:00 |
Arvid Norberg
|
f795be7acf
|
made the dht be a fallback by default, fixed glitch in earlier fix to make sure block requests are sent properly, fixed problem in peer_connection::second_tick if the piece picker was removed because of the torrent becoming a seed
|
2007-02-12 09:20:49 +00:00 |
Arvid Norberg
|
a3bf238143
|
fixed typo in previous checkin and updated AUTHORS
|
2007-02-12 05:56:29 +00:00 |
Arvid Norberg
|
98b92e3f02
|
fixed problems in the network layer that made web seeds fail some times. prepared for proxy support in peer connections. worked on the http seeding. added support for web seeds in make_torrent tool
|
2007-02-12 05:46:29 +00:00 |
Arvid Norberg
|
0019e9a2fb
|
fixed illegal iterator dereference
|
2007-02-05 17:10:34 +00:00 |
Arvid Norberg
|
8d5e14d557
|
fixed race condition when fast resume data was being checked
|
2007-02-04 02:08:46 +00:00 |
Arvid Norberg
|
d0ebdb2dee
|
added prioritization in the bandwidth_manager (throttler), web seeds now have lower priority when being handed bandwidth. torrent_reply_alert now includes the number of peers returned from the tracker. updated Changelog
|
2007-02-01 07:33:04 +00:00 |
Arvid Norberg
|
1a0547a15c
|
removed chat extension code that was commented out
|
2007-01-30 22:40:21 +00:00 |
Arvid Norberg
|
05f4ce5b6c
|
fixed potetial deadlock in bandwidth manager. Fixed http-tracker requests that are sensitive to existing arguments in url (avoids duplicates and doesn't replace arguments)
|
2007-01-30 17:56:42 +00:00 |
Arvid Norberg
|
6cb914b62f
|
removed invariant_check() left in by mistake
|
2007-01-29 17:56:59 +00:00 |
Arvid Norberg
|
f14c84b01e
|
fixes in DHT to make it work when the number of transaction slots are full (very rare case). Added a feature to (optionally) resolve the countries of peers and updated the docs (see peer_info::country).
|
2007-01-29 07:39:33 +00:00 |
Arvid Norberg
|
c2a032be7a
|
fix for use with latest version of asio
|
2007-01-29 07:37:32 +00:00 |
Arvid Norberg
|
69ef67d71e
|
made a common base class for torrent alerts. Made the bandwidth quota block size variable depending on the limit
|
2007-01-16 05:05:52 +00:00 |
Arvid Norberg
|
cfb238886d
|
added lines that were removed by mistake
|
2007-01-11 02:59:38 +00:00 |
Arvid Norberg
|
50123405fd
|
added missing sourcefile
|
2007-01-10 17:36:21 +00:00 |
Arvid Norberg
|
87f7b186b0
|
replaced the bandwidth throttling code with a leaky bucket for better accuracy
|
2007-01-10 15:02:25 +00:00 |
Arvid Norberg
|
5f6c12214b
|
bugfix
|
2007-01-08 15:29:17 +00:00 |
Arvid Norberg
|
327f820292
|
correction of previous fix
|
2007-01-07 13:55:27 +00:00 |
Arvid Norberg
|
b62d54948c
|
may have fixed another exception caused when the network cable is plugged
|
2007-01-07 13:27:55 +00:00 |
Arvid Norberg
|
03bb4121ad
|
generates a tracker message when a http-response redirects to another url
|
2007-01-05 02:08:48 +00:00 |
Arvid Norberg
|
56a7fc35bc
|
may have fixed a problem with an uncaught exception when the network plug is pulled
|
2007-01-04 15:44:23 +00:00 |
Arvid Norberg
|
726aa89434
|
fixed typo
|
2007-01-03 11:43:00 +00:00 |
Arvid Norberg
|
08e15e2f0c
|
updated Makefile for latest asio, fix in peer exchange, updated client_test output
|
2007-01-02 17:44:15 +00:00 |
Arvid Norberg
|
442039ea28
|
updated changelog added Xtorrent to identify_client
|
2007-01-02 14:23:32 +00:00 |
Daniel Wallin
|
39b977973f
|
Added accessor functions for upload_rate_limit and download_rate_limit
|
2007-01-01 23:51:24 +00:00 |
Arvid Norberg
|
0f3874028b
|
added btgdaemon to identify client and applied wojci's patch to add num_connections() and num_uploads() to session
|
2007-01-01 21:04:30 +00:00 |
Arvid Norberg
|
373b18233a
|
reverted some bad changes
|
2007-01-01 11:54:31 +00:00 |
Arvid Norberg
|
45864b15ec
|
fixed incorrect assert in bytes_done()
|
2006-12-31 14:48:18 +00:00 |
Arvid Norberg
|
d58c6d2e31
|
fixed so that both session constructors initializes boost.filesystem. Fixed the case where the file check throws exceptions, the torrent is no longer removed, but paused
|
2006-12-30 23:02:21 +00:00 |
Arvid Norberg
|
a78ef76592
|
commented out an expensive invariant check. Fixed http parser to accept responses with only LF (and not CRLF)
|
2006-12-29 23:40:56 +00:00 |
Arvid Norberg
|
d50ab33855
|
added clients to identify_client and a minor fix
|
2006-12-27 15:14:17 +00:00 |
Arvid Norberg
|
c69479a166
|
fixed the cause of an inconsistency in the piece picker and the torrent
|
2006-12-22 00:45:43 +00:00 |
Arvid Norberg
|
f83db0a423
|
consistency fixes related to shutting down
|
2006-12-21 22:20:28 +00:00 |
Arvid Norberg
|
755d9f5967
|
since the web seed downloader now calls incoming_piece with correct block sizes, incoming piece can be reverted to not allow incorrect block sizes
|
2006-12-21 11:37:03 +00:00 |
Arvid Norberg
|
1b46fb9e1b
|
fixed an assert in teh web seed downloader
|
2006-12-21 02:44:00 +00:00 |
Arvid Norberg
|
ae4267e0a0
|
fixed the new web seed code to work with multi-file torrents
|
2006-12-20 23:06:24 +00:00 |
Arvid Norberg
|
c32dd33a2d
|
commented out an expensive invariant check
|
2006-12-18 01:24:35 +00:00 |
Arvid Norberg
|
3a7eeb3966
|
rewrote most of the web seed downloader to report its progress accurately (to prevent inconsistencies in the core). Not well tested with multi file torrents yet
|
2006-12-18 01:23:30 +00:00 |
Arvid Norberg
|
2ebff76caa
|
fixes
|
2006-12-16 03:55:20 +00:00 |
Arvid Norberg
|
80bcbdf044
|
fixed typo
|
2006-12-16 03:36:33 +00:00 |
Arvid Norberg
|
cf4aa6d6e1
|
added more asserts related to the invariance between the peer connections' request queue and the piece picker
|
2006-12-16 03:34:56 +00:00 |
Arvid Norberg
|
400a2fe82a
|
added more asserts related to the invariance between the peer connections' request queue and the piece picker
|
2006-12-16 02:19:53 +00:00 |
Arvid Norberg
|
0bad3bcc48
|
fixed typos
|
2006-12-15 23:24:40 +00:00 |
Arvid Norberg
|
4c78274897
|
added more asserts in bytes_done()
|
2006-12-15 23:22:40 +00:00 |
Arvid Norberg
|
13facbdb83
|
added a strand for all async operations for thread safety
|
2006-12-15 17:47:21 +00:00 |
Arvid Norberg
|
c567d06406
|
some asserts
|
2006-12-15 12:29:47 +00:00 |
Arvid Norberg
|
79ebcf5dd8
|
modified the hueristic for taking over blocks slightly, added logging
|
2006-12-15 10:42:56 +00:00 |
Arvid Norberg
|
1271334f95
|
fix
|
2006-12-15 09:38:52 +00:00 |
Arvid Norberg
|
16b7898de9
|
added some asserts
|
2006-12-15 02:26:11 +00:00 |
Arvid Norberg
|
9e27e33c99
|
added some asserts and updated changelog
|
2006-12-14 16:12:31 +00:00 |
Arvid Norberg
|
400aeaa347
|
fixed bug in sending announce messages
|
2006-12-14 00:54:37 +00:00 |
Arvid Norberg
|
ef9c2aba66
|
fixed bugs introduced in the http tracker refactoring and the fastresume data writer when the piece picker was deallocated, reported by Massaroddel
|
2006-12-12 12:56:18 +00:00 |
Arvid Norberg
|
fcf211378a
|
fixed http_tracker_connection to finally use the http-parser class (which also web_seed_connection uses). also fixed a case sensitivity issue with http header names.
|
2006-12-12 02:28:53 +00:00 |
Arvid Norberg
|
fcf20c7c0c
|
invariant check fixes
|
2006-12-11 15:43:27 +00:00 |
Arvid Norberg
|
f0e97d5aff
|
fixes and asserts partly related to the freeing of the piece picker
|
2006-12-11 12:48:33 +00:00 |
Arvid Norberg
|
d10f06059d
|
fix related to the recent piece_picker optimization
|
2006-12-05 23:53:56 +00:00 |
Arvid Norberg
|
e49934f236
|
fixed typo
|
2006-12-04 20:46:38 +00:00 |
Arvid Norberg
|
ef235faede
|
added MLDonkey to identify client, fixed a problem introduced with the recent piece_picker optimization, choked peers should now waste less bandwidth in the quota management.
|
2006-12-04 20:42:47 +00:00 |
Arvid Norberg
|
90feac8126
|
deallocates the piece picker when seeding, to free up unused memory
|
2006-12-04 12:20:34 +00:00 |
Arvid Norberg
|
4f68ca55dc
|
fixed incorrect change in earlier check-in
|
2006-11-30 20:40:41 +00:00 |
Arvid Norberg
|
947df91b20
|
improved support for multiple connections per ip
|
2006-11-30 11:56:19 +00:00 |
Arvid Norberg
|
ce9eed5ea1
|
fixed incorrectly named members of session_status, fixed compilation error in ut_pex, documentation updates
|
2006-11-28 18:18:37 +00:00 |
Arvid Norberg
|
b63c155c0d
|
added uTorrent Peer exchange support, implemented by MassaRoddel
|
2006-11-26 17:44:51 +00:00 |
Arvid Norberg
|
f56cd20a1e
|
only sends the local listen port in the extension message for outgoing connections
|
2006-11-26 17:44:15 +00:00 |
Arvid Norberg
|
93b51d7652
|
more tweaks on quota management
|
2006-11-24 16:59:47 +00:00 |
Arvid Norberg
|
c5cf290f49
|
more quota management fixes and more stats for web seeds
|
2006-11-24 14:22:52 +00:00 |
Arvid Norberg
|
0abb46e794
|
fixed extension bug, where 0-pointers would be added the the extension list
|
2006-11-23 16:21:45 +00:00 |
Arvid Norberg
|
1015864eeb
|
fixed division by zero problem in allocate_resources, removed incorrect asserts
|
2006-11-22 12:15:47 +00:00 |
Arvid Norberg
|
8e289bb233
|
improved logging and fixed glitch in quota management.
|
2006-11-21 15:51:28 +00:00 |
Arvid Norberg
|
d90f833eed
|
fixed problem in quota management for upload and download bandwidth
|
2006-11-21 00:42:52 +00:00 |
Arvid Norberg
|
68e8ea35ea
|
added logging of upload and download statistics, revised some of the quota management, added support for sessions to allocate_resources (patch by wojci)
|
2006-11-20 21:03:58 +00:00 |
Arvid Norberg
|
c52de08421
|
added more logging and modified the resource allocation algorithm. A new, looser, upload and download bandwidth limiter is now used, in order to be able to use more of the available bandwidth
|
2006-11-19 15:29:58 +00:00 |
Arvid Norberg
|
01f1d01d58
|
improved logging, fixed option to allow multiple connections from the same IP
|
2006-11-15 21:39:58 +00:00 |
Arvid Norberg
|
51e3261dd0
|
the file pool has been moved to the session and its size can be controlled via session_settings. Added untested option to allow multiple connections from the same IP.
|
2006-11-14 15:53:38 +00:00 |
Arvid Norberg
|
247b8ae443
|
removed temporary assert and factored file_pool out of storage to prepare for a per session file pool
|
2006-11-14 13:36:10 +00:00 |
Arvid Norberg
|
e35fc5c4be
|
refactored extensions and added a plugin interface. fixed file.cpp for windows
|
2006-11-14 00:08:16 +00:00 |
Arvid Norberg
|
7bff835cdd
|
fixed problem when sending messages to oneself fails in the dht
|
2006-10-27 01:56:01 +00:00 |
Arvid Norberg
|
340d8a1cbc
|
removed incorrect assert hit when rebinding the dht service port
|
2006-10-24 11:52:30 +00:00 |
Arvid Norberg
|
1805beaaec
|
added Deluge client id
|
2006-10-18 04:04:34 +00:00 |
Arvid Norberg
|
ec53633975
|
added mutex locks around critical sections
|
2006-10-13 00:01:18 +00:00 |
Arvid Norberg
|
c84e96898b
|
added workaround for incorrectly encoded paths in torrent files
|
2006-10-12 23:51:10 +00:00 |
Arvid Norberg
|
7e9da2a261
|
fixed indentation
|
2006-10-11 22:07:07 +00:00 |
Arvid Norberg
|
c8fbd5db21
|
split session and session_impl into separate compilation units
|
2006-10-11 20:57:54 +00:00 |
Arvid Norberg
|
f0519e86e8
|
separated session from session_impl and made a real pimpl-class of it. Introduced the possibility to destruct the sessions async.
|
2006-10-11 14:02:21 +00:00 |
Arvid Norberg
|
8346841d35
|
fixed bug in file_progress with file sizes of 0 bytes
|
2006-10-08 20:36:05 +00:00 |
Arvid Norberg
|
6856989cb8
|
added a test for allocate resources
|
2006-10-04 02:27:32 +00:00 |
Arvid Norberg
|
db426ae80d
|
fixed race condition in udp_tracker_connection
|
2006-10-02 22:19:21 +00:00 |
Arvid Norberg
|
599cfe3820
|
moved a stderr log to the verbose log
|
2006-10-02 10:06:31 +00:00 |
Arvid Norberg
|
f029f5d6b2
|
fixed sequenced download bug
|
2006-10-02 08:58:28 +00:00 |
Arvid Norberg
|
861220b233
|
fixed prioritization on connections, incomming connections are now prioritized over outgoing pending connections.
|
2006-09-28 13:27:34 +00:00 |
Arvid Norberg
|
c687c428c4
|
removed incorrect asserts. added ip to the extension header. removed the mandatory libtorrent suffix on the user agent
|
2006-09-28 00:49:40 +00:00 |
Arvid Norberg
|
910733f29e
|
added proper support for dht router nodes (which are automatically used to bootstrap from, and won't get added to the routing table)
|
2006-09-27 17:20:18 +00:00 |
Arvid Norberg
|
411bc4895c
|
incoming connections are now prioritized over outgoing connections with the same ip
|
2006-09-27 17:17:41 +00:00 |
Arvid Norberg
|
362f700906
|
fixed integer overflow bug occuring when building with gcc 4.1.x. updated the projects page, removed dead code from allocate_resources.
|
2006-09-25 22:37:48 +00:00 |
Arvid Norberg
|
5aa875c2af
|
fixed some warnings
|
2006-09-24 11:32:08 +00:00 |
Arvid Norberg
|
80dc56d388
|
fixed crashing bug when removing torrents while checking
|
2006-09-24 11:22:25 +00:00 |
Arvid Norberg
|
1bde539d67
|
made the values sent to the tracker only include complete and hash checked data, to make them increase and decrease monotonically
|
2006-09-24 00:48:31 +00:00 |
Arvid Norberg
|
5e254ffea6
|
fixede bug appearing when loading a torrent containing a piece length of 0
|
2006-09-23 21:43:26 +00:00 |
Arvid Norberg
|
fe0d570f05
|
completed IPv6 support in ip_filter and updated test_ip_filter and documentation. Documented recently added extensions to DHT.
|
2006-09-23 21:24:28 +00:00 |
Arvid Norberg
|
a42189af62
|
removed out dated comments
|
2006-09-23 21:23:24 +00:00 |
Arvid Norberg
|
4d6d8b893d
|
added uLeacher and qBittorrent
|
2006-09-23 21:21:52 +00:00 |
Arvid Norberg
|
004d3771cb
|
added first version of an IPv6 extension and docs
|
2006-09-21 18:22:26 +00:00 |
Arvid Norberg
|
4edfaa0493
|
fixed private=0 torrent parsing
|
2006-09-12 00:48:01 +00:00 |
Arvid Norberg
|
f92b6cd90c
|
fixed test_ip_filter and test_piece_picker to reflect recent api changes. Fixed an Obj.C naming issue. Removed files from include/Makefile.am that was removed from asio.
|
2006-09-11 23:34:07 +00:00 |
Arvid Norberg
|
dc2e25141c
|
changed sequencial download threshold api, it is now per torrent
|
2006-09-04 23:22:21 +00:00 |
Arvid Norberg
|
191fd76b42
|
made sequenced_download_threshold a per torrent setting. Updated the project page layout. Removed incorrect invariant checks in piece picker.
|
2006-09-04 17:17:45 +00:00 |
Arvid Norberg
|
7bc1214749
|
fixed strange User-Agent encoding in HTTP requests. Fixed bug in sequenced_download_threshold code
|
2006-09-03 22:59:54 +00:00 |
Arvid Norberg
|
5ae55c5738
|
fixed bug appearing when changing the sequenced download threshold on a torrent which already had some pieced downloaded.
|
2006-09-01 09:36:43 +00:00 |
Arvid Norberg
|
bdf1bbc8f4
|
changed the file format for storing the DHT routing table to support IPv6. Changed the address used to be IPv4-IPv6 independent (ip_filter still onlt works with IPv4). Added default boost-build features to the building documentation. Completed the jamfile's support for building without DHT support. Updated documentation with these changes.
|
2006-09-01 03:06:00 +00:00 |
Arvid Norberg
|
b1411fcdf7
|
the DHT can now change listen port runtime, and the same listen interface will be used for the DHT as is used for the torrent listen port. The DHT buckets are refreshed slightly more evenly distributed over time.
|
2006-08-30 00:09:58 +00:00 |
Arvid Norberg
|
d0a38c50c6
|
fixed crash bug occuring when removing a torrent while it announces on the DHT. Fixed the mainloop not to quit when an uncought exception is thrown.
|
2006-08-29 01:15:24 +00:00 |
Arvid Norberg
|
0f28b3ac5b
|
removed -L./ from makefiles and made the tests not to be installed
|
2006-08-28 20:44:06 +00:00 |
Arvid Norberg
|
056558576e
|
fixed overflow bug in file_progress() and bug in the parsing of dht nodes from torrent files
|
2006-08-27 18:38:30 +00:00 |
Arvid Norberg
|
8227b160ea
|
fixed missing header include. added todo comment at a reported bug
|
2006-08-10 23:36:58 +00:00 |
Arvid Norberg
|
87eb377b17
|
fixed incorrect asserts in storage (that were triggered by torrent with zero-size files). Fixed bug in resource distribution algorithm. Made an attempt to avoid an assert in msvc standard library caused by passing a non-printable character to isdigit().
|
2006-08-10 19:18:11 +00:00 |
Arvid Norberg
|
4f2d147e07
|
the dht node will now add nodes who sends announce_peer with correct write token. Fixed bug in session where nodes from a .torrent were added to the node even though if it wasn't running.
|
2006-08-06 18:42:04 +00:00 |
Arvid Norberg
|
2daaa9f8d2
|
fixed bug in allocate_resources, made the refresh timers more accurate and tries to even out the load bu not refreshing more than one bucket at a time
|
2006-08-06 16:36:00 +00:00 |
Arvid Norberg
|
d17082aa1a
|
added electric sheep as an identified client
|
2006-08-02 00:06:44 +00:00 |
Arvid Norberg
|
2d83cdfa59
|
fixed runtime-check that msvc adds if that option is checked. Fixed problem that occured if the max_transactions limit was reached.
|
2006-08-01 22:23:05 +00:00 |
Arvid Norberg
|
e340485974
|
fixed possible problem with errors occuring and reported to dht_tracker::on_receive.
|
2006-08-01 16:59:12 +00:00 |
Arvid Norberg
|
5ef57265bf
|
first version with DHT support. Limited pipelining used by url-seeds. Fixed one configuration problem on FreeBSD.
|
2006-08-01 15:27:08 +00:00 |
Arvid Norberg
|
eef4ffa18c
|
preliminary http proxy support for web seeds, bumped version number
|
2006-07-27 18:07:51 +00:00 |
Arvid Norberg
|
00df2b5bc3
|
added build notes for vs.net 2005, removed old code from ip_filter.cpp, fixed problem where the stats could become incorrect in case of very high cpu load, added asserts in storage::read() to make sure one is not trying to read out of bounds.
|
2006-07-26 10:21:25 +00:00 |
Arvid Norberg
|
5366971c39
|
fixed compilation error in previous checkin
|
2006-07-23 19:42:59 +00:00 |
Arvid Norberg
|
f1efa8c952
|
updated makefile according to the latest version of asio, fixed Mainline peer-id decoder to work with the new version numbers, added some new clients to the identification list
|
2006-07-23 19:42:13 +00:00 |
Arvid Norberg
|
3763b600e4
|
added integer version defines, fixed a bug which appeared when session was closing, removed an old member function declaration from torrent_handle
|
2006-07-18 16:29:35 +00:00 |
Arvid Norberg
|
8d31bf442a
|
fixed incorrect sorting of pieces in piece_picker
|
2006-07-16 00:08:50 +00:00 |
Arvid Norberg
|
8c6869b4f2
|
fixed the issue with the timer waiting for tracker requests when quitting, reported by Tianhao Qiu
|
2006-07-12 22:55:06 +00:00 |
Arvid Norberg
|
4403eac97b
|
fixed bugs reported by Massaroddel. Tracker request peer-count could be incorrect. Empty files were not created in full allocation mode.
|
2006-07-08 19:41:39 +00:00 |
Arvid Norberg
|
175fb8770b
|
added peer_timeout and urlseed_timeout to session_settings, they control the timeout for peers and web seeds respectively. Added BitSlug to the projects page. Added more debug logging when resolving web seed hostnames. Updated documentation.
|
2006-06-28 23:27:44 +00:00 |
Arvid Norberg
|
3e39b90158
|
updated makefiles to hopefully install the headers in the correct place. Updated docs to use boost 1.33.1 in examples. Changed libtorrent version to 0.10 and updated ChangeLog to prepare for release.
|
2006-06-25 00:12:18 +00:00 |
Arvid Norberg
|
d3ba5edd6d
|
fixed a long standing (quite rare) bug, thanks to Massaroddel. Made the tests clean up their temporary files.
|
2006-06-24 22:30:59 +00:00 |
Arvid Norberg
|
db4ca12c02
|
fixed a full-check bug in storage. Changed the asio includes to avoid require boost.regex headers
|
2006-06-24 14:15:11 +00:00 |
Arvid Norberg
|
497112d208
|
*** empty log message ***
|
2006-06-19 22:34:25 +00:00 |
Arvid Norberg
|
926e6551c1
|
*** empty log message ***
|
2006-06-17 23:42:01 +00:00 |
Arvid Norberg
|
903e11e458
|
moved the asio headers into the include directory, to have them installed when libtorrent is installed. improved the complexity of torrent_info::map_file(), It's now O(1).
|
2006-06-17 22:04:25 +00:00 |
Arvid Norberg
|
1a081561c4
|
fixed bug in tracker_connection (spotted by tianhao qui) and fixed a performance problem in the piece picker that takes over blocks from other peers (also spotted by tianhao qui)
|
2006-06-17 01:29:36 +00:00 |
Arvid Norberg
|
b06b7fdf7b
|
added block requesting fix
|
2006-06-14 21:08:55 +00:00 |
Arvid Norberg
|
c3eaa26645
|
fixed bug spotted by Tianhao Qiu
|
2006-06-12 21:20:32 +00:00 |
Arvid Norberg
|
8fafa58c1f
|
added per file progress, added patch suggested by Tianhao Qui regarding unchoking when a peer becomes uninterested. Updated documentation and removed block quotes around bullet lists.
|
2006-06-11 23:24:36 +00:00 |
Arvid Norberg
|
3d06c0636a
|
*** empty log message ***
|
2006-05-29 17:50:57 +00:00 |
Arvid Norberg
|
94628fa78d
|
fixed race condition in peer_connection, fixed assert in torrent destructor, updated tests
|
2006-05-28 19:03:54 +00:00 |
Arvid Norberg
|
58698d6aea
|
fixed the tests to build with the latest version of asio. added a missing include to identify_client.hpp
|
2006-05-21 15:35:11 +00:00 |
Arvid Norberg
|
a3b8aadb90
|
updated makefiles
|
2006-05-21 00:09:00 +00:00 |
Arvid Norberg
|
e6bb265d94
|
replaced http_settings with session_settings and introduced more settings
|
2006-05-20 23:24:19 +00:00 |
Arvid Norberg
|
d891214358
|
*** empty log message ***
|
2006-05-20 17:59:17 +00:00 |
Arvid Norberg
|
262e97f21d
|
updated to latest version of asio. fixed a problem with low resolution timers in the second_tick code found by Massaroddel.
|
2006-05-20 15:30:40 +00:00 |
Arvid Norberg
|
3cac133e51
|
fixed typo that made debug code to be called in release mode (caused a compile error)
|
2006-05-15 21:19:19 +00:00 |
Arvid Norberg
|
0b529e8f96
|
added a setting for max outstanding requests, and a limit for BitComet since it's known to have a very low limit, also added an extension header to specify it. Fixed another unnecessary delay spotted by Tianhao Qiu. Cleaned up the logging class a bit. Fixed a bug that would cause an assert when removing a torrent queued for checking.
|
2006-05-14 22:30:05 +00:00 |
Arvid Norberg
|
73b1c5c9b8
|
cleaned up comments, added some asserts, added setup_send() as proposed by Tianhao Qiu to speed up connection attempts
|
2006-05-01 23:34:37 +00:00 |
Arvid Norberg
|
ddefc0d348
|
fixed a bug in the http redirection code
|
2006-04-30 11:03:25 +00:00 |
Arvid Norberg
|
d63ceac56c
|
fixed a bug in client_test. fixed some problems related to the previous buffer bug fix. all tests pass now.
|
2006-04-30 10:28:45 +00:00 |
Arvid Norberg
|
18cb6736ea
|
fixed a serious bug where corrupt messages could be sent out.
|
2006-04-30 00:39:18 +00:00 |
Arvid Norberg
|
d1c33c0d2b
|
windows fixes
|
2006-04-27 00:39:21 +00:00 |