Commit Graph

55 Commits

Author SHA1 Message Date
Willem Toorop e9548fc5fb Fix for TCP stub mode
Stupid mistake.
One can not clear an freshly "cleared" initialized event!
2014-10-19 22:51:42 +02:00
Willem Toorop 181d8cd3f4 stub tcp lookups
And the foundation for tcp keep connections open
2014-10-18 00:25:41 +02:00
Willem Toorop a0cb4e1774 Move stub resolving to stub.c again
Merged hostname.c and service.c in general so that getdns_general_ns can become static.
Removed specialized synchronous handling from return_validation_chain code.
Removed un_timed_resolve (specialized sync handling is not needed anymore)
Renamed inter-object file symbols to priv_<name> and made intra-object symbols static as much as possible.
2014-10-15 23:04:39 +02:00
Willem Toorop ee316741ac Async stub resolver using crafted packets 2014-10-15 15:12:16 +02:00
Willem Toorop a1be0c985d Miscelaneous fixes that came out of the unit tests
TODO: libuv still has issues.  Do we really need a close callback?
2014-10-15 01:13:39 +02:00
Willem Toorop 768d8fbf4d _loop version for async funcs
So they can be used by the sync functions with a libmini_event loop
2014-10-14 00:14:25 +02:00
Willem Toorop 1f203485e2 eventloop separate from context & libmini_event 2014-10-08 15:42:33 +02:00
Willem Toorop a21895d145 Fix timeout handling & simultaneous 4 & 6 requests
Simultaneous 4 & 6 requests for async only.
Also get rid of the postponing of callbacks hack.
2014-10-07 15:52:41 +02:00
Willem Toorop 54e0b42dcd Timeouts via default mini_event extension 2014-10-06 23:04:12 +02:00
Willem Toorop 57b51a5dcc prefer includes local to builddir 2014-05-19 15:50:34 +02:00
Neel Goyal 3f8e8ac098 Possible fix for #21 and tests 2014-03-05 22:13:37 -05:00
Willem Toorop d2c890ab6a Fill in <organization> place holder.
s/the name of the <organization>/the names of the copyright holders/g
2014-02-25 14:23:19 +01:00
Willem Toorop 8d77505219 s/Versign/Verisign/g in all files 2014-02-25 14:12:33 +01:00
Glen Wiley 6dd03b1cdc fixed spelling of NLnet in licenses, fixed make clean errs in docs 2014-02-24 09:26:20 -05:00
Neel Goyal deade2b8bb Update extensions to add/remove persistent event based on request count 2014-02-21 18:42:04 -05:00
Neel Goyal 7c30f3710a More code review changes 2014-02-20 17:35:27 -05:00
Glen Wiley 344893f87f fixed license and copyright notices 2014-02-20 09:12:19 -05:00
Willem Toorop 96b9f095a7 Implement getdns_root_trust_anchor 2014-02-19 16:56:00 +01:00
Willem Toorop b6c9b25fc7 dnssec_status & dnssec_return_only_secure exts. 2014-02-12 21:00:58 +01:00
Glen Wiley bdff98ffb3 steps toward proper support of namespaces and system files 2014-02-10 19:59:45 -05:00
Willem Toorop 374f5b09f4 if !context: GETDNS_RETURN_INVALID_PARAMETER
Bugfix #81
2014-02-04 11:25:21 +01:00
Neel Goyal 07dcd6cc0e Merge in stock unbound 2014-02-03 17:46:58 -05:00
Willem Toorop 0797b60bfb Compartmentalize priv_getdns_get_validation_chain 2014-02-03 23:34:55 +01:00
Neel Goyal 8b64c521a8 Merge develop in. Add local timer 2014-02-03 17:23:31 -05:00
Willem Toorop 191929d105 val. chain dont lookup "." DS and better cb lock 2014-02-03 16:08:15 +01:00
Willem Toorop 752ad0d420 Adapt for new unbound-event-api 2014-02-03 14:37:32 +01:00
Neel Goyal 81c5de26ea Merge in develop. 2014-01-31 14:50:38 -05:00
Neel Goyal 1f847b0d96 Add timeout support 2014-01-31 14:43:02 -05:00
W.C.A. Wijngaards da9b0730d6 Fix makefile for test, fix segfault in dnssec code. 2014-01-31 16:11:39 +01:00
Neel Goyal eb43d9fb02 Merge in develop latest 2014-01-28 10:04:10 -05:00
Willem Toorop f0f755ec86 Merge branch 'feature/return_validation_chain' into develop 2014-01-28 10:42:12 +01:00
Neel Goyal 4c0e13ac76 Attempt to address issue #46 2014-01-27 19:32:54 -05:00
Willem Toorop 4782c9b7cc Return validation chain when requested 2014-01-27 22:01:37 +01:00
Neel Goyal 13b9e74ff5 Update extensions 2014-01-22 19:55:04 -05:00
Neel Goyal 2bcfedcf78 Initial pass at using unbound stock 2014-01-21 15:31:22 -05:00
Neel Goyal a00bcbc761 Fix for issue #68. Implement getdns_dict_remove_name. 2014-01-15 16:25:46 -05:00
Neel Goyal 722a27bfef fix for issue #49 2014-01-10 10:28:28 -05:00
Willem Toorop 3829dca0cc Get rid of typedefs for structs 2013-12-06 15:54:06 +01:00
W.C.A. Wijngaards 64c057b82d Portable with event1.x, test succeeds on FreeBSD 2013-11-30 13:53:57 +01:00
Willem Toorop 7158291e05 Custom memory management functions in context 2013-11-11 23:10:22 +01:00
Neel Goyal f8380ff862 Ran indent with the indent.pro committed 2013-11-05 15:03:44 -05:00
Neel Goyal eb14f1212d Merge branch 'develop' of github.com:verisign/getdns into develop 2013-11-05 13:31:44 -05:00
Neel Goyal 4fb66d8ea7 Handle immediate callback. 2013-11-05 13:31:29 -05:00
Glen Wiley 78cb5480d2 Merge branch 'develop' of https://github.com/verisign/getdns into develop
Conflicts:
	src/sync.c
2013-11-04 18:45:00 -05:00
Glen Wiley 969ae95f09 added extension validation to the primary entry point to catch bogus
extension strings and perform simple type checking on extensions
brief start on man pages, moving MIT license in source code files to BSD
2013-11-04 18:37:54 -05:00
Neel Goyal 31e7bf1a8a Some guards and make example_all_functions at least run 2013-11-04 14:43:06 -05:00
Neel Goyal 65762811bf Adding timeout support 2013-10-18 13:55:31 -04:00
Neel Goyal 9c75239aaa Adding cancel and reply formatting 2013-10-17 19:45:25 -04:00
Neel Goyal da8dad5913 Adding A and AAAA handling for get_address 2013-10-16 18:33:12 -04:00
Neel Goyal c53c00ee2b Add recursive and stub support 2013-10-16 14:45:43 -04:00