aboutsummaryrefslogtreecommitdiff
path: root/middleware/proxy/grpc_test.go (follow)
AgeCommit message (Collapse)AuthorFilesLines
2017-09-14Remove the word middleware (#1067)Gravatar Miek Gieben 1-71/+0
* Rename middleware to plugin first pass; mostly used 'sed', few spots where I manually changed text. This still builds a coredns binary. * fmt error * Rename AddMiddleware to AddPlugin * Readd AddMiddleware to remain backwards compat
2017-08-09Move Healthcheck to middleware/pkg/healthcheck (#854)Gravatar Yong Tang 1-9/+11
* Move healthcheck out Signed-off-by: Yong Tang <yong.tang.github@outlook.com> * Move healthcheck to middleware/pkg/healthcheck Signed-off-by: Yong Tang <yong.tang.github@outlook.com>
2017-06-30middleware/proxy: async health checks (#749)Gravatar ghostflame 1-0/+1
* Switches out Unhealthy bool for OkUntil timestamp * Make sure servers are healthy forever if there are no health checks * Moves health check off into a go routine to avoid blocking conditions * Improved logging info * Fixes initial date * Fixes health checking; alters tests to adapt to async health checking * Moves future variable into static upstream and populates it in more places * Restores silencing of stdout during testing * Restores silencing of stdout during testing * keeps check url string once built * Removes debug message * uses zero value to signal no checking; reduces in-mutex code to a fetch
2017-06-02middleware/proxy: silence gprc errors (#699)Gravatar Miek Gieben 1-1/+15
* middleware/proxy: silence gprc errors Add discard logger * Silence glog crap * Revert "Silence glog crap" This reverts commit a15dafbca62b4e91d4c41543b4c06b8c39a5e500.
2017-03-01Grpc tracing (#544)Gravatar John Belamaric 1-0/+54
* checkpoint * Pass context through ServeDNS, enable gRPC tracing * Fix types and make tracer available to proxy. go fmt * Fix imports * Use the DoNotStartTrace option * Change to SpanFilter from DoNotStartTrace * Use new name (IncludeSpan) * Final names * Add tests; fix possible client/conn leaks in grpc * go fmt