- 29 Aug, 2017 1 commit
-
-
Max Kellermann authored
-
- 10 Aug, 2017 2 commits
-
-
Max Kellermann authored
-
Max Kellermann authored
-
- 04 Jun, 2017 1 commit
-
-
Max Kellermann authored
-
- 15 May, 2017 1 commit
-
-
Max Kellermann authored
See commit 71f0ed8b
-
- 08 May, 2017 1 commit
-
-
Max Kellermann authored
This eliminates some overhead, because the compiler doesn't need to consider these functions throwing.
-
- 08 Feb, 2017 1 commit
-
-
Max Kellermann authored
-
- 06 Feb, 2017 1 commit
-
-
Max Kellermann authored
-
- 01 Feb, 2017 2 commits
-
-
Max Kellermann authored
Fixes race condition when epoll_ctl() gets called after the socket has been closed, which may affect a different socket created by another thread meanwhile.
-
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
-
- 26 Jan, 2017 2 commits
-
-
Max Kellermann authored
Make sure we're using the same EventLoop as the NfsManager.
-
Max Kellermann authored
-
- 25 Jan, 2017 1 commit
-
-
Max Kellermann authored
Eliminate dependency on io_thread_get().
-
- 14 Jan, 2017 1 commit
-
-
Max Kellermann authored
-
- 03 Jan, 2017 2 commits
-
-
Max Kellermann authored
-
Max Kellermann authored
-
- 29 Dec, 2016 1 commit
-
-
Max Kellermann authored
-
- 28 Dec, 2016 1 commit
-
-
Max Kellermann authored
-
- 10 Nov, 2016 1 commit
-
-
Max Kellermann authored
-
- 16 Sep, 2016 1 commit
-
-
Max Kellermann authored
-
- 09 Sep, 2016 1 commit
-
-
Max Kellermann authored
-
- 05 Aug, 2016 1 commit
-
-
Max Kellermann authored
Required for Boost 1.61, which uses that overload in a BOOST_ASSERT().
-
- 01 Mar, 2016 1 commit
-
-
Max Kellermann authored
-
- 26 Feb, 2016 1 commit
-
-
Max Kellermann authored
-
- 06 Nov, 2015 1 commit
-
-
Max Kellermann authored
-
- 19 Oct, 2015 1 commit
-
-
Max Kellermann authored
-
- 01 Jan, 2015 1 commit
-
-
Max Kellermann authored
-
- 14 Dec, 2014 13 commits
-
-
Max Kellermann authored
-
Max Kellermann authored
SocketMonitor::Cancel() does not actually unregister the socket; it only disables the event.
-
Max Kellermann authored
-
Max Kellermann authored
-
Max Kellermann authored
-
Max Kellermann authored
When mounting had not yet finished, SocketMonitor::IsDefined() was always false, due to the workaround at the beginning of the function that calls SocketMonitor::Steal(). This commit drops the IsDefined() check because it was never necessary and breaks reconnect.
-
Max Kellermann authored
-
Max Kellermann authored
nfs_destroy_context() will invoke all pending callbacks with err==-EINTR. In CancellableCallback::Callback(), this will invoke NfsConnection::DeferClose(), which however is only designed to be called from nfs_service(). In non-debug mode, this will leak memory because nfs_close_async() is never called. Workaround: before nfs_destroy_context(), invoke nfs_close_async() on all pending file handles.
-
Max Kellermann authored
-
Max Kellermann authored
-
Max Kellermann authored
-
Max Kellermann authored
-
Max Kellermann authored
The method NfsConnection::CancellableCallback::Callback() will always invoke NfsConnection::Close() on the file handle, even if the void pointer is not a nfsfh. This can happen if the Open() was not successful, e.g. when the file does not exist.
-