Willem Toorop
f1b916aac8
Store wireformat queries in netreq's too
2015-02-03 10:46:44 +01:00
Willem Toorop
3f046cf573
Embed netreqs in dns_reqs and wire_data in netreqs
...
TODO: make sure the wire_data buffer is filled with the response
2015-01-29 12:30:40 +01:00
Willem Toorop
4cc4629bdf
Don't expose scheduling side of extensions
...
Also moved debugging macro's from types-internal.h ro util-internal.h
2014-11-07 11:38:02 +01:00
Willem Toorop
4a3d7fd8b2
Replace ldns_rbtree with getdns_rbtree
...
As much as possible.
In dnssec ldns_rbtree is inderectly used via the dnssec_zone struct
This change forces use to embed the data in the nodes as getdns_rbtree does not have a data attribute. This is good because lesser allocs and free's and thus slightly faster and less likely to leak memory.
2014-10-23 23:00:30 +02:00
Willem Toorop
d03a22ba62
fix: stub udp max_udp_size > 4096 support
2014-10-23 15:17:54 +02:00
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
fc6e583b4b
Stub TCP pipelining
...
TODO: Resolve issue with timeouts in async pipelining mode.
2014-10-18 14:32:55 +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
623c9b04a5
Retry stub with different upstream after timeout
...
Backing off the broken upsteams so they are tried again (increasingly less)
2014-10-16 14:24:13 +02:00
Willem Toorop
b62e2bb84c
Prepare datastructs for tcp stub resolving
2014-10-16 11:28:32 +02:00
Willem Toorop
bd01b0b83e
write callback for stub requests
...
which is nice for scheduling retries etc.
2014-10-15 23:57:24 +02:00
Willem Toorop
02ea4ae82b
typedefs at one place only
2014-10-15 21:00:57 +02:00
Willem Toorop
ee316741ac
Async stub resolver using crafted packets
2014-10-15 15:12:16 +02:00
Willem Toorop
5db849f9ec
Generalize debugging scheme
2014-10-15 10:47:18 +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
b3b634a2f5
libevent & libev following new extension scheme
2014-10-09 01:18:53 +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
3742edaf07
Get rid of the address_string attribute
...
Not in the spec, and had internal usage only (but not anymore)
2014-10-01 13:08:36 +02:00
Willem Toorop
57b51a5dcc
prefer includes local to builddir
2014-05-19 15:50:34 +02: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
80703de636
Begin refactor out extensions into libs.
2014-02-21 12:23:20 -05:00
Neel Goyal
7c30f3710a
More code review changes
2014-02-20 17:35:27 -05:00
Neel Goyal
48fea8d9e0
Add getdns_context_set_return_dnssec_status
2014-02-20 15:42:10 -05:00
Glen Wiley
344893f87f
fixed license and copyright notices
2014-02-20 09:12:19 -05:00
Willem Toorop
c51e597410
Configure option for trust anchor & dnssec_status
2014-02-11 22:42:21 +01:00
Neel Goyal
d8f8eeca52
Fix signature on clear timeout for extensions
2014-02-06 00:10:35 -05:00
Neel Goyal
8b64c521a8
Merge develop in. Add local timer
2014-02-03 17:23:31 -05:00
Neel Goyal
1f847b0d96
Add timeout support
2014-01-31 14:43:02 -05:00
Neel Goyal
67fdf0eb04
timeout stubs
2014-01-27 17:05:25 -05:00
Neel Goyal
13b9e74ff5
Update extensions
2014-01-22 19:55:04 -05:00
Neel Goyal
56ff244133
Merge in develop latest
2014-01-22 11:08:41 -05:00
Willem Toorop
9a1f739840
But we do need the netinet/in.h include
2014-01-22 10:40:12 +01:00
Neel Goyal
2bcfedcf78
Initial pass at using unbound stock
2014-01-21 15:31:22 -05:00
Neel Goyal
93211cc99a
Fix for issue #43 - add additional header fields
2013-12-12 13:59:53 -05:00
Willem Toorop
3dfe92da64
extended memory functions
2013-12-09 00:52:38 +01:00
Willem Toorop
c80cab6929
getdns_strdup, getdns_bindata_(copy|destroy)
...
Restructure a bit to make that work too
2013-12-09 00:05:18 +01:00
Willem Toorop
8fe9da6503
Header functions, structs/unions and macro's
2013-12-08 22:56:34 +01:00
Willem Toorop
3829dca0cc
Get rid of typedefs for structs
2013-12-06 15:54:06 +01:00
Willem Toorop
0da31aa21b
Remove private functions from getdns.h
...
And also reorder a bit for easy comparison with the original.
2013-12-03 14:13:10 +01:00
Willem Toorop
373e0e4952
Custom mem funcs per dict/list
2013-11-12 17:00:19 +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
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
65762811bf
Adding timeout support
2013-10-18 13:55:31 -04:00