- 04 Apr, 2019 2 commits
-
-
Max Kellermann authored
Expect OnSocketReady() to cancel events. If it returns false, the SocketMonitor may be destructed already. This fixes a use-after-free bug in the "httpd" output plugin.
-
Max Kellermann authored
-
- 20 Mar, 2019 3 commits
-
-
Max Kellermann authored
-
Max Kellermann authored
Closes https://github.com/MusicPlayerDaemon/MPD/issues/510
-
Max Kellermann authored
.. and not "UNIX domain socket. Be consistent about the naming.
-
- 25 Feb, 2019 1 commit
-
-
Max Kellermann authored
-
- 05 Feb, 2019 1 commit
-
-
Max Kellermann authored
This replaces the old `dead` flag which was unreliable; it was `false` if the EventThread was not yet started, which could cause deadlocks in BlockingCall().
-
- 09 Dec, 2018 1 commit
-
-
Jacob Vosmaer authored
-
- 19 Nov, 2018 1 commit
-
-
Max Kellermann authored
Since we switched from autotools to Meson in commit 94592c14, we don't need to include `config.h` early to properly enable large file support. Meson passes the required macros on the compiler command line instead of defining them in `config.h`. This means we can include `config.h` at any time, whenever we want to check its macros, and there are no ordering constraints.
-
- 14 Nov, 2018 1 commit
-
-
Max Kellermann authored
MPD's default is 100ms, which is too long for the real-time I/O thread. The OutputThread has 100us, but the real-time I/O thread might have tighter deadlines. This change has currently no effect (I believe), because nobody uses timers on the RTIO thread.
-
- 11 Nov, 2018 1 commit
-
-
Max Kellermann authored
-
- 31 Oct, 2018 1 commit
-
-
Max Kellermann authored
-
- 30 Oct, 2018 10 commits
-
-
Max Kellermann authored
-
Max Kellermann authored
-
Max Kellermann authored
-
Max Kellermann authored
-
Max Kellermann authored
-
Max Kellermann authored
-
Max Kellermann authored
-
Max Kellermann authored
-
Max Kellermann authored
-
Max Kellermann authored
-
- 14 Oct, 2018 1 commit
-
-
Max Kellermann authored
So long, autotools! This is my last MPD related project to migrate away from it. It has its strengths, but also very obvious weaknesses and weirdnesses. Today, many of its quirks are not needed anymore, and are cumbersome and slow. Now welcome our new Meson overlords!
-
- 22 Aug, 2018 1 commit
-
-
Max Kellermann authored
-
- 21 Aug, 2018 1 commit
-
-
Max Kellermann authored
The new implementation is copied from another project and is BSD-licensed. It is exception-safe and can parse IPv6 scope ids with interface names.
-
- 20 Aug, 2018 1 commit
-
-
Max Kellermann authored
-
- 14 Aug, 2018 1 commit
-
-
1848 authored
first call fchmod() to prevent TOCTTOU, then apply permissions using chmod()
-
- 09 Aug, 2018 1 commit
-
-
Max Kellermann authored
This call was broken since commit 9a5bcc6d because the `UniqueSocketDescriptor` had already been moved.
-
- 07 Aug, 2018 2 commits
- 06 Aug, 2018 4 commits
-
-
Max Kellermann authored
-
Max Kellermann authored
-
Max Kellermann authored
-
Max Kellermann authored
-
- 15 Jul, 2018 1 commit
-
-
Max Kellermann authored
-
- 16 Feb, 2018 1 commit
-
-
Max Kellermann authored
The normal I/O event thread can have a large latency, e.g. when libgnutls loads all TLS CA certificates for a https connect. This makes it unreliable for the ALSA I/O notifications, and causes ring buffer xruns. To avoid interfering with high latency events such as CURL's, we move the ALSA I/O events to a separate I/O thread which also obtains real-time scheduling (if possible). Closes #221
-
- 29 Jan, 2018 4 commits
-
-
Max Kellermann authored
-
Max Kellermann authored
Works around a deadlock bug which happens when waiting for an EventLoop which isn't running anymore.
-
Max Kellermann authored
-
Max Kellermann authored
-