From 989d15074a529d1bba690c3d356d53eb8a11232d Mon Sep 17 00:00:00 2001 From: hiyukoim <11803292+hiyukoim@users.noreply.github.com> Date: Tue, 7 Jul 2026 11:24:42 +0200 Subject: [PATCH] fix(radio): expire idle ICY connections Pooled keep-alive connections from failed ICY attempts lingered until the station closed them (observed live against zeno.fm); bound the idle pool. Signed-off-by: hiyukoim <11803292+hiyukoim@users.noreply.github.com> --- core/radio/provider.go | 2 ++ 1 file changed, 2 insertions(+) diff --git a/core/radio/provider.go b/core/radio/provider.go index 087361e93..b440545c2 100644 --- a/core/radio/provider.go +++ b/core/radio/provider.go @@ -19,6 +19,8 @@ var icyHTTPClient = &http.Client{ }).DialContext, TLSHandshakeTimeout: 10 * time.Second, ResponseHeaderTimeout: 30 * time.Second, + IdleConnTimeout: 60 * time.Second, + MaxIdleConnsPerHost: 1, }, }