summaryrefslogtreecommitdiffstats
path: root/server/providers/fail_over.c
Commit message (Collapse)AuthorAgeFilesLines
* Correctly restart server status after the timeoutMartin Nagy2009-12-091-1/+1
| | | | | | | The macro STATUS_DIFF() was wrong causing the result to always be lower than 0, therefore the timeout was never reached. Fixes: #302
* Add some debugging statements to fail_over and resolverMartin Nagy2009-12-091-2/+60
| | | | | These were very useful for debugging and hopefully still will be in the future.
* Failover fixes and additionsSimo Sorce2009-11-181-6/+22
|
* Fix tevent_req error checking.Simo Sorce2009-11-091-4/+1
| | | | When possible using a macro that correctly deals with tstate
* Check return, zero free hostent, adhere to styleSimo Sorce2009-11-091-8/+11
|
* Add fail over utility functionsMartin Nagy2009-11-061-0/+543
These functions should be used by providers to centrally manage lists of servers. Servers are grouped into services and each service has it's own list of servers. If, however, you will try to add a same server into two different services, they will share a common structure. This means that a host will only be resolved once.