- 01 Jul, 2022 5 commits
-
-
Max Kellermann authored
-
Max Kellermann authored
-
Max Kellermann authored
-
Max Kellermann authored
-
Max Kellermann authored
-
- 22 Jan, 2021 1 commit
-
-
Max Kellermann authored
-
- 15 Dec, 2020 3 commits
-
-
Max Kellermann authored
This eliminates some complexity from class CurlRequest.
-
Max Kellermann authored
-
Max Kellermann authored
-
- 26 Mar, 2020 1 commit
-
-
Max Kellermann authored
-
- 04 Dec, 2019 1 commit
-
-
Max Kellermann authored
-
- 19 Aug, 2019 2 commits
-
-
Max Kellermann authored
-
Max Kellermann authored
-
- 15 Jan, 2018 1 commit
-
-
Max Kellermann authored
Allows constructing the request first and set the URL later. This is needed because curl_easy_escape() is needed to construct the URL, which however needs the CURL "easy" handle created by the Request class.
-
- 11 Jan, 2018 1 commit
-
-
Max Kellermann authored
-
- 14 Nov, 2017 1 commit
-
-
Max Kellermann authored
Bugs found by Coverity.
-
- 12 Nov, 2017 1 commit
-
-
Max Kellermann authored
-
- 21 Sep, 2017 1 commit
-
-
Max Kellermann authored
-
- 17 Jan, 2017 1 commit
-
-
Max Kellermann authored
-
- 08 Jan, 2017 2 commits
-
-
Max Kellermann authored
libcurl's WRITEFUNCTION is pretty fragile; if we destroy the CURL* instance or even unregister it using curl_multi_remove_handle(), libcurl will crash instantly. But still we need to be able to handle exceptions from inside the WRITEFUNCTION, and call CurlResponseHandler::OnError(), which may destroy the whole thing. As a workaround, I use DeferredMonitor to postpone the OnError() call into a stack frame which is allowed to destroy the request.
-
Max Kellermann authored
Let the caller decide what to do with the exception.
-
- 07 Jan, 2017 1 commit
-
-
Max Kellermann authored
This allows constructing an instance in any thread, and register it inside the IOThread later.
-
- 03 Jan, 2017 2 commits
-
-
Max Kellermann authored
The CurlRequest gives us a more low-level API to CURL without the InputStream interface, integrated into our IOThread.
-
Max Kellermann authored
-
- 25 Aug, 2015 1 commit
-
-
Max Kellermann authored
-
- 02 Jul, 2014 1 commit
-
-
Max Kellermann authored
-
- 13 Jan, 2014 1 commit
-
-
Max Kellermann authored
-
- 17 Oct, 2013 1 commit
-
-
Max Kellermann authored
Allows forward-declaration.
-
- 11 Jan, 2013 1 commit
-
-
Max Kellermann authored
Use CRITICAL_SECTION and CONDITION_VARIABLE. This requires Windows Vista or newer. It fixes problems with GLib threading objects that were implicitly created by static constructors before g_thread_init().
-
- 10 Jan, 2013 1 commit
-
-
Max Kellermann authored
-
- 03 Jan, 2013 1 commit
-
-
Max Kellermann authored
-
- 02 Aug, 2012 1 commit
-
-
Max Kellermann authored
-
- 29 Jan, 2011 1 commit
-
-
Max Kellermann authored
-
- 01 Jan, 2010 1 commit
-
-
Avuton Olrich authored
-
- 24 Sep, 2009 1 commit
-
-
Max Kellermann authored
Don't call g_error(), which will abort the process and dump core.
-
- 13 Mar, 2009 1 commit
-
-
Avuton Olrich authored
This updates the copyright header to all be the same, which is pretty much an update of where to mail request for a copy of the GPL and the years of the MPD project. This also puts all committers under 'The Music Player Project' umbrella. These entries should go individually in the AUTHORS file, for consistancy.
-
- 24 Feb, 2009 1 commit
-
-
Max Kellermann authored
Renamed functions.
-
- 30 Dec, 2008 2 commits
-
-
Max Kellermann authored
This is a rather huge patch, which unfortunately cannot be splitted. Instead of using our custom ioops.h library, convert everything to use the GLib main loop.
-
Max Kellermann authored
Merged freeAllListenSockets() into closeAllListenSockets(), because this is its only caller.
-
- 31 Oct, 2008 1 commit
-
-
Max Kellermann authored
"LOG_H" is a macro which is also used by ffmpeg/log.h. This is ffmpeg's fault, because short macros should be reserved for applications, but since it's always a good idea to choose prefixed macro names, even for applications, we are going to do that in MPD.
-