Commit Graph

7670 Commits

Author SHA1 Message Date
Arvid Norberg 41eff1801e Merge pull request #13 from aldenml/more-dht-api
Added dht_get_peers and dht_announce at session_impl level.
2015-07-04 10:08:14 -04:00
Arvid Norberg bf20af1e05 Merge pull request #19 from john-peterson/rt2
support winrt
2015-07-04 10:06:30 -04:00
John Sebastian Peterson cc67c60938 hide cx keyword from winrt
instead of a hacky undef that break the keyword
2015-07-04 06:04:06 +02:00
John Sebastian Peterson bb25acd661 use a better windows.foundation.collections.h(462) conflict fix 2015-07-04 05:59:38 +02:00
Alden Torres e7ee3590fa Simplified dht_get_peers_reply_alert memory handling to work with only one allocation and return all peers at once. 2015-07-03 22:59:44 -04:00
John Sebastian Peterson 30142e35ac conform crypt api detection to coding standard 2015-07-04 01:42:33 +02:00
Alden Torres acc130833a Better handling of memory layout and use of detail io functions (thanks to @arvidn comments). 2015-07-02 21:35:59 -04:00
John Sebastian Peterson e7caa2d20f fix winrt compile error in windows.foundation.collections.h(428) 2015-07-02 09:58:17 +02:00
John Sebastian Peterson 7f160e42a5 fix c++/cx interface name conflict in alerts 2015-07-02 09:58:12 +02:00
John Sebastian Peterson 43c1de33b4 use cryptgenrandom successor in winrt 2015-07-02 09:55:35 +02:00
John Sebastian Peterson 2bbb238b4b use getfileattributes successor to support winrt 2015-07-02 09:55:34 +02:00
John Sebastian Peterson cc8a77b363 use createsemaphore and waitforsingleobject successor to support winrt 2015-07-02 09:55:33 +02:00
John Sebastian Peterson 02cee0e96e add winrt detection 2015-07-02 09:55:29 +02:00
Alden Torres c89f89511b Forgot to add the very important alloc offset. 2015-07-01 15:30:09 -04:00
Alden Torres f772675d95 Removed uTP implied port logic from dht_announce. 2015-07-01 15:30:09 -04:00
Alden Torres d9246d12c4 Re-implemented dht_get_peers_reply_alert using the stack_allocator for peers vector storage. 2015-07-01 15:30:09 -04:00
Alden Torres cbba63ce94 Created new alert category for pure DHT operations. 2015-07-01 15:30:08 -04:00
Alden Torres fcac7140f8 Added dht_get_peers and dht_announce at session_impl level. 2015-07-01 15:30:08 -04:00
arvidn 94d6e06c97 first step in making opening all the listen sockets a bit more reliable 2015-06-29 23:10:09 -04:00
arvidn d1670c72c2 removed sparse-regions support 2015-06-29 20:40:32 -04:00
arvidn d887f5719d it's called peer_list now 2015-06-29 19:56:39 -04:00
arvidn e2784df13c factor out file progress tracking from the torrent class 2015-06-28 22:47:11 -04:00
arvidn 2d1db68ea6 fix diagnostic push/pop issue 2015-06-28 18:44:37 -04:00
arvidn a754559ac6 improve logging aroud binding listen sockets 2015-06-28 09:13:59 -04:00
arvidn b4c3c40380 simplify settings in test_priority.cpp 2015-06-27 16:16:18 -04:00
Arvid Norberg cd613e3555 Merge pull request #16 from ssiloti/master
remove inaccurate comment about deadlocking in torrent_handle
2015-06-27 16:13:53 -04:00
Steven Siloti d7a3b05fdc remove inaccurate comment about deadlocking in torrent_handle 2015-06-27 11:22:13 -07:00
arvidn c3347de3bf attempted fix for cpu_id issues on ubuntu 2015-06-26 23:23:08 -04:00
arvidn 52a77b6033 another travis -j update 2015-06-25 01:00:17 -04:00
Arvid Norberg 8dbef2d32a Merge pull request #11 from aldenml/announce-get_peers-refactor
Refactor to expose a more convenient get_peers function as part of the DHT api.
2015-06-25 00:33:15 -04:00
arvidn 3bfffe22a6 just use -j4 in travis script 2015-06-25 00:29:38 -04:00
arvidn 040a5b7048 fix travis config and make it adapt to the number of CPUs 2015-06-25 00:26:22 -04:00
arvidn 7c7ea4cd90 travis tweak 2015-06-24 22:26:21 -04:00
Alden Torres 5c8c9cd653 Refactor to expose a more convenient get_peers function as part of the DHT api.
Now announce (a particular case of get_peers DHT operation) uses the function get_peers.
2015-06-24 21:22:24 -04:00
arvidn 3b83c5418c attempt to make starting proxy server for tests more reliable 2015-06-24 20:51:23 -04:00
Arvid Norberg 14d3f69b48 Merge pull request #8 from mlt/i2p-hs-pf
Extend i2p handshake timeout and fail to find i2p peers
2015-06-24 20:51:13 -04:00
Mikhail Titov bef92dc179 Fix default SAM port 2015-06-24 19:41:41 -05:00
Mikhail Titov 3d448402a4 Don't attempt to find_peers in peer_list for i2p
This closes #7
2015-06-24 19:41:32 -05:00
Mikhail Titov 77ca1ac16f Quadruple handshake timeout for i2p 2015-06-24 19:40:17 -05:00
arvidn 9fc4968dc4 attempt to make start_web_server more robust in the tests 2015-06-22 23:55:47 -04:00
arvidn 4054b4374b whitespace 2015-06-22 23:32:02 -04:00
arvidn 130fc2d640 forward port logging patch from RC_1_0 2015-06-22 02:14:17 -04:00
arvidn 8528a74828 fix bug in test_http_connection 2015-06-21 23:06:08 -04:00
arvidn 6621a1ba1a documentation fix 2015-06-21 22:54:12 -04:00
arvidn 9ff9965dbd fix typo 2015-06-21 20:49:55 -04:00
arvidn 08016494a9 split up test_http_connection into smaller test cases 2015-06-21 12:41:50 -04:00
arvidn d704c00615 disable test_random. 2015-06-21 02:28:15 -04:00
arvidn 7d2deb01db split up test_storage into smaller test cases to improve output on failures 2015-06-20 22:34:44 -04:00
arvidn 8b66fbe194 fix bug in previous commit 2015-06-20 18:17:49 -04:00
arvidn 665b553941 merged logging patch from RC_1_0 2015-06-20 17:51:59 -04:00