From 05eac20ffe5af325ac7d4019e72d3ac0b69d494a Mon Sep 17 00:00:00 2001 From: Max Kellermann Date: Wed, 1 Feb 2017 21:16:50 +0100 Subject: lib/nfs/Connection: detect libnfs reconnect When rpc_reconnect_requeue() gets called from inside nfs_service(), the NfsInputStream can stall completely because the old socket has been unregistered from epoll automatically, but the new one has never been registered. Therefore, nfs_service() will never be called again. This kludge attempts to detect this condition by checking nfs_which_events()==POLLOUT. https://bugs.musicpd.org/view.php?id=4081 --- NEWS | 2 ++ 1 file changed, 2 insertions(+) (limited to 'NEWS') diff --git a/NEWS b/NEWS index 01c190ac9..d32a375c5 100644 --- a/NEWS +++ b/NEWS @@ -1,4 +1,6 @@ ver 0.20.4 (not yet released) +* input + - nfs: fix freeze after reconnect * output - sndio: work around a libroar C++ incompatibility * workaround for GCC 4.9 "constexpr" bug -- cgit v1.2.3