Arvid Norberg
d9bc8b7109
Merge pull request #557 from arvidn/aligned-holder-1.1
...
remove unused aligned_holder class
2016-03-20 01:53:57 -04:00
arvidn
139fb29647
remove unused O_DIRECT mode, and relax/simplify alignment requirements for coalesce_buffers
2016-03-20 00:55:31 -04:00
arvidn
85cf5ac195
remove unused aligned_holder class. fix logging issue of out-of-bound piece requests
2016-03-19 23:32:50 -04:00
Arvid Norberg
e9b334ce63
Merge pull request #494 from arvidn/udp-bind-failure-1.1
...
attempt to fix issue with binding udp sockets on windows
2016-03-19 13:20:51 -04:00
Arvid Norberg
63747fed22
Merge pull request #556 from arvidn/deprecate-explicit-cache-1.1
...
deprecate more parts of explicit cache
2016-03-19 11:50:57 -04:00
arvidn
53b5e964d2
fix merge issue and properly close ssl udp socket when disabled, prevents the extra listen_succeeded alert for the ssl udp socket
2016-03-19 10:25:35 -04:00
arvidn
e9a5985609
if a udp socket is already bound to the IP and port we want to bind it to, don't reopen it
2016-03-19 10:25:30 -04:00
arvidn
d705dc2953
attempt to fix issue with binding udp sockets on windows
2016-03-19 10:25:30 -04:00
arvidn
f7c9062019
deprecate more parts of explicit cache as well as fixing typos of TORRENT_NO_DEPRECATE preprocessor tests
2016-03-19 07:54:29 -04:00
Arvid Norberg
b624d3be58
Merge pull request #555 from arvidn/remove-html-1.1
...
remove html and other generated files from the repository
2016-03-19 07:51:07 -04:00
arvidn
8b9dfc8244
fix travis installation of dot and PIL
2016-03-19 07:49:52 -04:00
arvidn
c1a3108453
remove html and other generated files from the repository
2016-03-19 01:46:56 -04:00
arvidn
c0033d0977
do not enable SSL listen sockets by default
2016-03-18 23:57:02 -04:00
Arvid Norberg
2b4033d08c
Merge pull request #553 from arvidn/documentation-updates-1.1
...
fix documentation session_settings -> settings_pack
2016-03-18 19:55:09 -04:00
Arvid Norberg
50f7c88cee
Merge pull request #554 from arvidn/tracker-next-test-1.1
...
convert tracker try-next test to be a simulation (and deterministic)
2016-03-18 19:49:18 -04:00
arvidn
b446fe4bba
deprecate settings_pack::hashing_threads and replace it with aio_threads in documentation
2016-03-18 16:40:52 -04:00
arvidn
85f615132b
fix documentation mentions of session_settings to refer to settings_pack. clean out some outdated disk instrumentation docs
2016-03-18 16:40:52 -04:00
Arvid Norberg
d5b32a80b3
Merge pull request #552 from arvidn/explicit-cache-1.1
...
deprecate explicit cache feature
2016-03-18 16:36:45 -04:00
arvidn
d3df16cd12
convert tracker try-next test to be a simulation (and deterministic)
2016-03-18 14:38:45 -04:00
arvidn
3c98868f6c
deprecate explicit cache feature
2016-03-18 12:15:03 -04:00
arvidn
7070492a5f
remove unused left-overs
2016-03-18 11:30:25 -04:00
Arvid Norberg
dbbf8be8a5
Merge pull request #550 from arvidn/remove-mlock-1.1
...
remove/deprecate bad idea with mlock
2016-03-17 19:37:35 -04:00
arvidn
1cd5119178
remove/deprecate bad idea with mlock
2016-03-17 19:37:05 -04:00
Arvid Norberg
9deb594c18
Merge pull request #548 from arvidn/dead-disk-alloc-1.1
...
remove unused disk allocation code
2016-03-17 00:16:45 -04:00
arvidn
317eb2fe2a
remove unused disk allocation code
2016-03-16 20:13:28 -04:00
Arvid Norberg
a1d60db706
Merge pull request #547 from arvidn/no-read-cache-1.1
...
fix use_read_cache=false
2016-03-16 08:14:15 -04:00
Arvid Norberg
4343bb911c
Merge pull request #545 from arvidn/zero-cache-perf-1.1
...
allow each peer have at least 2 allocated disk blocks at any given time
2016-03-16 08:14:02 -04:00
arvidn
4926081960
fix use_read_cache=false
2016-03-16 02:22:18 -04:00
arvidn
36d0cfe40d
fix shutdown issue caused by peer connections being kept alive by disk buffer pool callbacks
2016-03-16 00:28:19 -04:00
arvidn
08bac479be
allow each peer have at least 2 allocated disk blocks at any given time, to avoid stalling when cache_size setting is small. also deprecate use_write_cache
2016-03-16 00:28:11 -04:00
Arvid Norberg
6ba5cb7826
Merge pull request #536 from ssiloti/always-cache-writes-1.1
...
Always cache writes
2016-03-15 01:49:16 -04:00
Steven Siloti
4331f57021
restrict check_cache_level to only runing on one thread at a time
...
If another thread trys to call check_cache_level then m_cache_check_state is set
to indicate that the thread currently in check_cache_level needs to call it again.
2016-03-14 19:03:12 -07:00
Steven Siloti
d405535a3f
try to free the piece after kicking the hasher and flushing
2016-03-14 19:03:12 -07:00
Steven Siloti
e8f93df700
fix indentation
2016-03-14 19:03:12 -07:00
Steven Siloti
826bbe35ee
always cache writes
2016-03-14 19:03:12 -07:00
Steven Siloti
6e8db41dd2
check_cache_level after performing a job rather than before
...
If dirty blocks are added while the job is running there is a chance of
deadlock if the dirty blocks cause the cache to exceed its size limit and
no further jobs come in to trigger another check.
2016-03-14 19:03:12 -07:00
Steven Siloti
9c5bb25d65
always clear outstanding_flush after attempting to flush a cached write
...
Also clear outstanding_flush before calling kick_hasher because kick_hasher
may unlock the cache mutex which can allow more dirty blocks to be added
which may require another flush_hashed job be added.
2016-03-14 19:03:12 -07:00
Arvid Norberg
82d177472e
Merge pull request #541 from arvidn/fix-test-transfer-1.1
...
improve message from listen_failed_alert
2016-03-14 21:43:34 -04:00
Arvid Norberg
48df15c753
Merge pull request #544 from aldenml/typos
...
Documentation typos
2016-03-14 21:04:47 -04:00
Alden Torres
303074e159
Documentation typos
2016-03-14 20:43:52 -04:00
arvidn
c5861bcc04
fix failure to increment port when retrying socket binding
2016-03-14 18:52:43 -04:00
Arvid Norberg
42d423e992
Merge pull request #540 from arvidn/remove-purgable-control-1.1
...
remove the purgable control patch
2016-03-14 17:54:12 -04:00
Arvid Norberg
beab2ec666
Merge pull request #537 from arvidn/remove-partfile-1.1
...
add option to remove partfile 1.1
2016-03-14 08:27:31 -04:00
arvidn
921cbeebed
add option to delete just the partfile when removing a torrent
2016-03-14 08:26:39 -04:00
arvidn
55cd19d1e2
remove the purgable control patch. It adds a lot of complexity and it does not perform well
2016-03-14 01:48:00 -04:00
Arvid Norberg
035f8e98d1
Merge pull request #542 from arvidn/request-timeout-1.1
...
fix seed timing-out unchoked peers for not sending requests
2016-03-14 01:44:50 -04:00
arvidn
0b4339064f
extend timeouts
2016-03-13 23:13:12 -04:00
arvidn
58e73c1469
fix typo
2016-03-13 20:47:50 -04:00
Arvid Norberg
1a6e226dc1
Merge pull request #539 from arvidn/piece-matrix-1.1
...
Piece matrix 1.1
2016-03-13 19:14:05 -04:00
arvidn
c9c401d15c
add piece matrix to client_test
2016-03-13 19:13:38 -04:00