Jim Hague
eabad34af9
Add libyaml dependency to README, and note how to remove it.
2017-09-13 12:51:16 +01:00
Jim Hague
c74e8353a8
Move to clang-friendly way of marking unused function parameters as used.
2017-09-13 12:50:18 +01:00
Jim Hague
6d6e66c5a8
Add libyaml to dependencies for Travis.
2017-09-13 12:49:39 +01:00
Sara Dickinson
453b94269b
Updates to makefiles for s/stubby.conf/stubby.yaml
2017-09-13 12:45:56 +01:00
Sara Dickinson
f53e5645d9
Improve the comments about the new backoff handling.
...
Remove unnecessary log.
2017-09-13 10:00:56 +01:00
Jim Hague
6c95f4177d
Add YAML configuration option.
...
Add new extra functions getdns_yaml2(dict|list|bindata|value)(). These are like their getdns_str2() counterparts, but take YAML input rather than JSON.
YAML introduces a new dependency, on libyaml. YAML can be disabled at configuration time, in which case the dependency is removed.
Modify getdns_query such that if a configuration file name includes ".yaml" it will be processed as a YAML configuration, not a JSON configuration.
Internally, getdns_yaml2*() work by passing the YAML string through a simple translation to JSON. At present, this translation assumes that configuration is the only use case, and so will error if the outer layer of the YAML input is not a map. This in effect means that at present all getdns_yaml2*() functions apart from getdns_yaml2dict() will give an error on the YAML translation to JSON.
2017-09-12 16:47:57 +01:00
Sara Dickinson
b760a2ced2
Refine the logging levels to match the errors given when backing off, etc.
2017-09-12 15:01:02 +01:00
Sara Dickinson
729af1d159
Allow backed-off upstreams to be re-instated if all our upstreams are unusable (e.g. if the network is down).
...
But limit re-tries for a given netreq to the total number of upstreams before failing. This should (roughly) allow 2 retries per upstream of the correct transport before bailing out. Otherwise we are stuck in a loop retrying forever!
2017-09-12 13:47:56 +01:00
Willem Toorop
8aa46b305d
Merge branch 'develop' into features/zeroconf-dnssec
2017-09-11 11:09:58 +02:00
Sara Dickinson
42945cfc08
Make the backoff time incrementally increase until the upstream starts working again
2017-09-08 17:28:37 +01:00
wtoorop
10133a71f3
Merge pull request #330 from saradickinson/1.2_stuff
...
First pass at fixing problems when connections to servers are lost.
2017-09-06 15:41:43 +02:00
Sara Dickinson
2e4e3873e4
First pass at fixing problems when connections to servers are lost.
...
Need to reset connection state if connections fail at setup and on read/write if there are no more messages queued.
This means we will back-off servers that fail, so we should think about using a shorter backoff default in stubby
because otherwise temporarily loss of the network connection will mean having to restart stubby.
Also some minor changes to logging.
2017-09-06 11:05:08 +01:00
Willem Toorop
c6d40d9adc
Merge branch 'develop' into features/zeroconf-dnssec
2017-09-04 16:43:37 +02:00
Willem Toorop
d2c685f3ca
Update ChangeLog, prepare for release today
2017-09-04 10:21:23 +02:00
Willem Toorop
d2c258158f
Flag for live logging
2017-09-04 10:04:17 +02:00
Willem Toorop
48209a038c
Fix things that came out of static analysis
2017-09-02 12:47:04 +02:00
Willem Toorop
084286513f
Fix permissions
2017-09-02 12:18:57 +02:00
Willem Toorop
f25ae85030
Get keys from correct position
2017-09-02 12:10:50 +02:00
Willem Toorop
d340305dcc
Show tpkg execution live
2017-09-02 11:38:20 +02:00
Willem Toorop
2b07f221c4
And actually copy over results
2017-09-02 11:22:01 +02:00
Willem Toorop
bf31b2f7db
Collect report from static analysis
2017-09-02 11:20:21 +02:00
Willem Toorop
21f538f60c
Forgot ;
2017-09-01 17:00:34 +02:00
Willem Toorop
bf23968226
Final for loop initializations elimination
2017-09-01 16:50:31 +02:00
Willem Toorop
70ec5ea4d0
Some more for loop initializations
2017-09-01 16:34:06 +02:00
Willem Toorop
5c8765fefe
No variable initializations in for loops
2017-09-01 16:23:26 +02:00
Willem Toorop
98379bbd38
Add RR type DOA
...
Without rdata yet, just to pass unit tests
2017-09-01 16:10:56 +02:00
Willem Toorop
062b88c991
Bumb version
2017-09-01 15:26:25 +02:00
Willem Toorop
2ed2871549
Merge branch 'develop' into features/zeroconf-dnssec
2017-08-30 15:09:39 +02:00
Willem Toorop
fe6d2c9749
/* fallthrough */ must be first comment before case
2017-08-24 13:58:13 +02:00
Willem Toorop
5a94081634
Make switch/case fallthroughs explicit
...
+1 fallthrough bugfix in getdns_query
2017-08-24 13:51:58 +02:00
Willem Toorop
1aef5fb3e4
Bumb version + ChangeLog
2017-08-24 13:29:16 +02:00
Willem Toorop
4ecf9ad8c6
The submodule update --init only for git checkouts
2017-08-24 11:36:20 +02:00
Willem Toorop
2084841fcf
Merge branch 'patch-1' of https://github.com/paulehoffman/getdns into devel/paulehoffman-patch-1
2017-08-24 11:35:09 +02:00
Willem Toorop
bef36d12f1
Stubby submodule on v0.1.2 release tag
2017-08-24 11:31:05 +02:00
Sara Dickinson
a6669482d8
Merge pull request #329 from getdnsapi/devel/without-stubby
...
Devel/without stubby
2017-08-23 15:25:27 +01:00
Willem Toorop
4ed82b6521
Tweak README
2017-08-23 16:12:18 +02:00
Willem Toorop
3e07bb519c
Remove systemd (because it moved to stubby repo)
2017-08-23 16:10:47 +02:00
Willem Toorop
f949f4a136
Sync with unbound
2017-08-22 12:42:52 +02:00
Willem Toorop
516570e1f8
Include stubby (building) in tpkg testing
2017-08-22 12:16:48 +02:00
wtoorop
c570114bf6
Merge pull request #328 from saradickinson/bugfix/fastopen_fallback
...
Fix issue on macOX 10.10 where TCP fast open is detected but not impl…
2017-08-22 12:05:41 +02:00
Willem Toorop
2c8e7461da
Update stubby module to develop branch
2017-08-22 11:47:04 +02:00
Willem Toorop
6024f9d72e
Merge branch 'develop' into devel/without-stubby
2017-08-22 11:27:11 +02:00
Willem Toorop
e57011a3ea
Compile without stubby by default
...
And with stubby from repo (as submodule) when --with-stubby is specified
2017-08-22 11:25:47 +02:00
Sara Dickinson
33ff6a95ac
Fix issue on macOX 10.10 where TCP fast open is detected but not implemented causing TCP to fail. The fix allows fallback to regular TCP in this case and is also more robust for cases where connectx() fails for some reason.
2017-08-18 17:59:49 +01:00
wtoorop
665c3f6fb5
Merge pull request #326 from saradickinson/docs/fix_wiki_links
...
Fix all the outdated links to wiki pages in the README.md
2017-08-18 15:57:20 +02:00
wtoorop
8e321a0e77
Merge pull request #325 from saradickinson/docs/fix_return_call_reporting
...
Minor updates on return_call_reporting. Fix the name in the API spec …
2017-08-18 15:56:24 +02:00
wtoorop
f03ac9ab7b
Merge pull request #324 from saradickinson/docs/fix_set_from_os
...
Remove mention of using the second bit in set_from_os to init OpenSSL…
2017-08-18 15:56:13 +02:00
wtoorop
da7083f55a
Merge pull request #316 from wtoorop/devel/roadblocks_and_valchains
...
Devel/roadblocks and valchains
2017-08-18 15:55:56 +02:00
wtoorop
5701fb99c9
Merge pull request #321 from neilcook/stub_fixes
...
Stub fixes
2017-08-18 15:53:23 +02:00
wtoorop
ae0dd866aa
Merge pull request #313 from MelindaShore/develop
...
Modified Dockerfile to check out getdns master
2017-08-18 15:52:49 +02:00