From 792e04b47defb1d8492b80d6bd4ee50338d4451e Mon Sep 17 00:00:00 2001 From: ejurgensen Date: Tue, 11 Feb 2025 16:44:47 +0100 Subject: [PATCH] [artwork] Allow longer tokens in auth headers towards online sources Fixes "Cannot make request for online artwork, auth header is too long" error --- src/artwork.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/artwork.c b/src/artwork.c index 010732c2..e423f067 100644 --- a/src/artwork.c +++ b/src/artwork.c @@ -1296,7 +1296,7 @@ online_source_history_update(const struct online_source *src, int id, uint32_t r static int auth_header_add(struct keyval *headers, const struct online_source *src) { - char auth_header[256]; + char auth_header[512]; char *auth_key; char *auth_secret; int ret;