Arvid Norberg
|
fc1b44b560
|
improve error reporting of lazy_bdecode to use error_code
|
2010-10-28 04:01:59 +00:00 |
Arvid Norberg
|
d737dd051d
|
added support for chunked encoding for web seeds
|
2010-10-27 06:39:18 +00:00 |
Arvid Norberg
|
4968192654
|
revert bad change to &downloaded= tracker announce semantics
|
2010-10-26 16:39:20 +00:00 |
Arvid Norberg
|
07f1b74291
|
fixed logging build
|
2010-10-24 08:06:58 +00:00 |
Arvid Norberg
|
2e71bc818c
|
one last stats fix
|
2010-10-24 04:15:10 +00:00 |
Arvid Norberg
|
786af218e1
|
fixed bug in stat patch
|
2010-10-24 02:45:47 +00:00 |
Arvid Norberg
|
6387910a42
|
use rolling average instead of a history and actual average for stats. Saves memory
|
2010-10-24 01:22:10 +00:00 |
Arvid Norberg
|
84d81d3a82
|
fixed up link test to make sure library and client are using the same configuration, also factored out common code from session constructor
|
2010-10-24 00:44:07 +00:00 |
Arvid Norberg
|
9a461c5e46
|
reduce some warnings
|
2010-10-22 05:39:32 +00:00 |
Arvid Norberg
|
5efd0a9c20
|
i2p fix (broke with updated ssl code)
|
2010-10-22 05:02:42 +00:00 |
Arvid Norberg
|
cadd4f1b8d
|
anti-leach seeding unchoke mode
|
2010-10-21 05:53:13 +00:00 |
Arvid Norberg
|
9b50acbe15
|
potential string handling issue in upnp
|
2010-10-20 05:14:50 +00:00 |
Arvid Norberg
|
517aaf526b
|
fixed assert when shutting down with DHT enabled
|
2010-10-19 03:43:11 +00:00 |
Arvid Norberg
|
4b6a73417d
|
fixed error reporting issue in disk I/O thread
|
2010-10-18 07:38:14 +00:00 |
Arvid Norberg
|
7aa9352dd0
|
fixed file allocation issue on linux. fixed filname encoding issue with iconv()
|
2010-10-18 07:15:57 +00:00 |
Arvid Norberg
|
eba657d8ad
|
reports redundant downloads to tracker, fixed downloaded calculation to be more stable when not including redundant. Improved redundant data accounting to be more accurate
|
2010-10-18 00:10:33 +00:00 |
Arvid Norberg
|
973a1c45f2
|
fixed a bug in http_seed_connection::downloading_piece_progress which would sometimes trigger an assert
|
2010-10-17 19:19:17 +00:00 |
Arvid Norberg
|
643a49f022
|
optimized session/torrent startup time (shaved off about 2 seconds)
|
2010-10-17 18:36:37 +00:00 |
Arvid Norberg
|
977c2d34dd
|
log ratelimits in peer bandwidth request entry
|
2010-10-17 17:39:11 +00:00 |
Arvid Norberg
|
3948ca3179
|
fixed bugs in http seed connection and added unit test for it
|
2010-10-17 16:15:32 +00:00 |
Arvid Norberg
|
559c4bdf65
|
fixed some msvc warnings
|
2010-10-16 15:24:45 +00:00 |
Arvid Norberg
|
7be0604877
|
fixed error reporting when fallocate fails
|
2010-10-14 00:58:08 +00:00 |
Arvid Norberg
|
bd1f0726ce
|
fix const issue
|
2010-10-12 09:01:51 +00:00 |
Arvid Norberg
|
7bd25edc9d
|
generalize SSL support to also include web seeds (and in theory regular peers)
|
2010-10-12 08:57:43 +00:00 |
Arvid Norberg
|
43b29c3627
|
support web seeds in create_torrent and fix issue when building without deprecated functions
|
2010-10-10 21:06:35 +00:00 |
Arvid Norberg
|
72322dbc10
|
allow extending web seeds with extra headers and custom authorization schemese
|
2010-10-10 18:43:58 +00:00 |
Arvid Norberg
|
3b550ece98
|
don't save settings that are set to the default value
|
2010-10-10 02:22:57 +00:00 |
Arvid Norberg
|
e494cb219b
|
made seeding choking algorithm configurable
|
2010-10-09 21:11:03 +00:00 |
Arvid Norberg
|
21cbd1fac4
|
deprecated setters for max connections, max half-open, upload and download rates and unchoke slots. These are now set through session_settings
|
2010-10-09 19:09:38 +00:00 |
Arvid Norberg
|
606796841f
|
added comment
|
2010-10-07 01:05:53 +00:00 |
Arvid Norberg
|
087552f52a
|
fixed another assert in disconnect
|
2010-10-04 15:49:30 +00:00 |
Arvid Norberg
|
440abdfaf2
|
optimistic unchoke fix
|
2010-10-04 04:06:14 +00:00 |
Arvid Norberg
|
e1948fa203
|
make the invariant check less expensive
|
2010-10-04 03:26:42 +00:00 |
Arvid Norberg
|
7d94fff11a
|
fixed one more assert
|
2010-10-04 03:06:51 +00:00 |
Arvid Norberg
|
f11b1ce6a0
|
fixed failing invariant check in peer_connection's download queue
|
2010-10-03 22:06:53 +00:00 |
Arvid Norberg
|
8e4addf2c5
|
improved set_max_connections to immediately disconnect peers to match the new limit
|
2010-10-03 10:07:38 +00:00 |
Arvid Norberg
|
4600dae248
|
more attempts to fix and catch invariant failure in download_queue
|
2010-10-03 01:22:11 +00:00 |
Arvid Norberg
|
d0dab83104
|
potential fix for long standing invariant check failure
|
2010-10-02 21:01:11 +00:00 |
Arvid Norberg
|
a7c87e14dd
|
added functions to query an individual peer's upload and download limit
|
2010-10-01 16:09:22 +00:00 |
Arvid Norberg
|
cd08a61f35
|
expose the full peer list size through session_status
|
2010-10-01 04:07:38 +00:00 |
Arvid Norberg
|
1b308a0ca8
|
fixed UPnP shutdown issue
|
2010-09-30 08:57:12 +00:00 |
Arvid Norberg
|
737618c989
|
fixed UPnP DeletePortmapping issue
|
2010-09-30 07:06:54 +00:00 |
Arvid Norberg
|
29c5b99bba
|
fixed natpmp retry issue
|
2010-09-30 06:33:42 +00:00 |
Arvid Norberg
|
554e329f57
|
remove udp_socket mutex
|
2010-09-25 21:39:27 +00:00 |
Arvid Norberg
|
e6d400084e
|
fix to start async operations inside the network thread to maintain thread safety within asio
|
2010-09-25 20:07:27 +00:00 |
Arvid Norberg
|
f1a7bc3f01
|
fixed typo
|
2010-09-25 17:58:55 +00:00 |
Arvid Norberg
|
b1de30ffae
|
fix alert bug introduced when adding support for event=paused
|
2010-09-25 17:48:51 +00:00 |
Arvid Norberg
|
c341f15f71
|
make the assert macro also be able to print a value
|
2010-09-25 17:46:13 +00:00 |
Arvid Norberg
|
a1567458ca
|
seeding torrents should not send event=paused
|
2010-09-24 15:52:40 +00:00 |
Arvid Norberg
|
2e4d370942
|
no peers from tracker when stopping is no longer an error
|
2010-09-23 16:38:50 +00:00 |
Arvid Norberg
|
fc0916d450
|
fixed logging build
|
2010-09-22 16:59:28 +00:00 |
Arvid Norberg
|
d894dd43d8
|
improved web seed retry behavior
|
2010-09-21 06:34:13 +00:00 |
Arvid Norberg
|
d590938856
|
fixed announce issue
|
2010-09-11 04:16:29 +00:00 |
Arvid Norberg
|
4aa809e558
|
potential 64 bit build issue related to zlib
|
2010-09-07 03:37:33 +00:00 |
Arvid Norberg
|
3fb9fcab9e
|
full support for bep-21 (event=paused)
|
2010-09-06 04:02:15 +00:00 |
Arvid Norberg
|
b6f92aa981
|
added initial support for share-mode
|
2010-09-05 16:01:36 +00:00 |
Arvid Norberg
|
a8cc326df6
|
minor redundant connection fixes
|
2010-09-05 04:31:13 +00:00 |
Arvid Norberg
|
a17f4e4e71
|
fixed bug where event=completed would not be sent if it violated the min-interval
|
2010-09-01 03:14:12 +00:00 |
Arvid Norberg
|
29e45c8cbb
|
promote some piece picker invariant checks to 'expensive'
|
2010-09-01 03:00:15 +00:00 |
Arvid Norberg
|
18a3d545b0
|
fixed potential hang issue when receiving faster than we can handle the incoming messages
|
2010-08-28 19:44:50 +00:00 |
Arvid Norberg
|
e2ca3e1545
|
rate limiter fix
|
2010-08-27 14:52:42 +00:00 |
Arvid Norberg
|
02668e8f75
|
fix message posting to work from multiple threads
|
2010-08-26 17:00:24 +00:00 |
Arvid Norberg
|
fb8ebc53dd
|
save resume data every 15 minutes no matter what
|
2010-08-25 06:38:04 +00:00 |
Arvid Norberg
|
b44f71e217
|
post alerts for socks failures. fix unit tests
|
2010-08-25 06:22:49 +00:00 |
Arvid Norberg
|
b7b542f587
|
optimized file_pool lookups and string handling
|
2010-08-23 08:48:02 +00:00 |
Arvid Norberg
|
b747cdab8a
|
merged all proxy settings into a single one
|
2010-08-23 06:27:18 +00:00 |
Arvid Norberg
|
2736a3b7ff
|
fixed file checking bug
|
2010-08-23 05:51:12 +00:00 |
Arvid Norberg
|
80fbe4d5ef
|
fixed build issues
|
2010-08-22 17:47:07 +00:00 |
Arvid Norberg
|
f70fbb45c0
|
optimized struct layout of torrent_info. removed boost.date_type types from public interface (replaced by time_t)
|
2010-08-21 22:10:16 +00:00 |
Arvid Norberg
|
afd5567969
|
session::set_tracker_proxy fix for udp trackers
|
2010-08-21 22:07:29 +00:00 |
Arvid Norberg
|
d1d6814e2f
|
drop proxied incoming packets if the source IP doesn't match the proxy
|
2010-08-20 07:13:05 +00:00 |
Arvid Norberg
|
bdee276a98
|
fixed proxy support for udp trackers
|
2010-08-20 07:01:11 +00:00 |
Arvid Norberg
|
ad07883228
|
use the same logic to post resume data failed messages as to determine whether to do a full check or not
|
2010-08-19 16:10:31 +00:00 |
Arvid Norberg
|
a85f1f5c61
|
improved logging
|
2010-08-18 17:14:40 +00:00 |
Arvid Norberg
|
0f8d75c607
|
removed invalid assert
|
2010-08-13 15:55:52 +00:00 |
Arvid Norberg
|
ac3444c71e
|
fixed calling blocking functions simultaneously from multiple threads
|
2010-08-08 17:17:33 +00:00 |
Arvid Norberg
|
ceb5700588
|
fix socks5 error handling
|
2010-08-08 04:11:59 +00:00 |
Arvid Norberg
|
fd5f1bf80b
|
improved SOCKS5 support
|
2010-08-03 09:08:37 +00:00 |
Arvid Norberg
|
f27e24ba98
|
fixed rate limit bug for DHT
|
2010-07-28 18:43:56 +00:00 |
Arvid Norberg
|
ef48c92a4e
|
fixed SOCKS5 bug for routing UDP packets
|
2010-07-25 01:31:15 +00:00 |
Arvid Norberg
|
b0a3b2545b
|
fixed bug in torrent_handle::write_resume_data since the session mutex was removed
|
2010-07-24 17:10:45 +00:00 |
Arvid Norberg
|
7c5ca7712a
|
fixed bug on windows when verifying resume data for a torrent where one of its directories had been removed
|
2010-07-24 07:06:45 +00:00 |
Arvid Norberg
|
aa1da121bc
|
attempt to support disk IO priority on linux
|
2010-07-24 02:54:42 +00:00 |
Arvid Norberg
|
c6a6fe1c07
|
fixed typo
|
2010-07-23 19:11:00 +00:00 |
Arvid Norberg
|
9109af0ce1
|
fix for disk job queue size measurement
|
2010-07-23 16:15:14 +00:00 |
Arvid Norberg
|
67110ec0a3
|
vs2010 build fixes
|
2010-07-22 16:49:40 +00:00 |
Arvid Norberg
|
72060e8676
|
removed DHT mutex since everything is in the network thread now
|
2010-07-19 05:27:33 +00:00 |
Arvid Norberg
|
9baa280b52
|
added asserts to catch broken peer allocations and frees as well as disk buffer corruption
|
2010-07-18 19:28:22 +00:00 |
Arvid Norberg
|
f93960884c
|
ignore errors when setting broadcast option
|
2010-07-18 14:58:07 +00:00 |
Arvid Norberg
|
eed5ec97a6
|
fix issue with UDP socket closing before UDP trackers having a chance of sending stopped event
|
2010-07-18 02:49:26 +00:00 |
Arvid Norberg
|
0c7b5ab3da
|
fix to tracker announce code
|
2010-07-17 23:32:17 +00:00 |
Arvid Norberg
|
0dd925ef14
|
fixed bug in network interface bind code from multi-home support patch
|
2010-07-17 18:32:06 +00:00 |
Arvid Norberg
|
64682072d8
|
save last_download,last_upload and last_scrape states
|
2010-07-17 07:25:28 +00:00 |
Arvid Norberg
|
1e70456f58
|
improved support for multi-homed clients
|
2010-07-17 07:13:14 +00:00 |
Arvid Norberg
|
4c6be42b74
|
added feature to not count downloaded bytes from web seeds in stats
|
2010-07-15 06:27:44 +00:00 |
Arvid Norberg
|
89ca5a157a
|
fixed typos
|
2010-07-15 06:02:58 +00:00 |
Arvid Norberg
|
b3f57ac293
|
added incoming lsd alert
|
2010-07-15 05:56:29 +00:00 |
Arvid Norberg
|
aa25ed00c6
|
fix force-reannounce and tracker retry issue
|
2010-07-15 05:16:06 +00:00 |
Arvid Norberg
|
21e2894a4d
|
added asserts to peer allocation management
|
2010-07-15 02:27:12 +00:00 |
Arvid Norberg
|
c4fac3b91a
|
fixed incorrect assert
|
2010-07-15 01:46:50 +00:00 |
Arvid Norberg
|
beafa4f3e0
|
add some more potential error codes that should cause the torrent check to skip the file
|
2010-07-15 01:32:59 +00:00 |
Arvid Norberg
|
97afe3fca8
|
added option to set file priorities when adding torrents
|
2010-07-15 01:14:36 +00:00 |
Arvid Norberg
|
a3d95677b0
|
fixed build errors from last check-in
|
2010-07-14 07:38:35 +00:00 |
Arvid Norberg
|
4e576f93fd
|
removed the session mutex for improved performance
|
2010-07-14 04:16:38 +00:00 |
Arvid Norberg
|
3310198dae
|
added upload and download activity timer stats for torrents
|
2010-07-08 19:29:38 +00:00 |
Arvid Norberg
|
079109f657
|
move handling of upload_only message to after plugins has a chance to react
|
2010-07-08 00:02:38 +00:00 |
Arvid Norberg
|
70ea511409
|
fixed rate limited udp socket timer issue
|
2010-07-03 02:57:21 +00:00 |
Arvid Norberg
|
9cec6a6255
|
fixed iterator bug introduced when merging the udp trackers over to use the main udp socket
|
2010-06-30 07:21:34 +00:00 |
Arvid Norberg
|
fb3049a0eb
|
fixed rare crash when purging the peer list
|
2010-06-28 01:30:59 +00:00 |
Arvid Norberg
|
b3128685d9
|
replace &x[0] with x.c_str()
|
2010-06-28 01:12:54 +00:00 |
Arvid Norberg
|
339b0019a4
|
fixed typo
|
2010-06-26 17:58:04 +00:00 |
Arvid Norberg
|
19c9237ffc
|
fixed crash in on_disk_queue and in on_receive_udp
|
2010-06-26 17:09:37 +00:00 |
Arvid Norberg
|
d3970f62a3
|
fixed invalid assert in session_impl::recalculate_unchoke_slots()
|
2010-06-25 14:14:36 +00:00 |
Arvid Norberg
|
717c7ba962
|
fixed bug where ignore resume timestamps would not update the disk io thread
|
2010-06-25 14:06:28 +00:00 |
Arvid Norberg
|
a0cef76bf2
|
fixed race condition around m_abort in session_impl
|
2010-06-24 21:43:00 +00:00 |
Arvid Norberg
|
f981f6438e
|
fixed typo in recent metadata-send buffer fix
|
2010-06-24 17:39:59 +00:00 |
Arvid Norberg
|
06190d8920
|
fixed bug in web_peer_connection which could cause a hang when downloading from web servers
|
2010-06-22 18:09:04 +00:00 |
Arvid Norberg
|
996c68dfa7
|
timer fix
|
2010-06-21 05:45:45 +00:00 |
Arvid Norberg
|
69001e6a6b
|
fixed bug in metadata extensions combined with encryption
|
2010-06-18 05:44:08 +00:00 |
Arvid Norberg
|
b882914461
|
refactored socket reading code to not use async. operations unnecessarily
|
2010-06-18 04:43:20 +00:00 |
Arvid Norberg
|
26c4a819c8
|
removed the reuse-address flag on the listen socket
|
2010-06-17 17:14:56 +00:00 |
Arvid Norberg
|
19df3dbc2f
|
fixed bug where local peer discovery and DHT wouldn't be announced to without trackers
|
2010-06-17 17:01:28 +00:00 |
Arvid Norberg
|
93bdc61410
|
fixed bug in bdecoder
|
2010-06-15 17:00:23 +00:00 |
Arvid Norberg
|
9ddf7f7cfa
|
add back support for ip filter files to client_test. add some logging when tracker IPs are filtered
|
2010-06-06 02:31:20 +00:00 |
Arvid Norberg
|
242392f895
|
added compiler warning when unicode isn't available
|
2010-06-06 01:18:58 +00:00 |
Arvid Norberg
|
df49e9d26b
|
made the struct layout of entry be the same in debug builds as release builds to make that part of the ABI stable
|
2010-06-06 00:47:39 +00:00 |
Arvid Norberg
|
6a5806bfd2
|
re-fixed the open_listen_port() issue
|
2010-06-01 02:04:00 +00:00 |
Arvid Norberg
|
cdf05a9c9c
|
moved UDP trackers over to use a single socket
|
2010-05-30 01:33:03 +00:00 |
Arvid Norberg
|
2f099e6103
|
fix open_listen_port call order
|
2010-05-27 16:20:08 +00:00 |
Arvid Norberg
|
2042593750
|
peer receive logic fix
|
2010-05-23 21:39:03 +00:00 |
Arvid Norberg
|
e4ef0b853e
|
don't reannounce on failure when shutting down
|
2010-05-23 21:27:04 +00:00 |
Arvid Norberg
|
39a166844e
|
fixed issue where trackers wouldn't tried immediately when the previous one failed
|
2010-05-17 02:06:30 +00:00 |
Arvid Norberg
|
f9ec9180ff
|
more disk cache cleanup optimizations
|
2010-05-16 23:14:47 +00:00 |
Arvid Norberg
|
ef0abcb359
|
move need_save_resume_data to when a piece is completed instead of when it's written to disk
|
2010-05-16 23:12:37 +00:00 |
Arvid Norberg
|
2b65d104c7
|
log send suggest message
|
2010-05-16 22:30:48 +00:00 |
Arvid Norberg
|
6bb24bea80
|
added feature to make asserts log to a file instead of breaking the process
|
2010-05-16 05:26:43 +00:00 |
Arvid Norberg
|
e07bad0686
|
optimized disk I/O cache clearing
|
2010-05-13 15:01:20 +00:00 |
Arvid Norberg
|
4ddf87c53e
|
fixed typo
|
2010-05-13 08:23:04 +00:00 |
Arvid Norberg
|
23ba8c8a72
|
fixed synchronization issue between download queue and piece picker
|
2010-05-13 06:29:33 +00:00 |
Arvid Norberg
|
1a0d33a592
|
reverted mistake
|
2010-05-11 05:11:08 +00:00 |
Arvid Norberg
|
962c83822e
|
updated project page
|
2010-05-11 04:49:45 +00:00 |
Arvid Norberg
|
126778d403
|
fix race condition caused by sharing udp socket and opening it in the session thread. Moved initialization to session constructor
|
2010-05-09 06:03:52 +00:00 |
Arvid Norberg
|
d1a7e0a581
|
fixed typo in previous check-in
|
2010-05-09 06:00:11 +00:00 |
Arvid Norberg
|
330f1a2785
|
fix to incoming-starts-paused torrent
|
2010-05-09 00:55:22 +00:00 |
Arvid Norberg
|
056b53ee08
|
fixed bug in udp tracker scrape response parsing
|
2010-05-08 20:51:26 +00:00 |
Arvid Norberg
|
2e34bef04c
|
spell correction
|
2010-05-06 23:56:54 +00:00 |
Arvid Norberg
|
08d145a6e9
|
added production assert mode
|
2010-05-06 02:18:08 +00:00 |
Arvid Norberg
|
85824b1924
|
fixed bug in the disk thread that could get triggered under heavy load
|
2010-05-05 05:44:45 +00:00 |
Arvid Norberg
|
24a3bbb985
|
optimize disk thread teardown for large read caches
|
2010-05-04 02:58:23 +00:00 |
Arvid Norberg
|
d0f2b0ade0
|
make tick interval configurable
|
2010-05-03 08:54:03 +00:00 |
Arvid Norberg
|
feaf4aa082
|
another attempt to fix tracker timer bug. Fixes issue where the tracker timer would be triggered repeatedly. Fixes bug where trackers loaded from resume data would get a fail limit of 3 (now they don't have a limit)
|
2010-05-03 08:24:30 +00:00 |
Arvid Norberg
|
9fd624ecb6
|
solaris build fixes
|
2010-05-02 22:26:43 +00:00 |
Arvid Norberg
|
cc3c515458
|
more vs10 build fixes
|
2010-05-02 06:29:52 +00:00 |
Arvid Norberg
|
1f44ec75a0
|
fixed bug in add_piece() that would trigger asserts
|
2010-05-01 17:47:28 +00:00 |
Arvid Norberg
|
c0635f0391
|
added some asserts to track down issue with peer counter in busy piece picker requests
|
2010-05-01 16:17:37 +00:00 |
Arvid Norberg
|
dce2edb6cc
|
fixed vs 2010 build
|
2010-04-30 19:08:16 +00:00 |
Arvid Norberg
|
d441c7eab2
|
recognizes more clients in identify_client()
|
2010-04-28 16:14:27 +00:00 |
Arvid Norberg
|
2705859bb4
|
fixed bug where trackers wouldn't be retried if they failed
|
2010-04-27 18:22:59 +00:00 |
Arvid Norberg
|
fb28835452
|
slight performance fix in disk elevator algorithm
|
2010-04-24 21:53:45 +00:00 |
Arvid Norberg
|
d1addf876a
|
added some asserts
|
2010-04-24 19:24:27 +00:00 |
Arvid Norberg
|
d7c30bc01b
|
fixed potential issue where a piece could be checked twice
|
2010-04-22 01:53:09 +00:00 |
Arvid Norberg
|
fea3bf2ced
|
fixed build issue on windows related to GetCompressedSize()
|
2010-04-18 02:50:22 +00:00 |
Arvid Norberg
|
56054fac58
|
another attempt to set peer send state when stalled on disk
|
2010-04-17 02:21:48 +00:00 |
Arvid Norberg
|
17b4cb027c
|
set the peer write state properly when stalled on disk
|
2010-04-16 19:14:30 +00:00 |
Arvid Norberg
|
d341343e35
|
added some clients to identify_client
|
2010-04-16 16:08:39 +00:00 |
Arvid Norberg
|
50c334660d
|
fixed typo in should_check_files()
|
2010-04-15 14:31:49 +00:00 |
Arvid Norberg
|
43aeb2d710
|
fixed deadlock when starting torrents with certain invalid tracker URLs
|
2010-04-15 03:29:34 +00:00 |
Arvid Norberg
|
225232906a
|
fixed disk I/O iterator bug
|
2010-04-14 22:02:49 +00:00 |
Arvid Norberg
|
2a55fe8c70
|
debug logging fixes
|
2010-04-14 18:52:13 +00:00 |
Arvid Norberg
|
1ee414f4b9
|
fixed iterator bug in disk I/O thread
|
2010-04-14 06:26:38 +00:00 |
Arvid Norberg
|
9a5f5562cb
|
improve web seed connection handling
|
2010-04-14 06:22:00 +00:00 |
Arvid Norberg
|
2e14cfca46
|
fix crash
|
2010-04-13 05:59:59 +00:00 |
Arvid Norberg
|
eeda665d06
|
report tracker errors in the tracker list
|
2010-04-13 04:37:39 +00:00 |
Arvid Norberg
|
384bfdec48
|
added anonymous mode to disable some particular features that might give away the user's and the client's identity
|
2010-04-13 04:30:34 +00:00 |
Arvid Norberg
|
8e3c5f45e3
|
initialize need save resume data to true to get the initial state (potentially allocated files) saved
|
2010-04-13 02:29:13 +00:00 |
Arvid Norberg
|
b5efe1c92a
|
added feature to ask a torrent if it needs to save its resume data or not
|
2010-04-12 00:36:31 +00:00 |
Arvid Norberg
|
62eef91338
|
added setting to ignore file modification time when loading resume files
|
2010-04-11 21:02:43 +00:00 |
Arvid Norberg
|
ef21d26257
|
don't assert on clients sending bad packets
|
2010-04-11 17:22:21 +00:00 |
Arvid Norberg
|
6851254fdf
|
fixed FIEMAP support on linux
|
2010-04-11 00:48:48 +00:00 |
Arvid Norberg
|
6975f4b350
|
fixed typo in asking for available amount of memory
|
2010-04-10 04:58:43 +00:00 |
Arvid Norberg
|
483112bb14
|
fix bug when accepting incoming connections to paused torrents
|
2010-04-09 05:54:36 +00:00 |
Arvid Norberg
|
c26d1631e0
|
fix bug in web and http seeds shutdown
|
2010-04-09 05:51:31 +00:00 |
Arvid Norberg
|
ef35360722
|
comment about posix_fallocate
|
2010-04-08 05:31:00 +00:00 |
Arvid Norberg
|
519d2e5819
|
clean up fallocate condition a bit
|
2010-04-08 05:09:11 +00:00 |
Arvid Norberg
|
c51e0a2a86
|
fixed inconsistency when creating torrents with symlinks
|
2010-04-01 00:44:29 +00:00 |
Arvid Norberg
|
a0a8c695ab
|
fixed typo
|
2010-03-31 04:22:48 +00:00 |
Arvid Norberg
|
310dd7d6f3
|
properly detect windows version to initialize half-open connection limit
|
2010-03-31 02:50:09 +00:00 |
Arvid Norberg
|
4c4c7f832a
|
fix for torrent announcing bug introduced when supporting fine grained control over sources torrents are announced to
|
2010-03-31 02:40:00 +00:00 |
Arvid Norberg
|
3ae927abb4
|
fix windows DLL build
|
2010-03-31 00:31:46 +00:00 |
Arvid Norberg
|
7e851818b1
|
support more fine-grained torrent states between which peer sources it announces too
|
2010-03-29 00:34:04 +00:00 |
Arvid Norberg
|
9977480f02
|
fixed bug in url encoder and in client test
|
2010-03-29 00:31:30 +00:00 |
Arvid Norberg
|
b4abe6677d
|
support for sha1 file-hashes
|
2010-03-27 15:51:30 +00:00 |
Arvid Norberg
|
c6f57ce5d7
|
support optional LSD IP broadcast
|
2010-03-26 17:45:16 +00:00 |
Arvid Norberg
|
8724b89499
|
never finalize pad files
|
2010-03-21 18:19:59 +00:00 |
Arvid Norberg
|
126ba1fd34
|
fixed issue with sign extend from 24 bits to 32 bits
|
2010-03-21 18:15:04 +00:00 |
Arvid Norberg
|
6c42e759c3
|
removed incorrect assert
|
2010-03-21 18:09:34 +00:00 |
Arvid Norberg
|
d1df643baf
|
msvc8 build fix
|
2010-03-21 17:41:17 +00:00 |
Arvid Norberg
|
8fa2f26217
|
fixed bug in is_complete for windows
|
2010-03-21 17:40:15 +00:00 |
Arvid Norberg
|
f28b9bb501
|
unbuffered mode for solaris
|
2010-03-21 17:26:21 +00:00 |
Arvid Norberg
|
686fc1a1c7
|
windows fixes
|
2010-03-21 02:13:56 +00:00 |
Arvid Norberg
|
786172455b
|
added save resume action to client_test. potential small optimization in resume data save function
|
2010-03-20 22:00:13 +00:00 |
Arvid Norberg
|
b78aca9a53
|
fixed logging build
|
2010-03-20 09:35:45 +00:00 |
Arvid Norberg
|
b2484ead10
|
only allocate a file if it's not already allocated (windows)
|
2010-03-20 08:18:49 +00:00 |
Arvid Norberg
|
c9f7ba495f
|
don't include symlink info by default in torrents
|
2010-03-20 07:30:34 +00:00 |
Arvid Norberg
|
3e77b161c2
|
made the send_buffer_watermark performance warning more meaningful
|
2010-03-20 02:46:33 +00:00 |
Arvid Norberg
|
8ee5268123
|
disable including 'mtime' in new torrents by default
|
2010-03-20 02:41:36 +00:00 |
Arvid Norberg
|
9435e84644
|
precaution: clear current_tracker in torrent::status()
|
2010-03-20 00:52:36 +00:00 |
Arvid Norberg
|
5224e0c340
|
complete_ago extension
|
2010-03-19 18:39:51 +00:00 |
Arvid Norberg
|
b874104fab
|
precaution fix
|
2010-03-17 19:01:08 +00:00 |
Arvid Norberg
|
7775457441
|
moved GeoIP destruction inside session lock
|
2010-03-16 07:00:23 +00:00 |
Arvid Norberg
|
2910a4a10c
|
dropped dependency on zlib
|
2010-03-16 06:14:22 +00:00 |
Arvid Norberg
|
edea865023
|
fix unloading of GeoIP database to not cause potential crashes while shutting down
|
2010-03-16 02:50:20 +00:00 |
Arvid Norberg
|
fc224f29e4
|
fixed bug in session::save_state
|
2010-03-13 17:37:47 +00:00 |
Arvid Norberg
|
a29928de8b
|
fix DHT bug
|
2010-03-12 03:18:17 +00:00 |
Arvid Norberg
|
116c3f3c45
|
fix linux build
|
2010-03-12 03:17:25 +00:00 |
Arvid Norberg
|
06a043a489
|
add send_watermark_factor
|
2010-03-12 02:36:55 +00:00 |
Arvid Norberg
|
79bd8fcd52
|
made the default cache size depend on the amount of physical RAM. and fixed disk thread settings update when loading through load_state
|
2010-03-10 07:14:10 +00:00 |
Arvid Norberg
|
cbc93c8de8
|
made load_state and save_state more data-driven to reduce code repetition
|
2010-03-10 02:28:40 +00:00 |
Arvid Norberg
|
0db27ab9b6
|
fixed typo
|
2010-03-09 21:57:20 +00:00 |
Arvid Norberg
|
06cca08afd
|
retry if accept fails because of too many files
|
2010-03-09 17:50:10 +00:00 |
Arvid Norberg
|
a3bff512e1
|
added 'added' and 'completed' time to torrent_status
|
2010-03-09 03:21:35 +00:00 |
Arvid Norberg
|
5247db7f90
|
fixed rare bug where we might erase an entry from the policy peer list when we shouldn't
|
2010-03-08 08:03:53 +00:00 |
Arvid Norberg
|
b80664bbaa
|
save additional settings in session state
|
2010-03-08 03:51:07 +00:00 |
Arvid Norberg
|
6e3882a197
|
fixed bug in previous work-around
|
2010-03-08 02:55:16 +00:00 |
Arvid Norberg
|
723c59b6e8
|
fixed incorrect merge
|
2010-03-08 02:06:30 +00:00 |
Arvid Norberg
|
d18b1612e4
|
more asserts to try to catch crash in disconnect_peers
|
2010-03-08 01:54:56 +00:00 |
Arvid Norberg
|
d73cf769f1
|
weird ubuntu std::string bug work-around
|
2010-03-07 21:59:02 +00:00 |
Arvid Norberg
|
dcffa55700
|
some sunPRO compiler support
|
2010-03-07 06:00:12 +00:00 |
Arvid Norberg
|
8b4ce8deaa
|
window build fix
|
2010-03-06 22:47:25 +00:00 |
Arvid Norberg
|
ad5b0497c3
|
same thing but for windows (except checking if the file is fully allocated)
|
2010-03-06 20:47:44 +00:00 |
Arvid Norberg
|
247bd9256d
|
fixed bug in fallocate usage and avoid trying to allocate and truncate files that don't need it to not update their modification time for no good reason
|
2010-03-06 20:09:18 +00:00 |
Arvid Norberg
|
013cef68e8
|
add flags to session::save_state to filter what is saved
|
2010-03-06 07:49:40 +00:00 |
Arvid Norberg
|
b835b03ae8
|
fix std::string::size_type type
|
2010-03-06 03:57:48 +00:00 |
Arvid Norberg
|
a7e6ce7c00
|
fixed memalign build
|
2010-03-05 23:07:29 +00:00 |
Arvid Norberg
|
e0e253a2a4
|
fixed geoip build
|
2010-03-04 22:34:49 +00:00 |
Arvid Norberg
|
bef11e8bd5
|
fixed build
|
2010-03-04 19:24:39 +00:00 |
Arvid Norberg
|
d4854024db
|
added flags to torrent::status() that can filter which values are calculated
|
2010-03-04 19:15:23 +00:00 |
Arvid Norberg
|
281b6368f7
|
deprecate old state saving functions, merge dht state with session state
|
2010-03-04 16:42:39 +00:00 |
Arvid Norberg
|
9edb348093
|
read time is only cache misses
|
2010-03-04 03:49:06 +00:00 |
Arvid Norberg
|
a09fb8eaa6
|
fixed potential iconv issue
|
2010-03-04 03:28:18 +00:00 |
Arvid Norberg
|
a942890e8d
|
added more detailed instrumentation of the disk I/O thread
|
2010-03-03 07:09:04 +00:00 |
Arvid Norberg
|
fdb68ab784
|
attempt to not make m_buffer_queue_size to ever get negative
|
2010-03-03 04:32:06 +00:00 |
Arvid Norberg
|
4508758f49
|
memalign fix
|
2010-03-03 04:26:12 +00:00 |
Arvid Norberg
|
82b8756c49
|
fixed previous check-in
|
2010-03-03 04:23:53 +00:00 |
Arvid Norberg
|
fb06acc828
|
add default peer rate limit setting
|
2010-03-03 01:31:31 +00:00 |
Arvid Norberg
|
2ec1c81cd3
|
fixed issue where an http proxy would not be used on redirects
|
2010-03-02 21:55:34 +00:00 |
Arvid Norberg
|
beca9b3da5
|
build fix
|
2010-03-02 09:12:34 +00:00 |
Arvid Norberg
|
0952dd48f6
|
fixed udp tracker race condition
|
2010-03-02 09:04:27 +00:00 |
Arvid Norberg
|
82b60b25c8
|
made the DHT socket bind to the same interface as the session
|
2010-03-02 07:21:32 +00:00 |
Arvid Norberg
|
e8523a3ad4
|
fixed issue with 0-sized torrents and verify_piece assert
|
2010-03-02 07:08:29 +00:00 |
Arvid Norberg
|
5adb8d5533
|
the proper fix
|
2010-03-02 03:55:47 +00:00 |
Arvid Norberg
|
d5e891c87c
|
fixed tracker error report bug
|
2010-03-02 03:33:27 +00:00 |
Arvid Norberg
|
77c0fa5872
|
support multiple trackers in magnet links
|
2010-03-01 06:46:57 +00:00 |
Arvid Norberg
|
a99f18514a
|
fixed no-ssl build
|
2010-02-25 19:19:12 +00:00 |
Arvid Norberg
|
053d11ea3e
|
fixed mutex lock typo
|
2010-02-24 00:04:28 +00:00 |
Arvid Norberg
|
f223708b0b
|
fixed assert when using odd piece size
|
2010-02-23 23:47:40 +00:00 |
Arvid Norberg
|
aa5fc72fbf
|
made tracker errors use error_code
|
2010-02-23 21:53:45 +00:00 |
Arvid Norberg
|
eff49e42a7
|
added support for torrents with odd piece sizes
|
2010-02-23 16:26:24 +00:00 |
Arvid Norberg
|
5c5f1d23a9
|
fixed typo
|
2010-02-23 06:38:05 +00:00 |
Arvid Norberg
|
210c663596
|
fixed error handling with torrents with invalid piece sizes
|
2010-02-22 01:51:25 +00:00 |
Arvid Norberg
|
b96e0a448e
|
udp socket debugging and asserts
|
2010-02-21 20:15:07 +00:00 |
Arvid Norberg
|
cebb0b8212
|
fast piece optimization
|
2010-02-21 09:07:09 +00:00 |
Arvid Norberg
|
278c1f91c0
|
fix typo in previous check-in
|
2010-02-21 09:03:56 +00:00 |
Arvid Norberg
|
59deff7a44
|
fixed issue with disk read cache not being cleared when removing torrents
|
2010-02-21 08:52:26 +00:00 |
Arvid Norberg
|
b58871bb7a
|
no need for lazy bitfield on encrypted connections
|
2010-02-21 01:38:00 +00:00 |
Arvid Norberg
|
3171e81238
|
include new session settings in saved state
|
2010-02-21 01:34:23 +00:00 |
Arvid Norberg
|
54b4bc7754
|
better rate limiter fix
|
2010-02-21 01:32:57 +00:00 |
Arvid Norberg
|
cead1b5780
|
rate limiter fix for metadata extension
|
2010-02-20 18:56:53 +00:00 |
Arvid Norberg
|
b362795f9d
|
web seed fix
|
2010-02-20 16:53:38 +00:00 |
Arvid Norberg
|
47f3a18d65
|
DHT bootstrapping and refresh fix
|
2010-02-20 16:37:50 +00:00 |
Arvid Norberg
|
29880b7e26
|
use a stricted condition when to enter end-game mode. Made it configurable in RC_0_15+
|
2010-02-18 19:25:15 +00:00 |
Arvid Norberg
|
f31e670fc2
|
made end-game mode less aggressive
|
2010-02-18 17:26:21 +00:00 |
Arvid Norberg
|
04d31cea6e
|
support option to report redundant bytes or not to tracker as well as 'corrupt' argument
|
2010-02-18 06:45:07 +00:00 |
Arvid Norberg
|
e71f70a98d
|
no need to disconnect peers that send DHT_PORT message without advertising support for it
|
2010-02-18 05:27:58 +00:00 |
Arvid Norberg
|
875e332997
|
fixed merge error
|
2010-02-18 05:19:20 +00:00 |
Arvid Norberg
|
09a1023eb3
|
fixed issue with UDP over SOCKS5. Added a udp tracker to the unit test to make sure it works. Added tracker tests for all proxies
|
2010-02-18 04:37:02 +00:00 |
Arvid Norberg
|
9197081618
|
announce edge case fixes
|
2010-02-18 03:53:16 +00:00 |
Arvid Norberg
|
8bf9880fb0
|
alert message fixes
|
2010-02-18 03:49:22 +00:00 |
Arvid Norberg
|
69e0249317
|
don't lookup country for local IPs
|
2010-02-15 07:52:32 +00:00 |
Arvid Norberg
|
08c8bfae29
|
more wide character and mingw fixes
|
2010-02-15 05:49:10 +00:00 |
Arvid Norberg
|
23881fb0ff
|
lsd and dht announce timer fixes
|
2010-02-14 17:24:53 +00:00 |
Arvid Norberg
|
5c02f3df59
|
fixed DHT bootstrapping issue
|
2010-02-14 07:46:57 +00:00 |
Arvid Norberg
|
0acfe4a480
|
dht bugfix
|
2010-02-14 04:58:21 +00:00 |
Arvid Norberg
|
fe5f908cc6
|
fixed MinGW support
|
2010-02-14 04:05:18 +00:00 |
Arvid Norberg
|
c050b22d8f
|
optimized memory usage for torrent objects
|
2010-02-14 01:39:55 +00:00 |
Arvid Norberg
|
78363cc05d
|
local service discovery fixes
|
2010-02-13 16:29:17 +00:00 |
Arvid Norberg
|
ef48784cbd
|
fix trimming of announce urls
|
2010-02-12 17:11:37 +00:00 |
Arvid Norberg
|
b12b3ff105
|
simplified web seed logic
|
2010-02-12 06:10:20 +00:00 |
Arvid Norberg
|
c8d3634a07
|
fix member order
|
2010-02-12 02:50:23 +00:00 |
Arvid Norberg
|
3d5d9eb807
|
start torrent on incoming connection feature
|
2010-02-11 04:39:04 +00:00 |
Arvid Norberg
|
0816ff69c6
|
fixed streaming bug
|
2010-02-09 07:52:17 +00:00 |
Arvid Norberg
|
d019833043
|
fixed finished_time bug
|
2010-02-09 04:42:32 +00:00 |
Arvid Norberg
|
fb47469834
|
experimental support for the BitTyrant choking algorithm
|
2010-02-09 03:04:41 +00:00 |
Arvid Norberg
|
1a97405189
|
added an option to save a little bit of RAM by not collecting full detailed stats
|
2010-02-08 05:43:54 +00:00 |
Arvid Norberg
|
7e343a9d6f
|
add size logging to various classes
|
2010-02-08 04:51:34 +00:00 |
Arvid Norberg
|
c75e38e855
|
fixed dht logging build
|
2010-02-08 04:35:46 +00:00 |
Arvid Norberg
|
0dba0f5dcc
|
never time out a peer because we're waiting for the disk. allow connection_speed = 0. post an alert when rejecting a peer because of the connection limit
|
2010-02-06 21:40:55 +00:00 |
Arvid Norberg
|
c263f8daf7
|
volatile cache improvement
|
2010-02-06 17:56:58 +00:00 |
Arvid Norberg
|
8c02d04d2e
|
UDP tracker optimization
|
2010-02-06 08:14:18 +00:00 |
Arvid Norberg
|
abfc92de35
|
added performance warning if there are too many optimistic unchoke slots
|
2010-02-06 07:39:45 +00:00 |
Arvid Norberg
|
bb9426b97c
|
post read_piece messages as a result of set_piece_deadline if a piece is found during checking
|
2010-02-06 07:31:43 +00:00 |
Arvid Norberg
|
51c544c6bb
|
fixed trunk build with DHT disabled
|
2010-02-05 08:40:08 +00:00 |
Arvid Norberg
|
088f4bf700
|
improved LSD performance and made the interval configurable
|
2010-02-05 08:23:17 +00:00 |
Arvid Norberg
|
7b0555ae45
|
fixed disk cache bug
|
2010-02-05 04:30:57 +00:00 |
Arvid Norberg
|
43da4fba50
|
fix windows build
|
2010-02-03 17:13:22 +00:00 |
Arvid Norberg
|
1b2798970c
|
support O_NOATIME on linux and use it by default
|
2010-02-02 19:44:52 +00:00 |
Arvid Norberg
|
859f412189
|
support an arbitrary number of optimistic unchoke slots
|
2010-02-02 18:39:32 +00:00 |
Arvid Norberg
|
c1b8124d20
|
volatile cache tuning
|
2010-02-01 01:11:10 +00:00 |
Arvid Norberg
|
fc310ffde1
|
fixed add_piece()
|
2010-02-01 00:44:31 +00:00 |
Arvid Norberg
|
53ef3dfb22
|
tuning of guided read cache
|
2010-02-01 00:38:32 +00:00 |
Arvid Norberg
|
c4bdd4debe
|
fixed fallocate usage on linux distros that don't have it
|
2010-01-31 21:52:45 +00:00 |
Arvid Norberg
|
238f7e38f5
|
improve disk stats logging to include cache hits
|
2010-01-31 21:13:52 +00:00 |
Arvid Norberg
|
e154d56c1f
|
reopen files if no_buffer mode changes
|
2010-01-31 20:44:05 +00:00 |
Arvid Norberg
|
3bc40b9980
|
fix builds for all combinations of stats and disk stats
|
2010-01-31 20:32:12 +00:00 |
Arvid Norberg
|
ca20d2d600
|
fixed broken build
|
2010-01-31 20:22:35 +00:00 |
Arvid Norberg
|
8542343a0d
|
also exclude volatile option when using explicit cache
|
2010-01-31 19:16:22 +00:00 |
Arvid Norberg
|
5b747f58f7
|
add guided read cache and update tuning docs
|
2010-01-31 19:14:00 +00:00 |
Arvid Norberg
|
dbffe3aee9
|
increase connection limit for local peers if limits are ignored for local network in order to accept more incoming connections from the local network
|
2010-01-31 18:35:46 +00:00 |
Arvid Norberg
|
6a5164b990
|
stop people from using volatile cache and suggest_pieces at the same time
|
2010-01-31 16:35:38 +00:00 |
Arvid Norberg
|
53144f6f14
|
fixes to the new disk cache and the volatile cache feature
|
2010-01-31 16:29:52 +00:00 |
Arvid Norberg
|
ccf8b0278a
|
added volatile read cache option
|
2010-01-30 03:50:17 +00:00 |
Arvid Norberg
|
82b49b541e
|
fixed crash when adding pieces to seeds
|
2010-01-27 06:06:57 +00:00 |
Arvid Norberg
|
f6c0d5af35
|
optimized disk cache to work with large caches
|
2010-01-27 04:25:45 +00:00 |
Arvid Norberg
|
5cc3cbd8b1
|
added some settings to the save session state
|
2010-01-24 22:00:36 +00:00 |
Arvid Norberg
|
64d52b26ca
|
fixed windows upnp test. added test for is_space
|
2010-01-24 17:31:06 +00:00 |
Arvid Norberg
|
ce4c1ab01b
|
fixed windows unit tests
|
2010-01-24 04:27:53 +00:00 |
Arvid Norberg
|
942c4e0a7c
|
fixed torrent_deleted_alert to not dead-lock
|
2010-01-23 22:42:48 +00:00 |
Arvid Norberg
|
a046850130
|
support disk I/O priority setting
|
2010-01-23 03:02:32 +00:00 |
Arvid Norberg
|
9e98bfd204
|
build fix
|
2010-01-20 03:37:34 +00:00 |
Arvid Norberg
|
848d9f5fc1
|
don't crash when trying to make a torrent from 0 files
|
2010-01-19 01:58:03 +00:00 |
Arvid Norberg
|
45cd9fe407
|
ignore paused and automanaged from metadata for magnet links
|
2010-01-18 23:44:05 +00:00 |
Arvid Norberg
|
af5c7e3d04
|
fixed assert that could trigger by web seeds
|
2010-01-18 22:20:42 +00:00 |
Arvid Norberg
|
5471b098eb
|
falloc build fix
|
2010-01-18 06:18:34 +00:00 |
Arvid Norberg
|
81dfade50d
|
ranges are inclusive in script based http seeds
|
2010-01-18 05:16:22 +00:00 |
Arvid Norberg
|
4a5fbd8a89
|
fix log_time string formatting issue
|
2010-01-18 04:59:55 +00:00 |
Arvid Norberg
|
f1be2c6b80
|
don't call posix_fallocate on linux if the file is fully allocated
|
2010-01-18 03:08:38 +00:00 |
Arvid Norberg
|
5d5ded4032
|
fix fallocate build with OSes that actually support it
|
2010-01-18 01:08:19 +00:00 |
Arvid Norberg
|
55aea5b863
|
improved fallocate support
|
2010-01-18 00:51:40 +00:00 |
Arvid Norberg
|
8c60c75547
|
explicit cache fixes
|
2010-01-17 21:57:24 +00:00 |
Arvid Norberg
|
36809c7007
|
improve linux fiemap support
|
2010-01-17 21:56:24 +00:00 |
Arvid Norberg
|
b1c12d4c69
|
added debug assert when receiving garbage. Especially useful when running the unit tests
|
2010-01-17 21:49:26 +00:00 |
Arvid Norberg
|
d959331c1e
|
renamed some torrent check queue related functions to be more descriptive
|
2010-01-17 21:42:14 +00:00 |
Arvid Norberg
|
3c364731e8
|
don't ever send allowed fast messages to peers that doesn't support fast extensions
|
2010-01-17 21:26:47 +00:00 |
Arvid Norberg
|
018da0e29f
|
fix to suggest pieces patch
|
2010-01-17 21:06:08 +00:00 |
Arvid Norberg
|
da89e1b2ee
|
indentation fix
|
2010-01-17 07:39:07 +00:00 |
Arvid Norberg
|
c9b594fde1
|
support sending suggest messages based on what's in the read cache. support 'explicit read cache'
|
2010-01-15 16:45:42 +00:00 |
Arvid Norberg
|
ef41d38c34
|
added support for storing per-peer rate limits across reconnects
|
2010-01-15 03:06:05 +00:00 |
Arvid Norberg
|
2d7705e38b
|
disabled feature to drop requests after having been skipped too many times
|
2010-01-14 02:16:23 +00:00 |
Arvid Norberg
|
bd93634c14
|
fixed range request bug for files larger than 2 GB in web seeds
|
2010-01-13 23:49:04 +00:00 |
Arvid Norberg
|
2948b3b375
|
fixed file checking bug introduced by fancy disk IO optimizations
|
2010-01-13 23:37:23 +00:00 |
Arvid Norberg
|
a1299c3a10
|
optimize disk I/O elevator algorithm to spend less time picking job
|
2010-01-12 01:56:48 +00:00 |
Arvid Norberg
|
27247df5c9
|
windows build fixes
|
2010-01-10 05:06:13 +00:00 |
Arvid Norberg
|
4e62eec9fa
|
fix to the previous dht routing table fix
|
2010-01-10 04:03:11 +00:00 |
Arvid Norberg
|
18454d6344
|
replace trackers from resume data instead of adding them.
|
2010-01-10 03:02:46 +00:00 |
Arvid Norberg
|
85951208e4
|
added support for explicitly flushing the disk cache
|
2010-01-09 21:17:52 +00:00 |
Arvid Norberg
|
d498c129ab
|
clear sparse flag on files that complete on windows
|
2010-01-09 18:40:05 +00:00 |
Arvid Norberg
|
c1ea06f373
|
another dht routing table fix
|
2010-01-09 17:49:33 +00:00 |
Arvid Norberg
|
d25d8d40fe
|
dht routing table fix
|
2010-01-09 14:49:21 +00:00 |
Arvid Norberg
|
cb5bad09a4
|
fixed DHT bug
|
2010-01-09 00:38:55 +00:00 |
Arvid Norberg
|
11cd7af4e7
|
optimized DHT routing table memory usage
|
2010-01-03 11:08:39 +00:00 |
Arvid Norberg
|
cbf2526a8c
|
added stats_alert reporting raw transfer stats per torrent every second
|
2010-01-02 14:16:35 +00:00 |
Arvid Norberg
|
2d6cc667b5
|
removed one floating point operation
|
2009-12-29 19:06:27 +00:00 |
Arvid Norberg
|
0350e86867
|
fixed web seed unit test
|
2009-12-29 17:49:24 +00:00 |
Arvid Norberg
|
d157af5305
|
build fixes
|
2009-12-28 20:59:34 +00:00 |
Arvid Norberg
|
baa6ea74b8
|
removed floating point operation
|
2009-12-26 11:15:12 +00:00 |
Arvid Norberg
|
7412931183
|
fixed some error handling in lazy_bdecode to handle out-of-memory errors
|
2009-12-26 10:54:00 +00:00 |
Arvid Norberg
|
31a56af1ad
|
extended portmap log alert message cap to 600 characters
|
2009-12-25 22:30:18 +00:00 |
Arvid Norberg
|
59636e0cca
|
extended upnp error message cap to 500 characters
|
2009-12-25 22:21:39 +00:00 |
Arvid Norberg
|
cdf459dad5
|
only keep one outstanding duplicate request per peer
|
2009-12-25 16:52:57 +00:00 |
Arvid Norberg
|
ecb770eca7
|
always unlock while waiting for disk-IO
|
2009-12-25 16:13:35 +00:00 |
Arvid Norberg
|
ac8f64f5fe
|
fixed deadlock in piece_manager
|
2009-12-25 16:02:45 +00:00 |
Arvid Norberg
|
0fc90b5655
|
fixed support for min-interval on tracker failures
|
2009-12-21 09:47:32 +00:00 |
Arvid Norberg
|
6298322b1d
|
service disk-read requests that hit the cache immediately and circumvent the elevator ordering
|
2009-12-16 10:49:15 +00:00 |
Arvid Norberg
|
2055426c52
|
fix trunk build and tests build without exceptions
|
2009-12-16 10:42:34 +00:00 |
Arvid Norberg
|
96cedc9b5f
|
more beos fixes
|
2009-12-15 13:11:07 +00:00 |
Arvid Norberg
|
cebcbc3eeb
|
fixed force reannounce bug with min_interval support
|
2009-12-13 16:36:45 +00:00 |
Arvid Norberg
|
25798ba1fa
|
timer initialization fix
|
2009-12-13 16:32:07 +00:00 |
Arvid Norberg
|
c9a1bd219e
|
IPv6 build fix
|
2009-12-13 16:29:58 +00:00 |
Arvid Norberg
|
f612a07b06
|
more header dependency fixes and some configure header cleanup
|
2009-12-09 09:55:19 +00:00 |
Arvid Norberg
|
31bbfee895
|
more beos
|
2009-12-09 05:19:48 +00:00 |
Arvid Norberg
|
df2f2570c2
|
factor out page size function and make aligned allocator configurable to use posix_memalign and memalign
|
2009-12-09 01:55:30 +00:00 |
Arvid Norberg
|
6aa9d5fa52
|
more logging
|
2009-12-07 05:03:23 +00:00 |
Arvid Norberg
|
2b5a886ff8
|
fixed nat-pmp bug
|
2009-12-07 04:40:36 +00:00 |
Arvid Norberg
|
0f0fb82407
|
http_connection gzip fix
|
2009-12-06 02:38:10 +00:00 |
Arvid Norberg
|
9571fd566f
|
removed invalid assert
|
2009-12-06 02:31:22 +00:00 |
Arvid Norberg
|
df928764e2
|
reorganized error codes
|
2009-12-05 23:03:48 +00:00 |
Arvid Norberg
|
1e15054e0e
|
treat redirect locations slightly more graceful
|
2009-12-05 22:10:44 +00:00 |
Arvid Norberg
|
a5e56b6fbc
|
add socket_type.cpp to makefile
|
2009-12-05 16:50:07 +00:00 |
Arvid Norberg
|
d84c59d13b
|
upload only fix
|
2009-12-05 16:46:10 +00:00 |
Arvid Norberg
|
a6ed83e7fe
|
add load_state/save_state to python bindings and made them build
|
2009-12-05 07:24:22 +00:00 |
Arvid Norberg
|
ff2063651b
|
build fixes
|
2009-12-03 17:44:11 +00:00 |
Arvid Norberg
|
1d04c4dcd0
|
added session saving and loading functions
|
2009-12-03 05:11:57 +00:00 |
Arvid Norberg
|
cecdccaeb5
|
improved printing of bencoded structures
|
2009-12-03 05:08:24 +00:00 |
Arvid Norberg
|
bd881ac154
|
fixed more link issues on windows. examples build with shared linking on windows
|
2009-12-02 17:46:25 +00:00 |
Arvid Norberg
|
1e654220fa
|
added support for min_interval
|
2009-12-02 04:05:24 +00:00 |
Arvid Norberg
|
3fb05a13b1
|
fixed DLL link issues
|
2009-11-30 07:03:34 +00:00 |
Arvid Norberg
|
235b14a6d9
|
fixed broadcast socket regression from 0.14.7
|
2009-11-29 19:41:07 +00:00 |
Arvid Norberg
|
1c63a0e032
|
added some invariant checks to bt_peer_connection
|
2009-11-29 19:38:32 +00:00 |
Arvid Norberg
|
ea1043a293
|
fix crash in force_recheck for torrents with no metadata
|
2009-11-29 17:57:42 +00:00 |
Arvid Norberg
|
1f5859d31f
|
error_code fix. added is_error_code_enum template specialization and using the abbreviated syntax to build error_codes
|
2009-11-29 07:06:38 +00:00 |
Arvid Norberg
|
6070c59b46
|
fixed bug in auto-manager where active_downloads and active_seeds would sometimes be used incorrectly
|
2009-11-29 03:28:11 +00:00 |
Arvid Norberg
|
0f351cfd62
|
fixed num_queued counting
|
2009-11-28 22:47:45 +00:00 |
Arvid Norberg
|
39dae9e6dc
|
some GCC 2.95 support fixes and some BeOS support
|
2009-11-28 22:41:21 +00:00 |
Arvid Norberg
|
1d6d11bf0c
|
storage fix
|
2009-11-28 08:58:07 +00:00 |
Arvid Norberg
|
d3b4e789ad
|
natpmp fix
|
2009-11-28 03:15:06 +00:00 |
Arvid Norberg
|
ab4b7f99ad
|
fixed error handling in read_into_piece
|
2009-11-28 03:14:08 +00:00 |
Arvid Norberg
|
5d1bfc497a
|
added torrent_info::remap_files()
|
2009-11-27 22:15:34 +00:00 |
Arvid Norberg
|
39d14146e7
|
dynamic_cast fix
|
2009-11-27 21:04:26 +00:00 |
Arvid Norberg
|
ddceb1487d
|
fixed building with no IPv6 support
|
2009-11-27 18:46:29 +00:00 |
Arvid Norberg
|
9fd7a58370
|
header dependency fixes
|
2009-11-27 07:17:10 +00:00 |
Arvid Norberg
|
e750910798
|
fixed windows build
|
2009-11-27 07:08:47 +00:00 |
Arvid Norberg
|
072d3b0f48
|
moved some alert functions from the header to the cpp file
|
2009-11-26 21:40:10 +00:00 |
Arvid Norberg
|
e1aa90daab
|
header dependency fixes
|
2009-11-26 21:05:57 +00:00 |
Arvid Norberg
|
7db5996abc
|
header dependency fix
|
2009-11-26 18:31:27 +00:00 |
Arvid Norberg
|
47d2325145
|
fixed typo that would sometimes prevent queued torrents to be checked
|
2009-11-26 15:14:39 +00:00 |
Arvid Norberg
|
a80b2b0fce
|
fixed torrent_info copy constructor. restricted copying of lazy_entry. Fixed build. added pascal_string type to be used with lazy_entry (trunk only)
|
2009-11-26 06:54:52 +00:00 |
Arvid Norberg
|
8dd244581d
|
header optimizations
|
2009-11-26 05:45:43 +00:00 |
Arvid Norberg
|
18e5d67967
|
protect file_priority functions from being called on torrents without metadata
|
2009-11-26 00:09:49 +00:00 |
Arvid Norberg
|
eb98d6ad87
|
support retry-after header for web seeds
|
2009-11-25 16:32:09 +00:00 |
Arvid Norberg
|
a5586d154d
|
more header dependency optimizations
|
2009-11-25 06:55:34 +00:00 |
Andrew Resch
|
83455cd88e
|
Fix building with msvc
|
2009-11-25 02:18:17 +00:00 |
Arvid Norberg
|
32ee88bc05
|
ignore unknown metadata messages
|
2009-11-24 19:40:54 +00:00 |
Arvid Norberg
|
2280454a99
|
support upload-only extension message
|
2009-11-24 18:49:59 +00:00 |
Arvid Norberg
|
6381eaee54
|
clean up in magnet_uri.cpp
|
2009-11-24 18:42:58 +00:00 |
Arvid Norberg
|
0ed6f3e701
|
fixed logging bug in local service discovery
|
2009-11-24 18:42:36 +00:00 |
Arvid Norberg
|
15c4842cea
|
another header optimization
|
2009-11-23 17:05:26 +00:00 |
Arvid Norberg
|
6343fe6a6d
|
optimized header dependencies to lower build time
|
2009-11-23 08:38:50 +00:00 |
Arvid Norberg
|
562e2512b9
|
some vs2010 fixes
|
2009-11-22 23:55:54 +00:00 |
Arvid Norberg
|
d6d577627b
|
removed some unnecessary includes
|
2009-11-22 21:08:44 +00:00 |
Arvid Norberg
|
0880b74e6d
|
fixed timestamp wrapping issue
|
2009-11-18 18:43:54 +00:00 |
Arvid Norberg
|
603e719117
|
save and restore the super-seed state of torrents
|
2009-11-18 17:40:38 +00:00 |
Arvid Norberg
|
d9671d05b5
|
fixed uninitialized member in torrent
|
2009-11-18 08:39:15 +00:00 |
Arvid Norberg
|
1cdb377ef4
|
fix build issue with older versions of boost
|
2009-11-16 07:42:50 +00:00 |
Arvid Norberg
|
550c67a308
|
fixed local rate limit feature
|
2009-11-14 21:25:13 +00:00 |
Arvid Norberg
|
c07b1d0981
|
fixed bug in remote download rate calculation
|
2009-11-14 20:55:42 +00:00 |
Arvid Norberg
|
a65659f52f
|
broadcast sockets now join every network interface
|
2009-11-14 20:35:24 +00:00 |
Arvid Norberg
|
51aa6c4b6b
|
rpc_manager fix
|
2009-11-13 02:53:34 +00:00 |
Arvid Norberg
|
e3fa84c479
|
local service discovery fix
|
2009-11-13 02:51:07 +00:00 |
Arvid Norberg
|
8fdeeb0497
|
don't replace invalid path characters in non-path strings
|
2009-11-13 02:50:07 +00:00 |
Arvid Norberg
|
158dd71ac2
|
performance optimization for buffer allocations
|
2009-11-11 05:29:34 +00:00 |
Arvid Norberg
|
84ba8445cf
|
changed includes for tommath to point into the libtorrent directory
|
2009-11-10 17:14:53 +00:00 |
Arvid Norberg
|
b066e4694b
|
fixed DHT state save bug for node-id
|
2009-11-10 17:01:05 +00:00 |
Arvid Norberg
|
3b9b8b144c
|
added support for using libtommath instead of libgcrypt or libcrypto for bittorrent encryption
|
2009-11-09 07:26:40 +00:00 |
Arvid Norberg
|
e9e32235b4
|
added support for libgcrypt
|
2009-11-08 03:09:19 +00:00 |
Arvid Norberg
|
e43340c961
|
made it possible to build without RTTI
|
2009-11-02 20:43:38 +00:00 |
Arvid Norberg
|
e9320371b8
|
fixed filename function
|
2009-11-02 04:08:37 +00:00 |
cristiangreco
|
bba63021c0
|
configure.ac: drop dependencies on boost.filesystem and boost.thread libraries
and add some new files to makefiles.
|
2009-11-02 02:10:38 +00:00 |
Arvid Norberg
|
1c28444f94
|
fixed residual references to boost/thread. Removed memdebug (it doesn't work and tcmalloc is better)
|
2009-11-02 02:00:41 +00:00 |
Arvid Norberg
|
1c377b1807
|
streaming fixes
|
2009-11-02 01:01:07 +00:00 |
Arvid Norberg
|
2897389409
|
fixed assert in ut_metadata plugin
|
2009-11-01 19:07:20 +00:00 |
Arvid Norberg
|
deb363e53b
|
removed floating point operation in rate limited udp socket
|
2009-11-01 03:18:00 +00:00 |
Arvid Norberg
|
c7834818f8
|
fix assert when snubbing peers
|
2009-11-01 00:47:22 +00:00 |
Arvid Norberg
|
b97dcc8c58
|
fixed race conditon when receiving metadata from swarm
|
2009-10-31 18:39:46 +00:00 |
Arvid Norberg
|
c9392fe0fb
|
fixed web seed for windows
|
2009-10-30 03:42:29 +00:00 |
Arvid Norberg
|
9d449caf84
|
msvc fix
|
2009-10-30 03:32:24 +00:00 |
Arvid Norberg
|
51ef057498
|
more unicode and wstring fixes
|
2009-10-29 18:12:43 +00:00 |
Arvid Norberg
|
86488f95e7
|
fixed ifdef typo
|
2009-10-29 04:18:58 +00:00 |
Arvid Norberg
|
dcd8bb6718
|
move stats instrumentation to .cpp file to fix header dependency issue
|
2009-10-28 19:56:18 +00:00 |
Arvid Norberg
|
70df388e6c
|
removed one iostream dependency
|
2009-10-28 19:55:20 +00:00 |
Arvid Norberg
|
d2680e01d2
|
fixes to copy_file() to pass in permissions to open()
|
2009-10-28 19:52:58 +00:00 |
Arvid Norberg
|
4ecbc21101
|
fixing build issue introduced in filesystem check-in
|
2009-10-27 01:47:54 +00:00 |
Arvid Norberg
|
e1080a81c6
|
fixed bug in error handling when parsing torrent files
|
2009-10-26 20:30:45 +00:00 |
Arvid Norberg
|
c777227c84
|
fixed some msvc warnings
|
2009-10-26 02:26:15 +00:00 |
Arvid Norberg
|
c418165e07
|
replaced boost.filesystem with custom functions (improves efficiency and drops unnecessary dependencies and improves libtorrent portability)
|
2009-10-26 01:29:39 +00:00 |
Arvid Norberg
|
6c137d6ef6
|
announces torrents immediately to the DHT when it's started
|
2009-10-25 02:37:45 +00:00 |
Arvid Norberg
|
65eb4db727
|
added session::is_dht_running
|
2009-10-24 21:55:16 +00:00 |
Arvid Norberg
|
f2af1d0d1a
|
fix msvc build
|
2009-10-23 06:41:09 +00:00 |
Arvid Norberg
|
4a5e0b7cf1
|
fixed typo
|
2009-10-22 18:47:40 +00:00 |
Arvid Norberg
|
9d1989904b
|
some compatibility fixes.
|
2009-10-20 16:44:11 +00:00 |
Arvid Norberg
|
8a5b7d5d36
|
got rid of the last recursive mutexes. abstracted the threading primitives (and switched over to use asio's internal ones).
|
2009-10-20 02:49:56 +00:00 |
Arvid Norberg
|
6c71a3797f
|
USE_I2P fix
|
2009-10-19 02:53:36 +00:00 |
Arvid Norberg
|
a8c72b47ab
|
USE_IPV6 fixes
|
2009-10-19 02:49:20 +00:00 |
Arvid Norberg
|
525c8090b7
|
USE_IPV6 fixes
|
2009-10-19 02:43:50 +00:00 |
Arvid Norberg
|
aad0a68dfa
|
removed a few more dependencies on lexical_cast
|
2009-10-19 00:31:47 +00:00 |
Arvid Norberg
|
99dbfdbb79
|
endianness define fix
|
2009-10-18 20:35:18 +00:00 |
Arvid Norberg
|
474566fa21
|
more DHT fixes and simplifications
|
2009-10-09 02:34:25 +00:00 |
Arvid Norberg
|
fdb3b355ad
|
fixed incorrect error when deleting files from a torrent where not all files have been created
|
2009-10-08 18:21:13 +00:00 |
Arvid Norberg
|
cee42ff5a1
|
more DHT simplifications
|
2009-10-07 20:51:02 +00:00 |
Arvid Norberg
|
5c71c47437
|
fix print formatting bug in print_entry
|
2009-10-07 07:16:18 +00:00 |
Arvid Norberg
|
cdc30f1dd1
|
fixed bug where pieces may have been requested before the metadata was received
|
2009-10-05 00:10:35 +00:00 |
Arvid Norberg
|
115a4b1863
|
fixed msvc build
|
2009-10-04 23:46:29 +00:00 |
Arvid Norberg
|
599543e889
|
automatically caps files and connections by default to rlimit
|
2009-10-03 19:02:31 +00:00 |
Arvid Norberg
|
8dc2865c5d
|
fix DHT build
|
2009-10-03 18:29:47 +00:00 |
Arvid Norberg
|
ac2ef7dd39
|
fixed division by zero in get_peer_info()
|
2009-10-03 15:24:59 +00:00 |
Arvid Norberg
|
ea1761838a
|
added torrent_status::finished_time
|
2009-09-30 17:21:59 +00:00 |
Arvid Norberg
|
dfccf0b412
|
some DHT work
|
2009-09-29 17:06:08 +00:00 |
Arvid Norberg
|
138fb8c679
|
extended DHT unit test to include error reporting
|
2009-09-27 17:41:51 +00:00 |
Arvid Norberg
|
7d4338b7f7
|
added data triven DHT message parsing and verification
|
2009-09-27 05:27:43 +00:00 |
Arvid Norberg
|
f36688a364
|
initial support for torrent tag store in DHT
|
2009-09-27 03:38:41 +00:00 |
Arvid Norberg
|
5b563d5522
|
improved forward compatibility in DHT
|
2009-09-27 00:40:05 +00:00 |
Georg Rudoy
|
c631c00653
|
Fixed build: use incoming_error from correct namespace.
|
2009-09-25 22:03:35 +00:00 |
Arvid Norberg
|
9b15c11740
|
don't send stats to trackers received through tracker exchange
|
2009-09-25 18:17:59 +00:00 |
Arvid Norberg
|
6eefa02c56
|
fixed link error with incoming_error
|
2009-09-25 16:32:02 +00:00 |
Arvid Norberg
|
fbccefb70b
|
improved invalid filename character replacement
|
2009-09-25 15:08:28 +00:00 |
Arvid Norberg
|
7e430d5a2a
|
resume data alerts are always posted, regardless of alert mask
|
2009-09-23 18:44:21 +00:00 |
Arvid Norberg
|
6de02f9895
|
fixed deadlock in natpmp implementation
|
2009-09-22 04:01:01 +00:00 |
Arvid Norberg
|
cc5bc86a5c
|
http_tracker_connection shutdown fix
|
2009-09-20 15:32:23 +00:00 |
Arvid Norberg
|
e289b9c6ac
|
build fixes
|
2009-09-20 15:21:31 +00:00 |
Arvid Norberg
|
54cce9da60
|
simplified and optimized the DHT implementation
|
2009-09-20 00:23:36 +00:00 |
Arvid Norberg
|
d16a5d855e
|
fixed assert in http_connection
|
2009-09-18 19:55:41 +00:00 |