fixed issue with UDP over SOCKS5. Added a udp tracker to the unit test to make sure it works. Added tracker tests for all proxies

This commit is contained in:
Arvid Norberg
2010-02-18 04:37:02 +00:00
parent 9197081618
commit 09a1023eb3
9 changed files with 300 additions and 44 deletions

View File

@@ -50,7 +50,8 @@ bool print_alerts(libtorrent::session& ses, char const* name
void test_sleep(int millisec);
boost::intrusive_ptr<libtorrent::torrent_info> create_torrent(std::ostream* file = 0, int piece_size = 16 * 1024, int num_pieces = 13);
boost::intrusive_ptr<libtorrent::torrent_info> create_torrent(std::ostream* file = 0
, int piece_size = 16 * 1024, int num_pieces = 13, bool add_tracker = true);
boost::tuple<libtorrent::torrent_handle
, libtorrent::torrent_handle
@@ -66,5 +67,8 @@ void stop_web_server();
void start_proxy(int port, int type);
void stop_proxy(int port);
void stop_tracker();
int start_tracker();
#endif