Arvid Norberg
|
c5cf290f49
|
more quota management fixes and more stats for web seeds
|
2006-11-24 14:22:52 +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
|
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
|
9c8f5327b5
|
fixed incorrect assert
|
2006-11-19 15:23:41 +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
|
8e876cab72
|
added asio.hpp to the distribution
|
2006-11-01 12:51:26 +00:00 |
Arvid Norberg
|
ed15b5989e
|
fixed warning on msvc8
|
2006-10-19 22:23:40 +00:00 |
Arvid Norberg
|
4d94c7574c
|
added default constructor to session_proxy
|
2006-10-15 13:46:52 +00:00 |
Arvid Norberg
|
892268aef4
|
updated changelog and added 0.11 release point
|
2006-10-14 08:15:57 +00:00 |
Arvid Norberg
|
c84e96898b
|
added workaround for incorrectly encoded paths in torrent files
|
2006-10-12 23:51:10 +00:00 |
Arvid Norberg
|
37541d4676
|
fixed incorrect include of standard header with .hpp-sufix
|
2006-10-12 20:42:58 +00:00 |
Arvid Norberg
|
40741a1626
|
added missing include of set.hpp
|
2006-10-12 19:24:38 +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
|
8e0d7a3bc8
|
added msvc workarounds
|
2006-10-04 15:18:51 +00:00 |
Arvid Norberg
|
e50a7c10d2
|
updated Makefiles
|
2006-10-04 10:53:43 +00:00 |
Arvid Norberg
|
6856989cb8
|
added a test for allocate resources
|
2006-10-04 02:27:32 +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
|
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
|
6ff86a8973
|
added work-arounds for msvc
|
2006-09-24 12:56:30 +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
|
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
|
978fe778ec
|
fixed bug with the bandwidth throttling
|
2006-09-21 16:34:21 +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
|
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
|
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
|
3574458b44
|
fixed comparison of invalid iterators
|
2006-08-11 06:05:16 +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
|
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
|
02c0048c10
|
removed redundant namespace alias that may be a problem with GCC 3.4.2 on FreeBSD
|
2006-08-01 22:43:59 +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
|
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
|
8234e9c12f
|
fixed bug in previous checking
|
2006-07-23 19:50:57 +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
|
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
|
991220f51a
|
fixed the installation directory for the headers. The storage test now releases its files to make it work on windows.
|
2006-06-25 14:37:30 +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
|
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
|
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
|
25dae899f0
|
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 13:48:39 +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
|
44f21d0fdf
|
fixed crashing bug when destructing session
|
2006-05-21 09:46:01 +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
|
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
|
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
|
18cb6736ea
|
fixed a serious bug where corrupt messages could be sent out.
|
2006-04-30 00:39:18 +00:00 |
Arvid Norberg
|
41810b1166
|
merged back the asio development branch
|
2006-04-25 21:04:48 +00:00 |
Arvid Norberg
|
e66cfcfbcf
|
fixed ifdef problem
|
2006-02-18 00:21:13 +00:00 |
Arvid Norberg
|
7b8eae4e37
|
fixed syntax error found by gcc 4.1
|
2006-01-24 16:10:19 +00:00 |
Arvid Norberg
|
7eb9812cfa
|
changed include order of boost headers to workaround namespace bug on msvc 7
|
2006-01-11 01:32:26 +00:00 |
Arvid Norberg
|
04ad901577
|
applied (slightly modified) patches from Allen Zhao in an attempt to make it build on vc7
|
2006-01-07 13:48:14 +00:00 |
Arvid Norberg
|
564ae78012
|
fixed bug caused when sockets were bound to non-local interface
|
2006-01-06 20:20:20 +00:00 |
Arvid Norberg
|
477d5ec238
|
merged in differences from release branch
|
2005-11-18 01:12:21 +00:00 |
Arvid Norberg
|
ff61376140
|
merged fixes from release branch
|
2005-11-03 11:48:04 +00:00 |
Arvid Norberg
|
c71a5a9435
|
makes it build with logging
|
2005-11-02 20:59:36 +00:00 |
Arvid Norberg
|
d7b1dda483
|
renamed torrent::interface() since it seems msvc won't allow it as an identifier
|
2005-11-02 19:19:41 +00:00 |
Arvid Norberg
|
bcbe165aee
|
added the ability to limit the number of half-open tcp connections
|
2005-11-02 16:28:39 +00:00 |
Arvid Norberg
|
3f36dd0395
|
added the ability to build libtorrent as a shared library. Fixed bugs with deleting of incomplete types (replaced auto_ptr with scoped_ptr). Made the string converter fall back on windows local code page if utf-8 decoding failed.
|
2005-11-01 18:30:39 +00:00 |
Arvid Norberg
|
55144fc3f4
|
all functions on torrent_handle are now const. restored r, p, u keys in client_test
|
2005-10-19 13:58:41 +00:00 |
Arvid Norberg
|
d3996ccfb9
|
added metadata_failed_alert and allcoating torrent state
|
2005-10-17 13:45:53 +00:00 |
Arvid Norberg
|
6db55b87ab
|
fixed problem when aborting checking torrents
|
2005-10-16 21:14:08 +00:00 |
Arvid Norberg
|
23fbb8d240
|
may have fixed a bug where incorrect metadata was sent (introduced with the latest optimization)
|
2005-10-16 20:15:54 +00:00 |
Arvid Norberg
|
f63702c964
|
optimized session::add_torrent() by putting more info in torrent_info, to make it possible to reproduce the exact info section from an torrent_info object. The result is that the .torrent file is only parsed once.
|
2005-10-16 16:58:41 +00:00 |
Arvid Norberg
|
f770d1438d
|
fixed bug introduced in latest storage changes (triggered when using metadata extension). improved commandline switches to client_test
|
2005-10-16 09:15:46 +00:00 |
Arvid Norberg
|
032f4c715b
|
*** empty log message ***
|
2005-10-15 23:16:39 +00:00 |
Arvid Norberg
|
189a8756ee
|
big change in the way storage is checked. The checker thread can now check the fastresume data of a new torrent without waiting for a currently checking one
|
2005-10-13 07:59:05 +00:00 |
Arvid Norberg
|
364abbefb7
|
may have fixed an incorrect assert + added ending newline in a file that didn't have one
|
2005-10-03 23:09:22 +00:00 |
Arvid Norberg
|
a09159c239
|
fixed the buggy changes from last revision, modified the invariant checks
|
2005-10-01 15:12:10 +00:00 |
Arvid Norberg
|
6d66566298
|
fixed problem with file pool when files were opened with 0 as info hash and attempted to close with the correct one. the info hash is no longer used as the key in the file pool. Also updated Makefile.am to include the buffer.hpp and .cpp and to include the storage unit test
|
2005-09-28 21:46:35 +00:00 |
Arvid Norberg
|
beee914277
|
separated the queue of blocks to be requested from peers and those allocated for peers. This sets a hard limit on the remote request queue size and works better with BitComet
|
2005-09-27 08:07:24 +00:00 |
Arvid Norberg
|
09c98711d5
|
made the peer_connection re-request pieces that aren't sent (fixes a problem where the download could get stuck because bitcomet ignores some requests)
|
2005-09-21 21:44:38 +00:00 |
Arvid Norberg
|
82c0ca5675
|
Changed the way libtorrent find out if a peer supports its extensions to make it compatible with Mainline beta.
|
2005-09-18 10:18:23 +00:00 |
Arvid Norberg
|
5a1e064783
|
Added support for dht-port message. It is currently only logged.
|
2005-09-14 22:45:22 +00:00 |
Arvid Norberg
|
7f890239c4
|
Added new send buffer class to avoid unecessary copying of outgoing data.
|
2005-09-14 19:33:16 +00:00 |
Arvid Norberg
|
8c8a375168
|
changed back the entry to use std::map for dictionaries
|
2005-09-11 09:58:34 +00:00 |
Arvid Norberg
|
a15f589341
|
fixed problem in piece_picker with filtered files, also optimzed it somewhat. Added more logging and added one test to the piece_picker test
|
2005-09-01 21:04:21 +00:00 |
Arvid Norberg
|
52e9eadb4e
|
rollback
|
2005-08-25 13:11:39 +00:00 |
spyhole
|
67527bec0b
|
rename http_settings class as http_proxy class
|
2005-08-24 23:08:26 +00:00 |
Arvid Norberg
|
84ddeacea0
|
*** empty log message ***
|
2005-08-23 09:59:56 +00:00 |
Arvid Norberg
|
356df1bd32
|
fixed choke-unchoke problem in policy
|
2005-08-18 20:38:03 +00:00 |
Arvid Norberg
|
6a09806ad4
|
*** empty log message ***
|
2005-08-17 22:59:21 +00:00 |