summaryrefslogtreecommitdiffstats
path: root/src/curl_wrapper.cpp
Commit message (Collapse)AuthorAge
* Fix some warnings.tastytea2020-11-13
| | | | Avoid copy, initialize members in header, initialize variables.
* Reformat source files.tastytea2020-11-13
|
* Ensure that the first parameter in all GET calls is prefaced with ?.tastytea2020-03-20
| | | | | All calls to CURLWrapper::add_parameters_to_uri() but the first used & for all parameters, because the boolean keeping track was implemented wrong.
* Add copy constructor for CURLWrapper.tastytea2020-03-20
| | | | | The copy constructor does the same as the constructor. A new CURL handle is used for the “copy”.
* Handle more than one replacement in replace_parameter_in_uri().tastytea2020-03-12
|
* Update parameter replacements for Pleroma 2.0.0.tastytea2020-03-12
|
* Rename buffer_mutex → _buffer_mutex.tastytea2020-01-28
|
* Make some private members of CURLWrapper static.tastytea2020-01-26
| | | | replace_parameter_in_uri(), add_parameters_to_uri() and add_mime_part().
* Use brace initialization for _stream_cancelled.tastytea2020-01-26
|
* Explicitly call CURLWrapper::set_useragent() in setup_curl().tastytea2020-01-26
|
* Log proxy changes when debugging.tastytea2020-01-16
|
* Silence false-positive clang-tidy warning,tastytea2020-01-14
| | | | and one I can't do anything about.
* Add account_id and list_id to list of parameters to replace in URIs.tastytea2020-01-14
|
* Add set_useragent().tastytea2020-01-12
|
* Make argument of CURLWrapper::set_cafile() const.tastytea2020-01-12
|
* Simplify connection setup.tastytea2020-01-12
| | | | By adding CURLWrapper::setup_connection_properties.
* Add Instance::set_cainfo().tastytea2020-01-12
|
* Don't check errors if it can't fail.tastytea2020-01-11
|
* Log URI replacements.tastytea2020-01-11
|
* Add support for DELETE requests.tastytea2020-01-11
|
* Add HTTP methods PATCH and PUT.tastytea2020-01-11
|
* Add support for sending files in HTTP forms.tastytea2020-01-11
|
* Add add_mime_part().tastytea2020-01-11
| | | | Makes code more readable and decreases duplication.
* Hide CURLWrapper::cancel_stream().tastytea2020-01-10
|
* Actually set the proxy to the string in CURLWrappper::set_proxy().tastytea2020-01-10
|
* Define CURLAUTH_BEARER as CURLAUTH_ANY with libcurl < 7.61.0tastytea2020-01-10
|
* Replace if constexpr with preprocessor if.tastytea2020-01-10
|
* Only use CURLAUTH_BEARER if libcurl supports it.tastytea2020-01-10
|
* Silence clang-tidy warnings I can't do anything about.tastytea2020-01-10
|
* Allow HTTP POST without parameters.tastytea2020-01-10
|
* Send the access token.tastytea2020-01-10
|
* Add vector fields to HTTP forms.tastytea2020-01-10
|
* Fix User-Agent.tastytea2020-01-10
|
* Implement HTTP POST in CURLWrapper.tastytea2020-01-10
|
* Clear buffers before making a request.tastytea2020-01-09
|
* Expand section about thread safety in documentation.tastytea2020-01-09
|
* Add streaming example.tastytea2020-01-08
|
* Only check for libcurl return code if it could return an error.tastytea2020-01-08
|
* Add streaming support.tastytea2020-01-08
|
* Make curl writer non-satatic and add static wrapper.tastytea2020-01-08
| | | | We need to use the mutex, a class member, from within the writer function.
* Move URI building for GET requets to add_parameters_to_uri().tastytea2020-01-08
|
* Add set_proxy().tastytea2020-01-08
|
* Replace string with string_view where possible.tastytea2020-01-08
|
* Replace arguments in URI.tastytea2020-01-08
| | | | id, nickname, nickname_or_id, hashtag, permission_group.
* Add support for parameters (GET).tastytea2020-01-08
|
* Follow up to 10 HTTP redirects automatically.tastytea2020-01-08
| | | | This includes permanent redirects.
* Make curlwrapper_instances explicitly atomic.tastytea2020-01-08
|
* Set User-Agent.tastytea2020-01-06
|
* Make curlwrapper_instances static.tastytea2020-01-05
|
* Do global curl init / cleanup only once.tastytea2020-01-05
|