Commit Graph

1324 Commits

Author SHA1 Message Date
Willem Toorop db3b62ab53 Fix _sync functions
From _sync functions remove resposne_length parameter (it has no meaning) and pa
ss response by reference (because it is actually a return value).
svn revision 169
getdns-api version 355
2013-11-13 15:05:27 +01:00
Willem Toorop 5f67ffeb1f Another small typo
svn revision 168
getdns-api version 0.354
2013-11-13 15:03:35 +01:00
Willem Toorop 44e416809d Double GETDNS_CONTEXT_ typo
with GETDNS_CONTEXT_APPEND_NAME_ONLY_TO_MULTIPLE_LAB EL_NAME_AFTER_FAILURE constant.

svn revision 167
getdns-api version 0.353
2013-11-13 15:02:09 +01:00
Willem Toorop 0f6f837786 Rename _use_udp_tcp leftovers into _dns_transport
svn revision 166
getdns-api version 0.352
2013-11-13 15:00:45 +01:00
Willem Toorop 229b2fc52e Modifications from Paul's repository upto rev 162 2013-11-13 14:55:14 +01:00
Willem Toorop 373e0e4952 Custom mem funcs per dict/list 2013-11-12 17:00:19 +01:00
Willem Toorop 7158291e05 Custom memory management functions in context 2013-11-11 23:10:22 +01:00
Willem Toorop 8e7582232a Rename use_udp_tcp leftovers in dns_transport 2013-11-08 18:42:14 -08:00
Willem Toorop 0b6d610ea5 Get rid of response_length in synchroneous funcs 2013-11-08 18:39:06 -08:00
Willem Toorop 3827db1ad4 Yay! Segfault resolved. + another little mem leak
So the segfault was on destroying the req->extensions dict.
This dict should have been initialized by dns_req_new, when it copied the extensions dict that it had as an argument.
Though, the argument could have been NULL in which case nothing is copied.
To overcome, I've altered dnsget_dict_copy to initialize the target with NULL when the src was NULL.
2013-11-08 15:13:49 -08:00
Neel Goyal 74fcc3c81b Updating coding style for context.c/h 2013-11-06 13:32:05 -05: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
Willem Toorop b6df0b8c1a Add original getdns specification
So we can fix its bugs in an orderly fashion
2013-11-05 08:28:10 -08:00
Willem Toorop 89a7bdcae6 Fix validate_extensions 2013-11-04 23:26:59 -08: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 266cdb0063 Cleanup some memory issues in simple answers 2013-11-04 15:26:52 -05:00
Neel Goyal 0c137a8766 Update readme unbound build instructions 2013-11-04 15:11:40 -05:00
Neel Goyal 6f825addd4 Update README to reflect unbound revision change 2013-11-04 14:59:42 -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 6289e2cad9 Merge branch 'develop' of github.com:verisign/getdns into develop 2013-11-04 13:44:18 -05:00
Neel Goyal bf57b1e5b9 Update test messages per efence 2013-11-04 13:44:09 -05:00
Willem Toorop 8206a9e145 Merge branch 'develop' of github.com:verisign/getdns into develop
Conflicts:
	src/util-internal.c
2013-11-04 10:36:31 -08:00
Willem Toorop 30d1e11a14 Fix some easy to find memory leaks... 2013-11-04 10:34:14 -08:00
Willem Toorop bd7740fefa Let tests_stub_sync print reply dict pretty 2013-11-04 10:33:27 -08:00
Neel Goyal 3da70546ca Fix synchronous example to destroy the extensions dict 2013-11-04 12:57:46 -05:00
Neel Goyal 2db5fdbe0c Fix some memory leaks 2013-11-04 12:51:13 -05:00
Willem Toorop 2d1ad47f07 And another little typedef fix 2013-11-03 16:08:28 -08:00
Willem Toorop abd82025f6 Remove typedef from list.h 2013-11-03 16:05:10 -08:00
Glen Wiley e7cc8eb150 separated libunbound test in configure.ac to give better diag msg 2013-11-03 16:40:24 -05:00
Glen Wiley e5c18aa3af Merge branch 'develop' of https://github.com/verisign/getdns into develop 2013-11-03 08:47:57 -05:00
Glen Wiley 2e1fb7b8b8 updates to some docs based on our meeting of 2013-11-02 2013-11-03 08:47:19 -05:00
Willem Toorop 1f431e6c00 Merge branch 'rbtree-dict' into develop 2013-11-02 14:15:52 -07:00
Willem Toorop 615878f5b8 Merge branch 'develop' into rbtree-dict 2013-11-02 04:10:10 -07:00
Willem Toorop e0c28a6346 Pretty printing to ldns_buffer
This makes it much more readable
2013-11-01 18:07:03 +01:00
Melinda Shore e3e2247f27 Use ldns_rdf_address_reverse 2013-10-31 12:08:23 -07:00
Willem Toorop 6adb49b8d5 Merge branch 'develop' into rbtree-dict 2013-10-31 10:26:42 +01:00
Willem Toorop c1ba94c08a Remove key attribute from getdns_dict_item
It is in the node attribute already
2013-10-30 23:33:29 +01:00
Willem Toorop 6843376521 Pretty print safe & complete... but ugly
And it needs a bit of documentational comments
2013-10-30 23:23:53 +01:00
Willem Toorop 26b178aba6 Merge branch 'develop' into rbtree-dict 2013-10-30 21:47:10 +01:00
Melinda Shore d520d62da9 Added address-to-hostname lookup. Note: need a more robust address reverser 2013-10-30 13:16:51 -07:00
Melinda Shore 10a2ebc88b Added address-to-hostname lookup. Note: need a more robust address reverser 2013-10-30 13:16:20 -07:00
Willem Toorop 6bc33c50ab Fix stack buffer overflow in _pretty_print_dict 2013-10-30 17:05:49 +01:00
Willem Toorop 6922343542 Merge branch 'remove-pthread' into rbtree-dict 2013-10-30 10:36:49 +01:00
Willem Toorop 3c1114cb7f Merge branch 'remove-pthread' into develop 2013-10-30 10:34:35 +01:00
Melinda Shore c377e6e2f0 fixed ordering issue with libgetdns link, added test and example back to make clean 2013-10-30 00:05:31 -07:00
Willem Toorop 8567e63267 Merge branch 'develop' into rbtree-dict 2013-10-30 00:32:51 +01:00
Willem Toorop ffa9a72073 Make example_tree program comply to the API specs
It works with the rbtree-dict now (which implements copy correctly).
2013-10-30 00:31:14 +01:00