From e64f9fe32461614cfeaeb87a7f8a3d66c5cab6c8 Mon Sep 17 00:00:00 2001 From: Jari Sundell Date: Mon, 1 Sep 2025 13:46:18 +0200 Subject: [PATCH] Include torrent/common.h header. --- src/core/http_queue.cc | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/core/http_queue.cc b/src/core/http_queue.cc index 406c7014..7cc2b557 100644 --- a/src/core/http_queue.cc +++ b/src/core/http_queue.cc @@ -2,6 +2,7 @@ #include "http_queue.h" +#include #include #include @@ -17,6 +18,9 @@ HttpQueue::insert(const std::string& url, std::shared_ptr stream) itr->add_done_slot([this, itr]() { erase(itr); }); itr->add_failed_slot([this, itr](auto) { erase(itr); }); + // TODO: Downloading http torrents doesn't seem to work. + // TODO: Quitting no longer works. + torrent::net_thread::http_stack()->start_get(*itr); return itr;