Merge pull request #5093 from oqlatulesba3/fix/sni-host-proxy-retry

fix(sni): retry Host proxy creation on transient errors
This commit is contained in:
Alexis Rouillard
2026-07-03 21:47:39 +02:00
committed by GitHub
2 changed files with 28 additions and 1 deletions
+2
View File
@@ -43,6 +43,8 @@ class Host {
std::size_t watcher_id_;
GCancellable* cancellable_ = nullptr;
SnWatcher* watcher_ = nullptr;
sigc::connection retry_connection_;
unsigned retry_count_ = 0;
const Json::Value& config_;
const Bar& bar_;
const std::function<void(std::unique_ptr<Item>&)> on_add_;