Enable backup stratum connections for getwork when the primary pool doesn't have longpoll aka solo mining.
diff --git a/cgminer.c b/cgminer.c
index 9a33f46..11153a1 100644
--- a/cgminer.c
+++ b/cgminer.c
@@ -4697,7 +4697,7 @@ static bool cnx_needed(struct pool *pool)
cp = current_pool();
if (cp == pool)
return true;
- if (!cp->has_gbt && !cp->has_stratum && !opt_fail_only)
+ if (!cp->has_gbt && !cp->has_stratum && (!opt_fail_only || !cp->hdr_path))
return true;
return false;
}