Commit Graph

7677 Commits

Author SHA1 Message Date
Chocobo1 329d797342 Add test case for igd_version 2015-07-09 20:11:24 +08:00
Chocobo1 70fa9098a8 Fix error when building test_file_progress, missed in e2784df 2015-07-09 20:11:23 +08:00
Chocobo1 f92df7f782 Add support for IGD version 2 2015-07-09 20:11:23 +08:00
arvidn 1c708cca28 fix build 2015-07-05 21:41:53 -04:00
arvidn 78399f7968 shave off some includes in torrent.cpp 2015-07-05 19:32:13 -04:00
arvidn a63cfd2a95 improve logging (specifically don't emit bandwidth limiter logs when it's disabled) 2015-07-05 18:44:02 -04:00
arvidn 3b3a23a87a whitespace 2015-07-05 18:33:47 -04:00
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