Age | Commit message (Expand) | Author | Files | Lines |
2017-04-29 | Do not rely on mDNS...•••... 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?
| Christian Hesse | 1 | -22/+72 |
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•••This is required only when the pid is different from what systemd
executed itself.
| Christian Hesse | 1 | -1/+1 |
2016-12-01 | Use systemd service manager notification•••Notify systemd service manager when our initialization sequence
completed.
| Christian Hesse | 1 | -0/+3 |
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•••no functional change...
| Christian Hesse | 1 | -2/+6 |
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•••There is no HTTP status code 0, so this is what we set earlier.
| Christian Hesse | 1 | -1/+1 |
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()•••MHD_create_response_from_data() is deprecated, so use
MHD_create_response_from_buffer() instead.
| Christian Hesse | 1 | -2/+2 |
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•••iniparser_getstring() returns const char*, but strtok() modifies its
first argument. So strdup() and free().
| Christian Hesse | 1 | -3/+10 |
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•••New db files were not fetched from upstream servers if one server had a
file with same timestamp.
| Christian Hesse | 1 | -2/+5 |
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 |
2013-11-05 | fix memory corruption | Christian Hesse | 1 | -1/+1 |
2013-11-05 | handle SIGINT and print variable text | Christian Hesse | 1 | -4/+5 |
2013-11-05 | make pacredir work without config file | Christian Hesse | 1 | -43/+43 |
2013-11-05 | typo in comment | Christian Hesse | 1 | -1/+1 |
2013-11-05 | handle db file signatures correctly | Christian Hesse | 1 | -2/+3 |
2013-11-05 | coding style cleanup | Christian Hesse | 1 | -7/+4 |
2013-11-04 | add configuration file for pacredir•••This allows to ignore hosts on specified interfaces and add static
hosts.
| Christian Hesse | 1 | -3/+94 |
2013-11-04 | introduce add_host() and remove_host() | Christian Hesse | 1 | -41/+57 |
2013-10-30 | compile date and time into the binary | Christian Hesse | 1 | -1/+1 |
2013-10-30 | use unsigned int for recent | Christian Hesse | 1 | -2/+2 |
2013-10-30 | use long for http_code and last_modified | Christian Hesse | 1 | -3/+3 |
2013-10-30 | reset bad status for hosts on SIGHUP | Christian Hesse | 1 | -3/+3 |
2013-10-30 | use function to print output | Christian Hesse | 1 | -22/+33 |
2013-10-30 | justify output streams | Christian Hesse | 1 | -3/+3 |
2013-10-30 | make pacredir listen on localhost only | Christian Hesse | 1 | -1/+9 |
2013-10-29 | decide about local service via flags | Christian Hesse | 1 | -8/+1 |
2013-10-28 | remove some unused code | Christian Hesse | 1 | -10/+0 |
2013-10-28 | remove avahi resolver code, all we need is the browser | Christian Hesse | 1 | -114/+69 |
2013-10-28 | rename function | Christian Hesse | 1 | -3/+3 |
2013-10-28 | remove comment about example | Christian Hesse | 1 | -2/+0 |
2013-10-28 | move configuration to config.h | Christian Hesse | 1 | -18/+1 |
2013-10-28 | initialize variables in struct | Christian Hesse | 1 | -0/+6 |
2013-10-27 | handle online start for service, not for host | Christian Hesse | 1 | -10/+16 |
2013-10-27 | make pacdbserve aware of architecture | Christian Hesse | 1 | -1/+9 |
2013-10-27 | handle db files | Christian Hesse | 1 | -47/+120 |
2013-10-27 | ignore self and prepare for pacdbserve | Christian Hesse | 1 | -8/+42 |
2013-10-27 | do not check for pacman db files | Christian Hesse | 1 | -17/+27 |
2013-10-26 | set curl connection timeout to 2 seconds | Christian Hesse | 1 | -0/+3 |
2013-10-26 | add handling for offline hosts and bad requests | Christian Hesse | 1 | -36/+117 |
2013-10-26 | use port reported by avahi, not anything hardcoded | Christian Hesse | 1 | -1/+1 |
2013-10-25 | initial commit | Christian Hesse | 1 | -0/+316 |