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
|
id='n772' href='#n772'>772 773 774 775 776 777 778 779 780 781 782 783 784 785 786 787 788 789 790 791 792 793 794 795 796 797 798 799 800 801 802 803 804 805 806 807 808 809 810 811 812 813 814 815 816 817 818 819 820 821 822 823 824 825 826 827 828 829 830 831 832 833 834 835 836 837 838 839 840 841 842 843 844 845 846 847 848 849 850 851 852 853 854 855 856 857 858 859 860 861 862 863 864 865 866 867 868 869 870 871 872 873 874 875 876 877 878 879 880 881 882 883 884 885 886 887 888 889 890 891 892 893 894 895 896 897 898 899 900 901 902 903 904 905 906 907 908 909 910 911 912 913 914 915 916 917 918 919 920 921 922 923 924 925 926 927 928 929 930 931 932 933 934 935 936 937 938 939 940 941 942 943 944 945 946 947 948 949 950 951 952 953 954 955 956 957 958 959 960 961 962 963 964 965 966 967 968 969 970 971 972 973 974 975 976 977 978 979 980 981 982 983 984 985 986 987 988 989 990 991 992 993 994 995 996 997 998 999 1000 1001 1002 1003 1004 1005 1006 1007 1008 1009 1010 1011 1012 1013 1014 1015 1016 1017 1018 1019 1020 1021 1022 1023 1024 1025 1026 1027 1028 1029 1030 1031 1032 1033 1034 1035 1036 1037 1038 1039 1040 1041 1042 1043 1044 1045 1046 1047 1048 1049 1050 1051 1052 1053 1054 1055 1056 1057 1058 1059 1060 1061 1062 1063 1064 1065 1066 1067 1068 1069 1070 1071 1072 1073 1074 1075 1076 1077 1078 1079 1080 1081 1082 1083 1084 1085 1086 1087 1088 1089 1090 1091 1092 1093 1094 1095 1096 1097 1098 1099 1100 1101 1102 1103 1104