- 24 Feb, 2018 1 commit
-
-
tpoeiras authored
-
- 09 Feb, 2018 2 commits
-
-
Max Kellermann authored
Not needed on Android, and the implementation uses getpwuid_r() which is unavailable on old Android versions.
-
Max Kellermann authored
-
- 29 Jan, 2018 1 commit
-
-
Max Kellermann authored
-
- 23 Jan, 2018 1 commit
-
-
Max Kellermann authored
Eliminate duplicate code.
-
- 19 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 4 commits
-
-
Max Kellermann authored
-
Max Kellermann authored
-
Max Kellermann authored
-
Max Kellermann authored
-
- 14 Nov, 2017 1 commit
-
-
Max Kellermann authored
Bugs found by Coverity.
-
- 12 Nov, 2017 2 commits
-
-
Max Kellermann authored
-
Max Kellermann authored
-
- 10 Nov, 2017 2 commits
-
-
Max Kellermann authored
-
Max Kellermann authored
-
- 21 Sep, 2017 1 commit
-
-
Max Kellermann authored
-
- 12 Sep, 2017 1 commit
-
-
Max Kellermann authored
Needed for WStringView.
-
- 29 Aug, 2017 1 commit
-
-
Max Kellermann authored
-
- 18 Aug, 2017 1 commit
-
-
Max Kellermann authored
-
- 10 Aug, 2017 1 commit
-
-
Max Kellermann authored
-
- 05 Jul, 2017 1 commit
-
-
Max Kellermann authored
-
- 04 Jun, 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
-
- 26 Jan, 2017 1 commit
-
-
Max Kellermann authored
-
- 17 Jan, 2017 1 commit
-
-
Max Kellermann authored
-
- 08 Jan, 2017 10 commits
-
-
Max Kellermann authored
-
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.
-
Max Kellermann authored
Fixes a crash that can occur due to recursion from InvalidateSockets() to ReadInfo() to CurlRequest callbacks.
-
Max Kellermann authored
-
Max Kellermann authored
-
Max Kellermann authored
-
Max Kellermann authored
-
- 07 Jan, 2017 1 commit
-
-
Max Kellermann authored
This allows constructing an instance in any thread, and register it inside the IOThread later.
-
- 06 Jan, 2017 1 commit
-
-
Max Kellermann authored
-