Arvid Norberg
|
fff87a6845
|
added m4 script for boost iostream and added ut_metadata to makefile
|
2007-12-08 22:02:59 +00:00 |
Arvid Norberg
|
bd38a584cc
|
removed debug output
|
2007-12-08 22:01:30 +00:00 |
Arvid Norberg
|
cfc4638df5
|
fixed bug when trackers are removed from torrent
|
2007-12-07 21:53:33 +00:00 |
Arvid Norberg
|
d695a44360
|
fixed bug where tracker wouldn't be announced when deleting files
|
2007-12-07 03:09:21 +00:00 |
Arvid Norberg
|
a7f6e3bccb
|
added abuse protection to DHT. nodes that hammer will be ignored
|
2007-12-04 02:53:10 +00:00 |
Arvid Norberg
|
20621cae02
|
added magnet-uri functions and a base32 decode function
|
2007-12-03 06:03:16 +00:00 |
Arvid Norberg
|
a7b5250058
|
move url_has_argument to escape_string and added unit tests
|
2007-12-02 19:10:45 +00:00 |
Arvid Norberg
|
9727634f09
|
added base32encode and moved it into escape_string.hpp
|
2007-12-02 18:34:37 +00:00 |
Arvid Norberg
|
f3d45fcfc1
|
initial support for ut_metadata
|
2007-12-02 04:16:51 +00:00 |
Arvid Norberg
|
b817412b90
|
fixed overflow bug in total_done() (as reported by MassaRoddel)
|
2007-11-30 06:14:45 +00:00 |
Arvid Norberg
|
02ed01d2c4
|
added first try of a mapped storage
|
2007-11-30 00:35:09 +00:00 |
Arvid Norberg
|
bfc4be1ca5
|
fixed #27
|
2007-11-28 02:54:46 +00:00 |
Arvid Norberg
|
e1d46c6821
|
fixed bug in socks5 implementation when using user/pass authentication
|
2007-11-28 00:14:08 +00:00 |
Arvid Norberg
|
1cc0118c9c
|
supports retry for web seeds that respond with 503
|
2007-11-27 03:37:47 +00:00 |
Arvid Norberg
|
77cea2eafc
|
added more asserts in session_impl::check_invariant
|
2007-11-27 02:46:19 +00:00 |
Arvid Norberg
|
254e4ffce4
|
added extra asserts in torrent
|
2007-11-26 23:08:59 +00:00 |
Arvid Norberg
|
0c5e8b57d0
|
web seed updates
|
2007-11-26 18:45:24 +00:00 |
Arvid Norberg
|
9d094245ba
|
improved web_seed test (now requires lighty) and fixed a bug in web_peer_connection
|
2007-11-25 23:11:29 +00:00 |
Arvid Norberg
|
81b9d5b6ef
|
made socks5 and socks4 streams ignore errors on close()
|
2007-11-25 19:09:00 +00:00 |
Arvid Norberg
|
c92fef5b69
|
simplified torrent_handle by using a macro and moving the big chunks of code into torrent (get_download_queue() and get_peer_info())
|
2007-11-25 18:48:43 +00:00 |
Arvid Norberg
|
a981943ea2
|
fix build problem when building with dht logging
|
2007-11-25 11:14:53 +00:00 |
Arvid Norberg
|
769d8aefe2
|
first version of 'part file' support. Can currently only be set when starting torrent
|
2007-11-25 10:47:05 +00:00 |
Arvid Norberg
|
b00096ad33
|
lsd and dht usage improvements
|
2007-11-25 09:33:26 +00:00 |
Arvid Norberg
|
d8537937c7
|
try to fix #103
|
2007-11-25 08:57:58 +00:00 |
Arvid Norberg
|
c18ae83146
|
added wait_for_alert() to session. If there is at least one alert in the queue, it returns the front one in the queue, if the queue is empty, it waits until a new alert is posted and returns that one, or returns 0 if the time expires first.
|
2007-11-25 08:18:57 +00:00 |
Arvid Norberg
|
29fa298d05
|
updated dht verbose logging to try to catch #176
|
2007-11-24 21:38:46 +00:00 |
Arvid Norberg
|
c929f4fb69
|
fix for systems where IPv6 sockets bound to INADDR_ANY also listens on IPv4 connections
|
2007-11-23 22:14:33 +00:00 |
Arvid Norberg
|
88e69d0edc
|
fix for when lsd, upnp or nat-pmp is started more than once
|
2007-11-23 21:11:31 +00:00 |
Arvid Norberg
|
4585264706
|
added Miro to the identifiable clients
|
2007-11-22 02:29:44 +00:00 |
Arvid Norberg
|
41ffc87d98
|
fixed typo
|
2007-11-20 23:19:30 +00:00 |
Arvid Norberg
|
fabfe6cd50
|
added scrape support
|
2007-11-20 22:46:27 +00:00 |
Arvid Norberg
|
55fac2518d
|
local peers no longer counts as incoming_connections
|
2007-11-19 18:05:47 +00:00 |
Arvid Norberg
|
b9073420fc
|
fixed incorrect node-id distance calculation in DHT
|
2007-11-19 07:21:38 +00:00 |
Arvid Norberg
|
2ed210fd8a
|
fixed assert, #164
|
2007-11-19 07:07:57 +00:00 |
Arvid Norberg
|
fd11e07a55
|
memory optimization to free piece hashes is now optional
|
2007-11-19 04:58:52 +00:00 |
Arvid Norberg
|
3489ccaebd
|
explicit lsd close fix
|
2007-11-19 02:24:07 +00:00 |
Arvid Norberg
|
f271a3b74b
|
include fixes in file.cpp
|
2007-11-18 07:27:40 +00:00 |
Arvid Norberg
|
a1a841a04d
|
http_connection fixes and unit test (not self contained yet, just like test_web_seed)
|
2007-11-18 04:12:35 +00:00 |
Arvid Norberg
|
d34bb2b8ca
|
lsd fix
|
2007-11-18 04:11:47 +00:00 |
Arvid Norberg
|
22331edcd1
|
fixed missing include in entry.cpp
|
2007-11-18 00:56:43 +00:00 |
Arvid Norberg
|
7be29d9b84
|
applied 'logpath' patch from #202
|
2007-11-16 21:21:28 +00:00 |
Arvid Norberg
|
50eb3c62c8
|
fixed typo from [1728]
|
2007-11-16 19:38:58 +00:00 |
Arvid Norberg
|
3c8587f919
|
fixed bug where removing all trackers would crash libtorrent. Fixes #205
|
2007-11-16 19:35:09 +00:00 |
Arvid Norberg
|
2ea9fb2851
|
improved error handling when deleting files
|
2007-11-16 19:04:43 +00:00 |
Arvid Norberg
|
b832fdb48a
|
http_connection shutdown fixes
|
2007-11-15 23:55:30 +00:00 |
Arvid Norberg
|
861c54eec4
|
fixed potential call to empty boost.function
|
2007-11-15 22:33:58 +00:00 |
Arvid Norberg
|
bab4695028
|
added test for replace_trackers and removed incorrect assert
|
2007-11-15 10:11:39 +00:00 |
Arvid Norberg
|
95d09070fb
|
cancels more async operations on shutdown
|
2007-11-11 19:09:29 +00:00 |
Arvid Norberg
|
41ef204f26
|
closes bandwidth rate limiters
|
2007-11-08 07:52:41 +00:00 |
Arvid Norberg
|
80e8aa0a18
|
add_extension on torrent_handle, to add an extension on an already running torrent
|
2007-11-08 01:45:35 +00:00 |
Arvid Norberg
|
8868469f2f
|
warning fix
|
2007-11-07 01:38:17 +00:00 |
Arvid Norberg
|
b3c40ea7e8
|
piece picker assert fix
|
2007-11-04 19:10:58 +00:00 |
Arvid Norberg
|
53c125a9b3
|
made entry not require exceptions
|
2007-11-02 02:02:52 +00:00 |
Arvid Norberg
|
fd51412b70
|
shutdown improvements. Fixes stall
|
2007-11-02 00:27:53 +00:00 |
Arvid Norberg
|
c982ba5d90
|
encryption fix
|
2007-10-31 23:51:45 +00:00 |
Arvid Norberg
|
3468e97b24
|
ut_pex sends peers sooner
|
2007-10-31 20:30:09 +00:00 |
Arvid Norberg
|
43d3fc9a28
|
fixed warning
|
2007-10-31 12:04:05 +00:00 |
Arvid Norberg
|
1a280e31fa
|
cleanup. changed the connection map into a set of peer_connections. moved the policy object into the torrent (as opposed to being a pointer). Fixes issues with multiple peers on the same IP. Reduces some lookups.
|
2007-10-31 09:48:20 +00:00 |
Arvid Norberg
|
0439399169
|
replaced std::vector with buffer
|
2007-10-30 17:30:49 +00:00 |
Arvid Norberg
|
df7e01ff8a
|
broadcast socket fix
|
2007-10-30 10:07:26 +00:00 |
Arvid Norberg
|
eea82821d2
|
fixed missing initialization in piece_manager
|
2007-10-30 06:50:08 +00:00 |
Arvid Norberg
|
70810cb7e9
|
dht_state() no longer asserts on the dht being active. It just returns an empty state if it isn't
|
2007-10-29 16:18:37 +00:00 |
Arvid Norberg
|
79d4191ef5
|
attempt to fix stall on exit where some connections weren't closed
|
2007-10-29 00:29:43 +00:00 |
Arvid Norberg
|
9b041b1c94
|
fixed #191
|
2007-10-27 22:01:32 +00:00 |
Arvid Norberg
|
3c05e0fa41
|
attempt to fix #190
|
2007-10-27 21:21:44 +00:00 |
Arvid Norberg
|
8f07edbed2
|
asio handlers are now properly cancelled when destructing the session object, race conditions are avoided by waiting for the io service to complete all tasks
|
2007-10-26 07:14:19 +00:00 |
Arvid Norberg
|
fe5e88b548
|
natpmp close fix
|
2007-10-26 01:30:12 +00:00 |
Arvid Norberg
|
759a5a4ad9
|
fixed lsd typo
|
2007-10-26 01:28:42 +00:00 |
Arvid Norberg
|
33e8b670fc
|
lsd close fix
|
2007-10-26 01:27:34 +00:00 |
Arvid Norberg
|
636d5f2005
|
upnp fixes and more debug asserts and more logging. Might fix #167
|
2007-10-26 00:47:30 +00:00 |
Arvid Norberg
|
a1a564ef51
|
fixed debug issue with disk io thread
|
2007-10-23 22:11:17 +00:00 |
Arvid Norberg
|
49e71de64a
|
improved web seed logging
|
2007-10-23 22:11:02 +00:00 |
Arvid Norberg
|
f054ae7c2d
|
made the handshake timeout configurable and defaults to 10 seconds
|
2007-10-23 00:19:28 +00:00 |
Arvid Norberg
|
fcc238e801
|
lowered piece timeout and sends cancels for pieces when a time out occurs
|
2007-10-22 20:58:42 +00:00 |
Arvid Norberg
|
d3bce762c5
|
added timeout logging in verbose logging mode
|
2007-10-22 04:56:09 +00:00 |
Arvid Norberg
|
92d29334fa
|
cleanup. doesn't allocate sockets on the heap for no reason anymore
|
2007-10-22 04:17:26 +00:00 |
Arvid Norberg
|
31e5716b03
|
fixed #186 and added a better test
|
2007-10-21 00:19:37 +00:00 |
Arvid Norberg
|
a00f27b7ec
|
some extra peer logging + fix for previous invariant check
|
2007-10-18 04:18:09 +00:00 |
Arvid Norberg
|
b032c26bf0
|
adds invariant check to make sure pieces that are complete are also checked. adds a debug function in the disk_io_thread. Fixes a problem with a failing disk write that would not clear the block for re-download. Adds some extra session logging
|
2007-10-18 00:32:16 +00:00 |
Arvid Norberg
|
d0ef85e802
|
fixed issue with failing async_accept on windows
|
2007-10-15 19:02:54 +00:00 |
Arvid Norberg
|
1699fa4652
|
fast reconnect fixes
|
2007-10-15 05:03:29 +00:00 |
Arvid Norberg
|
282edb5861
|
windows vista detection to set the default half-open connection limit even lower
|
2007-10-15 01:15:58 +00:00 |
Arvid Norberg
|
db133610e1
|
fixes #182
|
2007-10-13 07:54:18 +00:00 |
Arvid Norberg
|
59c7f5bfbb
|
added option to delete files from disk as a torrent is removed
|
2007-10-13 03:33:33 +00:00 |
Arvid Norberg
|
c6c77d8efc
|
fixed so that peers only get one fast-reconnect
|
2007-10-12 01:12:30 +00:00 |
Arvid Norberg
|
64056a667f
|
fixed encrypted support flag bug
|
2007-10-11 22:02:00 +00:00 |
Arvid Norberg
|
f8d026efbc
|
fixed typo
|
2007-10-10 19:02:42 +00:00 |
Arvid Norberg
|
28113c9c42
|
parole mode improvement. Doesn't clear out the request queue when choked by a peer on parole anymore
|
2007-10-10 02:27:55 +00:00 |
Arvid Norberg
|
0681d3fd61
|
fixed another fast resume bug
|
2007-10-09 07:26:57 +00:00 |
Arvid Norberg
|
ddc9511bbb
|
removed useless asserts that triggered warnings on intel
|
2007-10-09 02:34:05 +00:00 |
Arvid Norberg
|
ffe2e75882
|
added another alert to cover all cases where the torrent has to be checked at start, and tell the user why. Fixed a problem with the resume data generation introduced in last storage check-in
|
2007-10-09 00:25:01 +00:00 |
Arvid Norberg
|
4d19f7ff0f
|
storage optimization. introduced a nother allocation mode: sparse. Now there is allocate, compact and sparse. Unless compact is used, the memory structures used to keep track of pieces are no longer allocated. sparse storage mode is now the default
|
2007-10-08 20:01:36 +00:00 |
Arvid Norberg
|
b705933901
|
fixed dead lock and fixed a problem in recent shutdown cleanup
|
2007-10-07 23:20:38 +00:00 |
Arvid Norberg
|
28274bf1bd
|
improved shutdown behavior. decreased tracker timeouts to 5 seconds. added more logging
|
2007-10-07 18:06:56 +00:00 |
Arvid Norberg
|
a8a74c3513
|
fixes files that were left open in write mode by mistake
|
2007-10-07 01:29:38 +00:00 |
Arvid Norberg
|
bbd170562e
|
policy invariant check fix
|
2007-10-06 21:15:44 +00:00 |
Arvid Norberg
|
b9fcef5941
|
fixed static assert being hit on linux systems
|
2007-10-06 17:27:53 +00:00 |
Arvid Norberg
|
f5f658f8fd
|
fast extension fixes
|
2007-10-05 22:45:24 +00:00 |
Arvid Norberg
|
64057e3fb0
|
torrent fix
|
2007-10-05 17:31:02 +00:00 |
Arvid Norberg
|
966800cd5b
|
replaced the assert macro to TORRENT_ASSERT instead of hi-jacking assert.
|
2007-10-05 00:30:00 +00:00 |