Commit Graph

8474 Commits

Author SHA1 Message Date
arvidn 1f9f588e75 merge copyright year update and changelog from RC_1_0 2016-01-17 18:57:46 -05:00
Arvid Norberg fa391d4961 Merge pull request #394 from arvidn/forward-port-http-fix
forward port fix for web seeds not being used by torrents added by URL
2016-01-17 17:47:25 -05:00
Arvid Norberg c39a36acb6 Merge pull request #392 from arvidn/announce-alert-fix
announce/scrape alert usability fix
2016-01-17 02:20:25 -05:00
arvidn 0c971d0d62 forward port fix for web seeds not being used by torrents added by URL 2016-01-16 23:57:33 -05:00
arvidn 3cd57b59e0 when a tracker is force announced or scraped by the user/client, the resulting response or failure alert is now posted regardless of the alert mask. Since it's user initiated, it's reasonable to expect the user to be interested in the response 2016-01-16 21:24:04 -05:00
Arvid Norberg 6fd0c1a3b0 Merge pull request #391 from arvidn/forward-port-win-symlink-fix
forward port of windows symlink fix from RC_1_0
2016-01-16 01:53:55 -05:00
arvidn 78d306157b forward port of windows symlink fix from RC_1_0 2016-01-16 01:53:27 -05:00
Arvid Norberg 13c3369463 Merge pull request #387 from arvidn/python-msvc-fix
attempt to fix python bindings on windows
2016-01-14 08:29:49 -05:00
arvidn 190fb4cfa9 attempt to fix python bindings on windows 2016-01-14 02:26:36 -05:00
Arvid Norberg 3c1c1f4dad Merge pull request #383 from aresch/py3
Add session.post_session_stats() to python bindings
2016-01-13 22:49:12 -05:00
Arvid Norberg cdc3e720d6 Merge pull request #386 from arvidn/win-file-error-handling
fix missing error handling in windows preadv/pwritev emulation
2016-01-13 21:50:49 -05:00
Andrew Resch a375317158 Remove unused include 2016-01-13 17:36:59 -08:00
Andrew Resch bcef173270 Add unittest for post_session_stats() 2016-01-13 17:35:54 -08:00
Andrew Resch 2e90ea7493 Add session_stats_alert to python bindings 2016-01-13 17:30:51 -08:00
arvidn c8f119c1a1 fix typo 2016-01-13 01:07:27 -05:00
Arvid Norberg 2de8efdb5b Merge pull request #379 from arvidn/session_stats-fix
session_stats
2016-01-13 01:01:22 -05:00
arvidn 4a28e95ce0 fix missing error handling in windows preadv/pwritev emulation 2016-01-13 00:49:17 -05:00
arvidn 13f03ce38a print the actual stats in session_stats_alert::message() and make parse_session_stats.py parse the alert output. add stats_metric objects for all performance counters 2016-01-12 23:34:37 -05:00
Arvid Norberg 5ca75a0f0f Merge pull request #384 from ssiloti/store-all-items
ensure all immutable items are stored at least once
2016-01-12 23:33:23 -05:00
Steven Siloti ab7ef98b01 ensure all immutable items are stored at least once
If num_peers is set to 1 then the item will never be stored. Bump the
minimum value to 2 so that announce_immutable_items stores all items
at least once.
2016-01-12 19:32:02 -08:00
Arvid Norberg ceed5329f4 Merge pull request #371 from arvidn/dht-set-nodeid
improve DHT bootstrap performance
2016-01-12 18:45:56 -05:00
Andrew Resch 6552138ae5 Add session.post_session_stats() to python bindings 2016-01-11 22:52:10 -08:00
arvidn 651b473908 add unit test for routing_table::update_node_id 2016-01-11 23:47:27 -05:00
arvidn f4d643bd2d instead of restarting the whole DHT when changing external IP, just rebuild the routing table and change the node IDs 2016-01-11 21:17:25 -05:00
Arvid Norberg 3078671177 Merge pull request #381 from aldenml/removed-unused-fields-file
Removed unused fields in field class
2016-01-11 12:23:48 -05:00
Alden Torres 20d8f4e3f7 Removed unused fields in field class 2016-01-11 12:07:36 -05:00
Arvid Norberg c7e19ce667 Merge pull request #378 from aresch/py3
Fix python 3 compatibility
2016-01-11 08:24:06 -05:00
Andrew Resch fc72c41556 Fix error with no converter for boost::shared_ptr<libtorrent::alert> 2016-01-10 19:57:20 -08:00
Andrew Resch a0770a087a Fix python 3 compatibility 2016-01-10 19:53:54 -08:00
Arvid Norberg 7f98aef392 Merge pull request #377 from ssiloti/dont-share-rx-buf
DHT nodes can NOT share a receive buffer
2016-01-10 22:42:31 -05:00
Steven Siloti 7b5bdc3be9 DHT nodes can NOT share a receive buffer
While the simulation is single threaded, because async_receive_from_impl uses
post() to invoke the receive handler it is possible for multiple receive
handlers to be queued up in the io_service at the same time. If this happens
with a shared receive buffer the last packet received will overwrite all the
other packets before they are handled.

The use of post() is necessary to avoid unbounded recursion in the read handler
so each node must get its own buffer.
2016-01-10 18:30:16 -08:00
Arvid Norberg 4e86c2257a Merge pull request #376 from arvidn/discardable-alerts
remove the concept of non-discardable alerts
2016-01-10 19:59:05 -05:00
Arvid Norberg d384410ea7 Merge pull request #375 from arvidn/storage-fix
fix minor storage issues
2016-01-10 16:47:19 -05:00
arvidn c16e49ec43 remove the concept of non-discardable alerts 2016-01-10 16:12:16 -05:00
Arvid Norberg 1709f4a5bf Merge pull request #374 from jberkel/master
Update comment
2016-01-10 11:54:25 -05:00
arvidn 4cc2e879c4 comment out verbose pex logging. fix bug in disabled_storage and an error reporting issue on short reads in default_storage 2016-01-10 11:50:56 -05:00
Jan Berkel 7c7ad60df6 Update comment 2016-01-10 15:09:28 +00:00
Arvid Norberg fcccd026be Merge pull request #372 from aldenml/dht-node-seen-ipv4
Avoid pass nodes with IPv6 address to current DHT
2016-01-09 23:38:43 -05:00
Alden Torres 0f442f59f3 Avoid pass IPv6 address to current implementation of DHT while adding a node 2016-01-09 18:46:19 -05:00
Arvid Norberg 641b6e51f8 Merge pull request #356 from arvidn/dht-simulator
overhaul the dht simulator
2016-01-09 11:24:11 -05:00
arvidn e06daa68a4 overhaul the dht simulator (setup_dht) to be more flexible and cheaper to run thousands of nodes 2016-01-09 01:08:52 -05:00
Arvid Norberg 3efe85849e Merge pull request #368 from arvidn/python-datetime
use datetime type for time_duration in python binding
2016-01-07 23:28:40 -05:00
arvidn ed09a6a01d use datetime type for time_duration in python binding 2016-01-07 17:47:53 -05:00
Arvid Norberg 18980e65a9 Merge pull request #365 from arvidn/python-fix
extend python binding unit test and fix bugs in it
2016-01-06 08:15:09 -05:00
arvidn f44fb4c660 extend python binding unit test and fix bugs in it 2016-01-06 00:17:51 -05:00
Arvid Norberg c36d1d1051 Merge pull request #364 from aldenml/doc-typos
More documentation typos
2016-01-05 22:40:52 -05:00
Alden Torres 7b34379c87 Doc typos 2016-01-05 08:31:04 -05:00
Arvid Norberg c56cf82d50 Merge pull request #359 from arvidn/forward-port
forward port fixes from RC_1_0
2016-01-05 08:16:05 -05:00
arvidn 49b24d4cd0 fix python bindings 2016-01-05 01:32:04 -05:00
Arvid Norberg b750f0bae5 Merge pull request #361 from lucab/lucab/autotools-check
Fixes to run `make check`
2016-01-05 01:29:49 -05:00