Age | Commit message (Collapse) | Author | Files | Lines | |
---|---|---|---|---|---|
2024-01-01 | update copyright for 2024 | Christian Hesse | 1 | -1/+1 | |
2023-11-24 | drop the 'Cache-Control: no-cache' header in http response... | Christian Hesse | 1 | -1/+0 | |
... as pacman upstream will never use it. | |||||
2023-11-24 | drop setting to ignore db files... | Christian Hesse | 1 | -13/+2 | |
Using just `CacheServer` (with commented `Server`) in pacman configuration has the same effect. | |||||
2023-09-30 | update wording: server -> peer | Christian Hesse | 1 | -8/+8 | |
2023-01-03 | update copyright for 2023 | Christian Hesse | 1 | -1/+1 | |
2022-09-15 | use http header 'Cache-Control: no-cache' for soft failure | Christian Hesse | 1 | -1/+1 | |
This is standard header... | |||||
2022-03-29 | send extra http header on expected failure | Christian Hesse | 1 | -0/+1 | |
Indicate that this failure is expected and pacman should not log an error and not increase the server error count. Looks like pacman will not support this... 😢 Let's add it anyway, may be handy. | |||||
2022-01-03 | update copyright for 2022 | Christian Hesse | 1 | -1/+1 | |
2021-06-07 | simplify address handling | Christian Hesse | 1 | -1/+1 | |
2021-06-07 | do not redirect if database file is too old | Christian Hesse | 1 | -2/+3 | |
The Arch repositories see regular updates... Consider a database file older than 24 hours out-of-date and do not redirect. | |||||
2021-06-07 | get the db timestamp from http request | Christian Hesse | 1 | -14/+11 | |
2021-01-01 | update copyright for 2021 | Christian Hesse | 1 | -1/+1 | |
2020-11-25 | clearly state the license | Christian Hesse | 1 | -2/+13 | |
2020-07-07 | fix build with libmicrohttpd 0.9.71 | Christian Hesse | 1 | -1/+1 | |
2020-02-08 | update copyright for 2020 | Christian Hesse | 1 | -1/+1 | |
2019-07-01 | use proper log message when ignoring database files | Christian Hesse | 1 | -3/+6 | |
2019-07-01 | allow to ignore database files | Christian Hesse | 1 | -1/+11 | |
2019-01-01 | update copyright for 2019 | Christian Hesse | 1 | -1/+1 | |
2018-07-05 | drop 'struct services' | Christian Hesse | 1 | -26/+24 | |
Now that we have just one service this can be merged with 'struct hosts'. | |||||
2018-07-04 | use private bind mounts for pacserve, remove pacdbservesystemd-v233 | Christian Hesse | 1 | -69/+21 | |
We want just one service to serve database files and package archives. Private bind mounts make both available to pacserve. This alse removes some complexity in pacredir. | |||||
2018-01-02 | update copyright for 2018 | Christian Hesse | 1 | -1/+1 | |
2017-12-13 | enable TCP fastopen option | Christian Hesse | 1 | -1/+1 | |
2017-11-28 | do not return EXIT_FAILURE but goto fail | Christian Hesse | 1 | -1/+1 | |
2017-11-28 | fix memory corruption with libmicrohttpd | Christian Hesse | 1 | -4/+3 | |
We had a race where page was freed before the queue finished. Tell libmicrohttpd it has to free itself. | |||||
2017-11-28 | allow HEAD requests | Christian Hesse | 1 | -1/+1 | |
2017-10-30 | set basename for proper html output in response | Christian Hesse | 1 | -1/+1 | |
2017-10-20 | allow to specify uid and gid in config.h | Christian Hesse | 1 | -1/+1 | |
2017-10-19 | try to drop root privileges | Christian Hesse | 1 | -0/+8 | |
2017-10-19 | implement simple counters for systemctl status | Christian Hesse | 1 | -0/+12 | |
2017-05-13 | prepare for reproducible builds | Christian Hesse | 1 | -0/+2 | |
2017-05-13 | update version strings | Christian Hesse | 1 | -3/+4 | |
2017-05-02 | add configuration option for protocol (IPv4 vs. IPv6) | Christian Hesse | 1 | -2/+20 | |
2017-05-02 | (re-)add support for IPv6 | Christian Hesse | 1 | -26/+37 | |
2017-04-29 | extra verbosity from config | Christian Hesse | 1 | -0/+6 | |
2017-04-29 | Do not rely on mDNS... | Christian Hesse | 1 | -22/+72 | |
... but do resolve the addresses within pacredir. The biggest advantage is that we do no longer require nss-mdns, which tends to fool us in different ways. As requests are done by address rather than host name you can no longer use virtual hosts for pacserve and pacdbserve. But did anybody try that? | |||||
2017-01-14 | update copyright for 2017 | Christian Hesse | 1 | -1/+1 | |
2017-01-06 | notify systemd on stop | Christian Hesse | 1 | -0/+5 | |
2017-01-05 | no need to tell systemd the pid | Christian Hesse | 1 | -1/+1 | |
This is required only when the pid is different from what systemd executed itself. | |||||
2016-12-01 | Use systemd service manager notification | Christian Hesse | 1 | -0/+3 | |
Notify systemd service manager when our initialization sequence completed. | |||||
2016-10-12 | calculate date/time string only when needed | Christian Hesse | 1 | -5/+6 | |
2016-10-12 | make more output depend on verbose (do not print by default) | Christian Hesse | 1 | -19/+37 | |
2016-10-12 | always pass real port to add_host(), print to verbose output | Christian Hesse | 1 | -5/+8 | |
2016-10-12 | print only if verbose | Christian Hesse | 1 | -7/+10 | |
2016-10-11 | differentiate between offline and bad | Christian Hesse | 1 | -1/+6 | |
2016-10-11 | Be more verbose about badtime, simplify condition | Christian Hesse | 1 | -8/+12 | |
2016-10-11 | add line break | Christian Hesse | 1 | -1/+2 | |
2016-10-11 | throttle requests | Christian Hesse | 1 | -0/+4 | |
2016-10-11 | add comment about ctime stuff | Christian Hesse | 1 | -3/+6 | |
2016-10-11 | print message to stdout, not stderr | Christian Hesse | 1 | -1/+1 | |
2016-10-11 | format condition | Christian Hesse | 1 | -2/+6 | |
no functional change... | |||||
2016-10-11 | initialize struct timeval just once | Christian Hesse | 1 | -2/+3 | |
2016-10-10 | remove extra line break | Christian Hesse | 1 | -1/+0 | |
2016-10-10 | show the more generic information if errbuf is empty | Christian Hesse | 1 | -2/+3 | |
2016-10-10 | verbose output: returned -> received | Christian Hesse | 1 | -1/+1 | |
2016-10-10 | set to error buffer empty | Christian Hesse | 1 | -0/+1 | |
2016-10-10 | add printing curl error messages | Christian Hesse | 1 | -1/+5 | |
2016-10-10 | verbose output: do not print useless message | Christian Hesse | 1 | -1/+1 | |
There is no HTTP status code 0, so this is what we set earlier. | |||||
2016-10-10 | verbose output: error -> http status code | Christian Hesse | 1 | -1/+1 | |
2016-10-06 | fix race condition with SIGHUP | Christian Hesse | 1 | -2/+7 | |
2016-01-30 | add more specific comment about db files | Christian Hesse | 1 | -1/+1 | |
2016-01-30 | correctly handle *.files and redirect to pacdbserve | Christian Hesse | 1 | -1/+2 | |
2016-01-27 | darkhttpd supports IPv6 now, no longer limit to IPv4 | Christian Hesse | 1 | -2/+2 | |
2016-01-04 | update copyright for 2016 | Christian Hesse | 1 | -1/+1 | |
2015-12-12 | use MHD_create_response_from_buffer() | Christian Hesse | 1 | -2/+2 | |
MHD_create_response_from_data() is deprecated, so use MHD_create_response_from_buffer() instead. | |||||
2015-12-12 | allow to limit the number of query threads | Christian Hesse | 1 | -1/+13 | |
2015-07-03 | add --version option | Christian Hesse | 1 | -4/+18 | |
2015-06-24 | fix string handling | Christian Hesse | 1 | -3/+10 | |
iniparser_getstring() returns const char*, but strtok() modifies its first argument. So strdup() and free(). | |||||
2015-01-04 | update copyright for 2015 | Christian Hesse | 1 | -1/+1 | |
2014-10-21 | use ISO C11 standard and move includes to header file | Christian Hesse | 1 | -30/+0 | |
2014-10-06 | pacman should not ask for db signature files | Christian Hesse | 1 | -3/+2 | |
2014-10-06 | fix guess the fastest server for db files | Christian Hesse | 1 | -2/+5 | |
New db files were not fetched from upstream servers if one server had a file with same timestamp. | |||||
2014-10-05 | try to guess the fastest server for db files as well | Christian Hesse | 1 | -1/+2 | |
2014-09-04 | reformat long functions0.1.10 | Christian Hesse | 1 | -5/+20 | |
2014-08-29 | do not use DEBUG macro but command line argument to be verbose | Christian Hesse | 1 | -29/+45 | |
2014-07-28 | have port in struct services, allow to specify host:port in pacredir.conf | Christian Hesse | 1 | -14/+27 | |
2014-06-16 | clean whitespace | Christian Hesse | 1 | -1/+1 | |
2014-06-16 | add debug output for file not found | Christian Hesse | 1 | -0/+4 | |
2014-06-16 | be a bit less verbose | Christian Hesse | 1 | -0/+2 | |
2014-06-16 | print modification datprint modification date | Christian Hesse | 1 | -1/+5 | |
2014-04-22 | use write_log() instead of printf() | Christian Hesse | 1 | -1/+1 | |
2014-04-22 | fix filename in html pages | Christian Hesse | 1 | -2/+2 | |
2014-04-22 | redirect to project website if no file is given | Christian Hesse | 1 | -0/+9 | |
2014-04-22 | darkhttpd only serves IPv4, so limit curl to that | Christian Hesse | 1 | -1/+3 | |
2014-01-20 | make output a bit more verbose | Christian Hesse | 1 | -1/+6 | |
2014-01-13 | try to guess the fastest server for packages | Christian Hesse | 1 | -2/+14 | |
2014-01-03 | move arch specific macros to separate header file | Christian Hesse | 1 | -0/+1 | |
2014-01-02 | write version to header file | Christian Hesse | 1 | -0/+1 | |
2014-01-02 | update copyright year | Christian Hesse | 1 | -1/+1 | |
2013-11-28 | clean up trailing white spaces | Christian Hesse | 1 | -10/+10 | |
2013-11-15 | rename services.bad to something more descriptive | Christian Hesse | 1 | -10/+10 | |
2013-11-15 | reset badcount on SIGHUP | Christian Hesse | 1 | -0/+2 | |
2013-11-14 | count bad requests and increase ignore time after request | Christian Hesse | 1 | -7/+14 | |
2013-11-14 | do a request as soon as host is up to check bad status | Christian Hesse | 1 | -4/+29 | |
2013-11-14 | introduce pacredir.h | Christian Hesse | 1 | -42/+2 | |
2013-11-12 | print number of failed servers | Christian Hesse | 1 | -1/+1 | |
2013-11-07 | make pacredir multi-threaded, do all curl requests at once | Christian Hesse | 1 | -85/+130 | |
2013-11-07 | add architecture to user agent string | Christian Hesse | 1 | -1/+1 | |
2013-11-06 | clean up included headers | Christian Hesse | 1 | -5/+3 | |
2013-11-06 | give long to curl_easy_setopt() | Christian Hesse | 1 | -3/+3 | |
2013-11-05 | do not handle client to browse_callback | Christian Hesse | 1 | -2/+2 | |