- 10 Jun, 2020 1 commit
-
-
Max Kellermann authored
Our Windows build is built with `--disable-netrc`, and that makes CURLOPT_NETRC fail, causing failures with all streams. D'oh! Closes https://github.com/MusicPlayerDaemon/MPD/issues/886
-
- 26 Mar, 2020 4 commits
-
-
Thomas Guillem authored
Apparently, it's not possible to change CURLOPT_NETRC on Android.
-
Rosen Penev authored
Found with readability-uppercase-literal-suffix Signed-off-by:
Rosen Penev <rosenp@gmail.com>
-
Max Kellermann authored
-
Max Kellermann authored
-
- 23 Dec, 2019 1 commit
-
-
Max Kellermann authored
For simplicity, this commit removes a workaround for an old CURL bug.
-
- 04 Dec, 2019 1 commit
-
-
Max Kellermann authored
-
- 24 Feb, 2018 1 commit
-
-
tpoeiras authored
-
- 29 Jan, 2018 1 commit
-
-
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 2 commits
-
-
Max Kellermann authored
-
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
-
- 12 Sep, 2017 1 commit
-
-
Max Kellermann authored
Needed for WStringView.
-
- 05 Jul, 2017 1 commit
-
-
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.
-
- 10 Mar, 2017 2 commits
-
-
Max Kellermann authored
-
Max Kellermann authored
-
- 17 Jan, 2017 1 commit
-
-
Max Kellermann authored
-
- 08 Jan, 2017 4 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.
-
Max Kellermann authored
When the request is done, only unregister the CURL* handle, but do not delete it yet - it may still be needed for CURLINFO_RESPONSE_CODE.
-
Max Kellermann authored
Convert assertion to runtime check. This is useful because this is a public method, and the caller has no chance to check if the object is still registered.
-
- 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 1 commit
-
-
Max Kellermann authored
The CurlRequest gives us a more low-level API to CURL without the InputStream interface, integrated into our IOThread.
-