aboutsummaryrefslogtreecommitdiff
path: root/src/download.c
Commit message (Collapse)AuthorAgeFilesLines
* Exposes STASIS_DOWNLOAD_TIMEOUT environment variableJoseph Hunkeler2024-07-131-0/+10
| | | | * Sets the connection timeout for libcurl to 30, instead of 300.
* Rebrand OhMyCal (OMC) as STASIS (#7)Joseph Hunkeler2024-06-211-1/+1
|
* Fix return code from download()Joseph Hunkeler2024-04-151-4/+6
| | | | | * Will return -1 on error * Still returns HTTP code if error is server-side
* Improve download()Joseph Hunkeler2024-02-061-3/+14
| | | | | * Returns HTTP status code * Emits curl error message to stderr (or to a buffer if the third argument is not NULL)
* Add user-agent to downloaderJoseph Hunkeler2023-12-101-2/+6
| | | | * Fix invalid type passed to CURLOPT_FOLLOWLOCATION
* Initial commitJoseph Hunkeler2023-10-261-0/+34