summaryrefslogtreecommitdiffstats
path: root/server/resolv
Commit message (Collapse)AuthorAgeFilesLines
* Add some debugging statements to fail_over and resolverMartin Nagy2009-12-091-3/+9
| | | | | These were very useful for debugging and hopefully still will be in the future.
* Don't build the SRV and TXT parsing code except for testsJakub Hrozek2009-12-091-0/+6
|
* Import ares 1.7.0 helpersJakub Hrozek2009-12-098-95/+363
|
* Change ares usage to be c-ares 1.7.0 compatibleJakub Hrozek2009-12-092-73/+90
| | | | | | * Rename structure accordingly to ares upstream * Use new ares parsing functions in the wrappers * fix tests for ares 1.7
* Failover fixes and additionsSimo Sorce2009-11-181-1/+1
|
* Fix tevent_req error checking.Simo Sorce2009-11-091-13/+3
| | | | When possible using a macro that correctly deals with tstate
* Check return, zero free hostent, adhere to styleSimo Sorce2009-11-092-8/+11
|
* Fix a bad free in async_resolv.cMartin Nagy2009-11-061-6/+0
| | | | | Also remove redundant talloc_free()'s. They are not needed since their parent should be freed right after calling the _recv() function.
* Use talloc to copy data from c-aresMartin Nagy2009-10-222-27/+212
| | | | | | | | | | | C-ares either returned a malloc-ed memory or it automatically freed the memory after out callback has returned. This patch will make sure that anything that the resolv_* function return is allocated by talloc and can be safely freed by talloc_free(). This will break the resolv tests to the point they will not be compilable. This will be addressed in a later patch with other improvements to the tests.
* Resolver: Use talloc_get_type() for type safetyMartin Nagy2009-10-221-5/+5
|
* Add copyright noticesJakub Hrozek2009-09-112-0/+40
| | | | Fixes: #138
* Consolidate tevent helpersJakub Hrozek2009-08-051-16/+0
|
* Add ares helpers into sssdJakub Hrozek2009-07-247-0/+465
| | | | | | | | | | This patch adds ares parsing functions that are not yet upstreamed together with a private ares header file (ares_dns.h) that contains some necessary macros for parsing common structures in the replies. Users of these two parsing functions must also include the header files ares_parse_{srv,txt}_reply.h that contain the function and structures declarations that should eventually end up in upstream ares.h
* Async DNS integrationJakub Hrozek2009-07-242-0/+724
Integrates the c-ares asynchronous resolved library into SSSD.