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 |
Arvid Norberg
|
41810b1166
|
merged back the asio development branch
|
2006-04-25 21:04:48 +00:00 |
Arvid Norberg
|
410af930a7
|
no longer expects requests to be handled in fifo order
|
2006-02-23 10:53:07 +00:00 |
Arvid Norberg
|
5ea9d2eab4
|
removed special case where interval is set to 2 minutes when num peers == 0 in tracker response
|
2006-02-19 08:28:31 +00:00 |
Arvid Norberg
|
c3e4624e42
|
removed incorrect assert
|
2006-01-24 15:59:48 +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
|
2d70a9b5bf
|
some more steps in the direction of getting it to build on vc7
|
2006-01-10 00:38:52 +00:00 |
Arvid Norberg
|
c64393cb0e
|
more vc7 fixes and unicode fix in file.cpp
|
2006-01-09 00:07:00 +00:00 |
Arvid Norberg
|
01820e5579
|
more patches in order to get it to build on vc7
|
2006-01-08 22:55:02 +00:00 |
Arvid Norberg
|
bad06d0c4e
|
fixed adl usage to work with vc7 and removed inclusion of lambda header, to make it build in vc7
|
2006-01-07 15:41:20 +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
|
3888b5232f
|
fixed entry::print() to work correctly with binary strings
|
2006-01-06 21:48:49 +00:00 |
Arvid Norberg
|
e810ebaf1f
|
fixed some bind-statements to build on vc7
|
2006-01-06 21:36:17 +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
|
2e851505f8
|
merged fixes from release branch
|
2005-11-22 00:18:39 +00:00 |
Arvid Norberg
|
477d5ec238
|
merged in differences from release branch
|
2005-11-18 01:12:21 +00:00 |
Arvid Norberg
|
d4f85cb8e2
|
more asserts in order to catch an error I can't reproduce
|
2005-11-09 12:40:07 +00:00 |
Arvid Norberg
|
0ae3b24bd2
|
potentially cured the symptoms of a bug where a torrent can be destructed without having all its connections closed first
|
2005-11-08 00:56:26 +00:00 |
Arvid Norberg
|
7d5285610c
|
wrapped a line that was too long
|
2005-11-08 00:55:33 +00:00 |
Arvid Norberg
|
75dafc5d1b
|
peers that throw in the connection attempt are now removed from the policy's list. added more asserts to session. disabled SIGPIPE on darwin
|
2005-11-07 02:18:39 +00:00 |
Arvid Norberg
|
b065130762
|
fixed calls to process_connection_queue() that were missing
|
2005-11-05 16:03:16 +00:00 |
Arvid Norberg
|
8c281cdb17
|
fixed bug found by Massaroddel. Some code was accidentily put inside a condition depending on the alert level
|
2005-11-05 11:37:51 +00:00 |
Arvid Norberg
|
822ac4a283
|
fixed some bugs in session.cpp where it removed peers from the selector prematurely. made the num_peers in the torrent_status only count connected peers, and updated the docs accordingly
|
2005-11-05 10:56:47 +00:00 |
Arvid Norberg
|
ec7eb0ebd6
|
more asserts in peer_connection
|
2005-11-04 00:14:55 +00:00 |
Arvid Norberg
|
051aa5dbe0
|
fixed an incorrect assert and added another one in the invariant check
|
2005-11-03 22:55:51 +00:00 |
Arvid Norberg
|
e5f73f4563
|
merged fixes from release branch
|
2005-11-02 23:24:18 +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
|
3f38e4c38d
|
removed debug output that was left in by mistake in last check in
|
2005-11-02 19:11:30 +00:00 |
Arvid Norberg
|
728b0f219b
|
merged fixes from release branch
|
2005-11-02 16:46:45 +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
|
6d7236fbea
|
fixed unchecked input
|
2005-10-18 18:16:36 +00:00 |
Arvid Norberg
|
9d426441f1
|
more fixes for the windows file_size function
|
2005-10-17 21:09:42 +00:00 |
Arvid Norberg
|
c84a71c1ad
|
*** empty log message ***
|
2005-10-17 21:00:57 +00:00 |
Arvid Norberg
|
ac2c1fba0c
|
fixed incorrect function name
|
2005-10-17 20:58:37 +00:00 |
Arvid Norberg
|
51052fa2b1
|
fixed incorrect assert in file_win.cpp, added windows-unicode function for file_size
|
2005-10-17 20:37:40 +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
|
19259170d7
|
fixed problem when using metadata extension
|
2005-10-15 23:07:39 +00:00 |
Arvid Norberg
|
a44c3c7811
|
fixed bug where upload ratio was not being respected
|
2005-10-15 17:21:49 +00:00 |
Arvid Norberg
|
ea0e803fff
|
removed some debug logging
|
2005-10-13 21:51:59 +00:00 |
Arvid Norberg
|
950c9bd879
|
optimizations to entry (using std::maps find instead of linear search)
|
2005-10-13 21:50:59 +00:00 |
Arvid Norberg
|
c7c784170f
|
fix for unkown clients using shadow's style
|
2005-10-13 21:37:32 +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
|
371c34ea7e
|
updated client identification
|
2005-10-05 14:06:39 +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
|
b80c8720e3
|
fixed incorrect assert
|
2005-10-01 16:18:36 +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
|
cbcf8df504
|
modified some assertions in policy
|
2005-10-01 11:20:47 +00:00 |
Arvid Norberg
|
da6afef0ae
|
*** empty log message ***
|
2005-10-01 10:50:07 +00:00 |
Arvid Norberg
|
7cfc0b2e44
|
fixed bug introduced when adding the separate request queue
|
2005-09-29 23:31:39 +00:00 |
Michael Wojciechowski
|
394c046fad
|
Removed buffer.cpp, it does not exist
|
2005-09-29 16:31:24 +00:00 |
Arvid Norberg
|
201793bc51
|
fixed assert when choking disconnecting peers
|
2005-09-29 08:56:13 +00:00 |
Arvid Norberg
|
8ef7f58d16
|
fixed bug where some blocks weren't restored in the piece picker when the peer they were requested from disconnected. made the invariant check on policy work
|
2005-09-28 23:58:55 +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
|
fa1e076d34
|
added more checks in the invariant check of policy
|
2005-09-28 20:22:34 +00:00 |
Arvid Norberg
|
7a4750d540
|
added another assert in policy
|
2005-09-28 18:32:05 +00:00 |
Arvid Norberg
|
daf7314476
|
fixed slightly incorrect unchoke condition
|
2005-09-28 18:07:00 +00:00 |
Arvid Norberg
|
8cfc98b976
|
added more invariant checks to policy
|
2005-09-28 16:12:47 +00:00 |
Arvid Norberg
|
aaf6f0f19a
|
fixed two bugs related to http proxy requests and ports
|
2005-09-27 12:42:30 +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
|
f824714b0e
|
added a test for storage and fixed a bug in piece checking
|
2005-09-11 09:48:05 +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
|
e930580f13
|
*** empty log message ***
|
2005-08-18 23:55:32 +00:00 |
Arvid Norberg
|
356df1bd32
|
fixed choke-unchoke problem in policy
|
2005-08-18 20:38:03 +00:00 |
Arvid Norberg
|
df4466cb86
|
made it build on cygwin
|
2005-08-18 11:20:17 +00:00 |
Arvid Norberg
|
6a09806ad4
|
*** empty log message ***
|
2005-08-17 22:59:21 +00:00 |
Arvid Norberg
|
e509d8d30c
|
fix
|
2005-08-17 21:21:28 +00:00 |
Arvid Norberg
|
a29bf51908
|
*** empty log message ***
|
2005-08-17 02:38:34 +00:00 |
Arvid Norberg
|
c2b496f472
|
*** empty log message ***
|
2005-08-17 01:57:30 +00:00 |
Arvid Norberg
|
cc1d4dfdde
|
prefers name.utf-8 and path.utf-8 if they exists
|
2005-08-17 01:35:37 +00:00 |