From b91b6ff646b99b8d1d521efbfc2d59bbb26ae3f0 Mon Sep 17 00:00:00 2001 From: Bernd Kuhls Date: Mon, 29 Dec 2025 19:59:19 +0100 Subject: [PATCH] package/libupnp: disable blocking-tcp Suggested by Gerbera: https://github.com/gerbera/gerbera/commit/fcf31472239705e7d28af81cbe326f8f416f7f7d CMake Warning at CMakeLists.txt:583 (message): !! It is strongly recommended to build libupnp with --disable-blocking-tcp-connections !! Without this option non-responsive control points can cause libupnp to hang. Signed-off-by: Bernd Kuhls Signed-off-by: Thomas Petazzoni (cherry picked from commit 48c1e7cc6da96b12c8c8eb59c49cb917b0ae1a43) Signed-off-by: Thomas Perale --- package/libupnp/libupnp.mk | 1 + 1 file changed, 1 insertion(+) diff --git a/package/libupnp/libupnp.mk b/package/libupnp/libupnp.mk index cd148d14d0..b81f68306a 100644 --- a/package/libupnp/libupnp.mk +++ b/package/libupnp/libupnp.mk @@ -17,6 +17,7 @@ LIBUPNP_DEPENDENCIES = host-pkgconf # Bind the internal miniserver socket with reuseaddr to allow clean restarts. LIBUPNP_CONF_OPTS += \ + --disable-blocking-tcp-connections \ --disable-samples \ --enable-reuseaddr