• 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
..
Base.cxx Loading commit data...
Base.hxx Loading commit data...
Blocking.cxx Loading commit data...
Blocking.hxx Loading commit data...
Callback.hxx Loading commit data...
Cancellable.hxx Loading commit data...
Connection.cxx Loading commit data...
Connection.hxx Loading commit data...
FileReader.cxx Loading commit data...
FileReader.hxx Loading commit data...
Glue.cxx Loading commit data...
Glue.hxx Loading commit data...
Lease.hxx Loading commit data...
Manager.cxx Loading commit data...
Manager.hxx Loading commit data...