Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | apply `tls.policy` to cURL calls | Steffen Jaeckel | 2022-03-22 | 1 | -0/+7 |
| | | | | | | | | | | | | In case the user decides to ignore the validity-state of certificates we also have to configure libcurl accordingly. `tls.policy` can be set via ``` /account set <account> tls trust ``` Signed-off-by: Steffen Jaeckel <jaeckel-floss@eyet-services.de> | ||||
* | add profanity-specific CAfile | Steffen Jaeckel | 2022-03-22 | 1 | -0/+6 |
| | | | | | | | | The profanity-internal mechanism to allow connecting to a server isn't easily portable to cURL. Therefor introduce a profanity-specific CAfile which is managed individually and will be configured in libcurl calls. Signed-off-by: Steffen Jaeckel <jaeckel-floss@eyet-services.de> | ||||
* | Get rid of asprintf and _GNU_SOURCE define | Michael Vetter | 2021-03-30 | 1 | -2/+0 |
| | | | | | | | _GNU_SOURCE was even in some files where it was not needed at all (http*). Let's replace asprintf() with g_strdup_printf(). | ||||
* | Fix deadlock on error before HTTP download has begun | William Wennerström | 2020-12-10 | 1 | -4/+6 |
| | |||||
* | Remove cmd_tiny, empty files and link nonce with IV | William Wennerström | 2020-12-07 | 1 | -2/+2 |
| | |||||
* | Rework url to filename | William Wennerström | 2020-12-06 | 1 | -0/+1 |
| | |||||
* | Refactor for threaded external executable for built-in download methods | William Wennerström | 2020-12-03 | 1 | -0/+20 |
| | |||||
* | Switch to g_strerror | William Wennerström | 2020-11-16 | 1 | -7/+3 |
| | |||||
* | Move common http tool code to http_common | William Wennerström | 2020-11-16 | 1 | -47/+5 |
| | |||||
* | Add I/O error handling and use filenames instead of file descriptors | William Wennerström | 2020-11-16 | 1 | -23/+29 |
| | |||||
* | Refactor OMEMO download into AESGCMDownload tool | William Wennerström | 2020-11-16 | 1 | -2/+18 |
| | |||||
* | Run make format on rebase | William Wennerström | 2020-11-16 | 1 | -26/+28 |
| | |||||
* | Remove unsafe Conent-Disposition inferring | William Wennerström | 2020-11-16 | 1 | -115/+18 |
| | |||||
* | Infer filename from content-disposition or URL | William Wennerström | 2020-11-16 | 1 | -7/+118 |
| | | | | | The Content-Disposition inferring is probably a bad idea security wise, so I am going to remove it. | ||||
* | Add http_download tool | William Wennerström | 2020-11-16 | 1 | -0/+223 |