Arvid Norberg
f407523670
Merge pull request #411 from arvidn/win-wait-for-multiple-objects
...
fix incorrect use of WaitForMultipleObjects
2016-01-19 20:30:05 -05:00
arvidn
1628a0861e
update appveyor script
2016-01-19 19:20:52 -05:00
arvidn
2fa84b3aa5
fix incorrect use of WaitForMultipleObjects
2016-01-19 18:47:21 -05:00
Arvid Norberg
08247f738b
Merge pull request #404 from arvidn/asio-debugging-fix
...
fix asio debugging feature
2016-01-19 01:25:05 -05:00
Arvid Norberg
c984ea807d
Merge pull request #409 from arvidn/RC_1_1
...
merge RC 1 1
2016-01-19 01:24:34 -05:00
Arvid Norberg
11982b4465
Merge pull request #408 from arvidn/fix-msvc-build-1.1
...
fix msvc build
2016-01-19 01:22:04 -05:00
arvidn
b7b7ae199a
fix msvc build
2016-01-19 01:19:16 -05:00
arvidn
784f8806a4
fix asio debugging feature
2016-01-18 23:13:50 -05:00
arvidn
2262a3dcaf
Merge branch 'RC_1_1'
2016-01-18 20:51:37 -05:00
arvidn
595fe157a9
fix shutdown issue
2016-01-18 20:48:27 -05:00
Arvid Norberg
a80c4f4777
Merge pull request #397 from arvidn/dht-rate-limit
...
move the DHT rate limiter into the dht_tracker class
2016-01-18 15:39:37 -05:00
arvidn
192c1480fc
update travis to allow building RC_1_1
2016-01-18 15:37:07 -05:00
arvidn
9231af24b4
update changelog
2016-01-18 15:36:04 -05:00
Arvid Norberg
7f05551388
Merge pull request #400 from arvidn/sanitize-path
...
only strip trailing dots and spaces from filenames on windows
2016-01-18 15:27:25 -05:00
arvidn
d5203c67d9
add DHT rate limit test (simulation). introduce a new counter for dropped incoming dht messages.
2016-01-18 14:34:42 -05:00
arvidn
06b52f1421
some cleanup of the dht_socket_interface and fix tests and simulations to build with the dht disabled
2016-01-18 14:34:42 -05:00
arvidn
297b8943d0
move the DHT rate limiter into the dht_tracker class and remove the rate_limited_udp_socket type. This further simplifies the udp socket (preparing for moving it into the listen_socket structure)
2016-01-18 14:34:41 -05:00
arvidn
4cbbb0620e
only strip trailing dots and spaces from filenames on windows
2016-01-18 13:07:04 -05:00
arvidn
e2392017bc
update changelog
2016-01-18 12:40:08 -05:00
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