• Max Kellermann's avatar
    lib/nfs/Connection: detect libnfs reconnect · 05eac20f
    Max Kellermann authored
    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
    05eac20f
Name
Last commit
Last update
android Loading commit data...
doc Loading commit data...
m4 Loading commit data...
python/build Loading commit data...
scripts Loading commit data...
src Loading commit data...
systemd Loading commit data...
test Loading commit data...
win32 Loading commit data...
.gitignore Loading commit data...
AUTHORS Loading commit data...
COPYING Loading commit data...
INSTALL Loading commit data...
Makefile.am Loading commit data...
NEWS Loading commit data...
README.md Loading commit data...
autogen.sh Loading commit data...
configure.ac Loading commit data...
mpd.svg Loading commit data...
valgrind.suppressions Loading commit data...