FS#73298 - [libupnp] Disable Blocking TCP, Enable reuseaddr
Attached to Project:
Arch Linux
Opened by kyak (kyak) - Saturday, 08 January 2022, 15:20 GMT
Last edited by David Runge (dvzrv) - Saturday, 19 February 2022, 13:34 GMT
Opened by kyak (kyak) - Saturday, 08 January 2022, 15:20 GMT
Last edited by David Runge (dvzrv) - Saturday, 19 February 2022, 13:34 GMT
|
Details
Description:
libupnp package currently doesn't specify any extra options for the build. It would be advantegeous to specify options to disable blocking TCP and to enable reuseaddr. One of libupnp users, gerbera, recommends these settings: -- Found libupnp: /usr/lib/libupnp.so (found version 1.14.12) CMake Warning at CMakeLists.txt:358 (message): !! It is strongly recommended to build libupnp with --enable-reuseaddr !! Without this option Gerbera will be unable to restart with the same port number. CMake Warning at CMakeLists.txt:365 (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. Additional info: * Upstream in unlikely to change the default behaviour in the 1.14.x branch: https://github.com/pupnp/pupnp/pull/354 * The following needs to be added to PKGBUILD: -Dblocking_tcp_connections=OFF \ -Dreuseaddr=ON \ |
This task depends upon
Closed by David Runge (dvzrv)
Saturday, 19 February 2022, 13:34 GMT
Reason for closing: Fixed
Additional comments about closing: Fixed with libupnp 1.14.12-3
Saturday, 19 February 2022, 13:34 GMT
Reason for closing: Fixed
Additional comments about closing: Fixed with libupnp 1.14.12-3