Files
libtorrent/test/test_web_seed_socks5.cpp
2026-06-13 11:33:29 +02:00

25 lines
584 B
C++

/*
Copyright (c) 2013, 2015, 2017, 2020-2022, Arvid Norberg
Copyright (c) 2020, Paul-Louis Ageneau
All rights reserved.
You may use, distribute and modify this code under the terms of the BSD license,
see LICENSE file.
*/
#include "test.hpp"
#include "disk_io_test.hpp"
#include "setup_transfer.hpp"
#include "web_seed_suite.hpp"
using namespace lt;
const int proxy = lt::settings_pack::socks5;
#if TORRENT_USE_SSL
TORRENT_TEST_DISK_IO(url_seed_ssl) { run_http_suite(proxy, "https", disk_io); }
#endif
TORRENT_TEST_DISK_IO(url_seed) { run_http_suite(proxy, "http", disk_io); }