- 05 Jun, 2019 3 commits
-
-
cathugger authored
Return `404 not found` for some common well-known paths, as clients requesting them usually do that automatically and don't expect endless audio stram. Closes #572
-
cathugger authored
memcmp use may result in out of bounds access
-
Max Kellermann authored
-
- 04 Apr, 2019 1 commit
-
-
Max Kellermann authored
This missing piece probably never really hurt, because HttpdClient::OnSocketClosed() would be called right after a socket error, but it's better to be explicit about closing on error.
-
- 03 Apr, 2019 1 commit
-
-
Max Kellermann authored
-
- 28 Dec, 2018 1 commit
-
-
Max Kellermann 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.
-
- 31 Oct, 2018 1 commit
-
-
Max Kellermann authored
-
- 06 Jul, 2018 1 commit
-
-
Max Kellermann authored
This code was added in 21851c06 but looks completely broken: - the status code is "206 OK" but "206" would be "Partial Content" - the "Content-Length" header has a bogus value - the "Content-RangeX" parameter has different bogus values (why "Content-RangeX" anyway and not "Content-Range"?) Apart from that, there are strange undocumented non-standard headers which are probably there to work around bugs/expectations in one broken proprietary client product. But these days, MPD doesn't bend over to support broken clients. So let's kill this code. Closes #304
-
- 20 Dec, 2017 1 commit
-
-
Max Kellermann authored
-
- 10 Nov, 2017 5 commits
-
-
Max Kellermann authored
-
Max Kellermann authored
-
Max Kellermann authored
Passing it by value is actually smaller (32 bit) than the rvalue reference (64 bit pointer), and it ensures that the object is consumed after the call returns, no matter how the methods are implemented.
-
Max Kellermann authored
Migrate callers to GetSocket().Read(), GetSocket.Write(), which is the same.
-
Max Kellermann authored
-
- 10 Aug, 2017 2 commits
-
-
Max Kellermann authored
-
Max Kellermann authored
-
- 08 May, 2017 1 commit
-
-
Max Kellermann authored
This eliminates some overhead, because the compiler doesn't need to consider these functions throwing.
-
- 19 Feb, 2017 2 commits
-
-
Max Kellermann authored
-
Max Kellermann authored
-
- 03 Jan, 2017 2 commits
-
-
Max Kellermann authored
-
Max Kellermann authored
-
- 02 Nov, 2016 1 commit
-
-
Max Kellermann authored
-
- 12 Apr, 2016 1 commit
-
-
Max Kellermann authored
-
- 26 Feb, 2016 1 commit
-
-
Max Kellermann authored
-
- 10 Feb, 2015 1 commit
-
-
Max Kellermann authored
-
- 01 Jan, 2015 1 commit
-
-
Max Kellermann authored
-
- 09 Jul, 2014 1 commit
-
-
Gustavo Zacarias authored
Signed-off-by:
Gustavo Zacarias <gustavo@zacarias.com.ar>
-
- 24 Feb, 2014 1 commit
-
-
Max Kellermann authored
-
- 19 Feb, 2014 1 commit
-
-
Max Kellermann authored
-
- 23 Jan, 2014 1 commit
-
-
Max Kellermann authored
-
- 13 Jan, 2014 1 commit
-
-
Max Kellermann authored
-
- 06 Jan, 2014 1 commit
-
-
Max Kellermann authored
Users now have to call Close() explicitly. This simplifies using the class, as most users have automatic socket management already, and Steal() had to be used often.
-
- 04 Jan, 2014 4 commits
-
-
Max Kellermann authored
Don't let the server care for client problems.
-
Max Kellermann authored
-
Max Kellermann authored
-
Max Kellermann authored
Don't iterate the std::list each time.
-
- 31 Dec, 2013 1 commit
-
-
Max Kellermann authored
-
- 30 Oct, 2013 1 commit
-
-
Max Kellermann authored
-
- 26 Oct, 2013 1 commit
-
-
Oddegamra authored
Some, or most, Win32 audio players will pass "icy-metadata:1" to streaming servers. MPD expects a space between ":" and "1" at this point, and thus does not send any stream metadata. This applies to foobar2k and Winamp, for example. According to forums.radiotoolbox.com/viewtopic.php?t=74 not having a space there is expected behavior, so maybe MPD could accept both forms to determine if metadata should be sent or not.
-