arvidn
|
e3dad98fbe
|
fix an old use of posix_category. make http_connection translate IPs into proper endpoints when connecting over socks (instead of passing the IP on as a hostname string). add test coverage
|
2015-11-24 00:39:02 -05:00 |
arvidn
|
174e0aeb46
|
fix semantics of socks5_stream and http_connection to make them not close themselves. Add socks5 and socks4 proxy coverage in test_http_connection
|
2015-11-24 00:39:01 -05:00 |
Thomas Yuan
|
c005c937fd
|
Merge almost same functions.
|
2015-11-22 22:02:37 -05:00 |
Steven Siloti
|
1f13343a70
|
const correctness
|
2015-11-22 10:02:26 -08:00 |
Thomas Yuan
|
ab70ad3e05
|
fix comments and unit test
|
2015-11-20 00:06:08 -05:00 |
Thomas Yuan
|
194ad410dc
|
Make dht_put_alert more accurate.
|
2015-11-20 00:06:08 -05:00 |
arvidn
|
07574117ad
|
add test for readwritev and experiment with SEH handler in test
|
2015-11-19 17:58:56 -05:00 |
arvidn
|
964031c070
|
factor out readwritev to a free function, to allow unit testing of it
|
2015-11-19 17:58:55 -05:00 |
Steven Siloti
|
08632aa5f7
|
add unit test to check for multiple calls to done()
|
2015-11-09 20:47:33 -08:00 |
arvidn
|
0c435b42b2
|
add some more slack to one of the unit tests
|
2015-11-08 16:26:58 -05:00 |
arvidn
|
a138b2daa9
|
handle receiving an invalid request
|
2015-11-07 14:58:08 -05:00 |
arvidn
|
00090b8284
|
fix typo in test_checking, introduced by recent error_code in torrent_status patch
|
2015-11-07 01:01:07 -05:00 |
arvidn
|
ebb9fdaf54
|
add error_code to torrent_status instead of error string
|
2015-11-05 20:43:23 -05:00 |
arvidn
|
ee714306be
|
forward port IPv6 IP address resolution in URLs fix
|
2015-11-01 17:26:45 -05:00 |
arvidn
|
475fd61b4b
|
update ssl certificate for tests
|
2015-10-25 10:29:42 -04:00 |
arvidn
|
ee395bd772
|
attempt to update SSL certificate for unit test
|
2015-10-18 01:21:03 -04:00 |
arvidn
|
08e2bf7835
|
mark up some more functions with override and silence a few more warnings in boost headers
|
2015-10-17 10:02:37 -04:00 |
arvidn
|
2b9cd9bfde
|
fix build
|
2015-10-03 12:27:01 -04:00 |
arvidn
|
c798e388a9
|
forward port fix to proxy_peer_connections to master
|
2015-10-03 11:20:10 -04:00 |
Arvid Norberg
|
b785e789b6
|
Merge pull request #199 from arvidn/parse-magnet-fix
fix bug in parse_magnet_uri and improve unit test
|
2015-10-03 02:09:34 -04:00 |
arvidn
|
c1955ecb18
|
fix bug in parse_magnet_uri and improve unit test
|
2015-10-02 23:24:17 -04:00 |
Alden Torres
|
62b24d8b67
|
Add set_dht_storage to session API.
|
2015-10-02 09:00:07 -04:00 |
arvidn
|
a00e5aa6c7
|
forward port patch to have resume data web seeds override .torrent file web seeds, and a flag to merge them
|
2015-09-30 00:41:41 -04:00 |
arvidn
|
5da511f140
|
now that force-started torrents aren't affected by the auto-manager, they need to be explicitly kicked when entering checking state (it would be nice if all this could be done through set_state())
|
2015-09-29 20:49:38 -04:00 |
Steven Siloti
|
aa94f26b26
|
test_dht: use named parameter pattern for passing message arguments
The number of optional parameters for send_dht_request was already beyond
ridiculous and the addition of the 'want' argument pushed me over the top.
|
2015-09-27 19:16:24 -07:00 |
Alden Torres
|
197a443465
|
Fix of dht_storage_counters::peers counter.
|
2015-09-24 10:50:04 -04:00 |
Alden Torres
|
25ed70b977
|
Create dht_storage_counters to avoid internal counter in future public API.
|
2015-09-21 07:46:23 -04:00 |
arvidn
|
b628692223
|
separate out announce_entry and torrent_status into their own headers
|
2015-09-18 08:08:08 -04:00 |
Alden Torres
|
e2d682275a
|
Implementing and using new dht storage interface
|
2015-09-16 08:30:27 -04:00 |
arvidn
|
bdb2801c10
|
fix typos in appveyor.yml. attempt to cut down build times
|
2015-09-11 23:13:27 -04:00 |
Arvid Norberg
|
4b36900e8b
|
Merge pull request #148 from thomas-yuan/invalid_node_id_test
Add unit test for invalid node-id. (shouldn't be added to routing table)
|
2015-09-10 00:12:13 -04:00 |
arvidn
|
9f4cfb6ac3
|
split up test_tracker unit tests
|
2015-09-09 23:54:43 -04:00 |
Thomas Yuan
|
cfee70b350
|
unit test: a node with invalid node-id shouldn't be added to routing table.
|
2015-09-09 15:36:07 -04:00 |
Thomas Yuan
|
94a2c3131f
|
Add unit test for DHT read_only nodes.
|
2015-09-08 11:03:27 -04:00 |
arvidn
|
7437171f9a
|
disable test_ssl on travis osx
|
2015-09-06 22:55:41 -04:00 |
arvidn
|
68abd7a44d
|
move out test_alert_manager from the main test (as it actually sleeps). also add some debug logging to it
|
2015-09-06 22:55:41 -04:00 |
arvidn
|
17c5759829
|
disable warning for unused command line argument and fix warnings. remove redundant travis build config. use new preprocessor on clang to avoid warnings
|
2015-09-06 22:55:41 -04:00 |
arvidn
|
cb65694578
|
fix const correctness in xml_parse(). update unit tests rss and upnp to use new signature for parser callback
|
2015-09-06 00:38:33 -04:00 |
arvidn
|
43ee75ce02
|
only post listen_succeeded_alert once all sockets have succeeded, since we may re-open previously successful ones if a later one fails
|
2015-09-05 22:14:04 -04:00 |
Arvid Norberg
|
281c215998
|
Merge pull request #119 from arvidn/hard_links
add simple unit test for creating hard links
|
2015-08-31 07:31:23 -04:00 |
arvidn
|
c1f9d6edc3
|
fix typo
|
2015-08-31 00:19:58 -04:00 |
arvidn
|
b4381aa646
|
add unit test for linked_list
|
2015-08-30 23:34:49 -04:00 |
arvidn
|
b0a395aa61
|
remove unused includes from test
|
2015-08-30 21:51:32 -04:00 |
arvidn
|
0e3e3ea793
|
add simple unit test for creating hard links
|
2015-08-30 20:14:55 -04:00 |
arvidn
|
e3591c3a1c
|
attempt to log more and potentially fix wait_for_downloading in unit tests
|
2015-08-30 08:52:58 -04:00 |
arvidn
|
8830d61cca
|
exclude test_utp to be run on appveyor
|
2015-08-30 08:52:58 -04:00 |
arvidn
|
434be2bd83
|
add more logging around the test failure
|
2015-08-30 08:52:58 -04:00 |
arvidn
|
1142903d90
|
add unit test for new tracker proxy option
|
2015-08-30 01:50:33 -04:00 |
arvidn
|
0d9d632465
|
initial support for disabling proxy for tracker connections
|
2015-08-29 19:44:54 -04:00 |
arvidn
|
d5f9f613ef
|
attempt to fix tracker test on windows
|
2015-08-29 19:43:27 -04:00 |