This project is mirrored from https://github.com/coredns/coredns.git. The repository failed to update .
Repository mirroring has been paused due to too many failed attempts, and can be resumed by a project maintainer.
Last successful update .
  1. 28 May, 2018 1 commit
  2. 26 May, 2018 1 commit
    • Ruslan Drozhdzh's avatar
      plugin/forward: erase expired connections by timer (#1782) · 833e3dda
      Ruslan Drozhdzh authored
      * plugin/forward: erase expired connection by timer
      
       - in previous implementation, the expired connections resided in
         cache until new request to the same upstream/protocol came. In
         case if the upstream was unhealthy new request may come long time
         later or may not come at all. All this time expired connections
         held system resources (file descriptors, ephemeral ports). In my
         fix the expired connections and related resources are released
         by timer
       - decreased the complexity of taking connection from cache. The list
         of connections is treated as stack (LIFO queue), i.e. the connection
         is taken from the end of queue (the most fresh connection) and
         returned to the end (as it was implemented before). The remarkable
         thing is that all connections in the stack appear to be ordered by
         'used' field
       - the cleanup() method finds the first good (not expired) connection
         in stack with binary search, since all connections are ordered by
         'used' field
      
      * fix race conditions
      
      * minor enhancement
      
      * add comments
      833e3dda
  3. 25 May, 2018 1 commit
  4. 24 May, 2018 5 commits
  5. 23 May, 2018 2 commits
    • darkweaver87's avatar
      ADD ignoreemptyservice option for kubernetes plugin (#1813) · 003e104f
      darkweaver87 authored
      * ADD: ignoreemptyservice option for kubernetes plugin
      
      * Modify documentation and rename option to add space
      
      * UPD: Add unit tests
      
      * UPD: gofmt
      
      * Add unit test for ignore emptyservice
      
      * gofmt
      
      * xfr tests failed
      
      * Rename emptyservice to empty_service
      003e104f
    • Miek Gieben's avatar
      Revert pkg/nonwriter changes (#1829) · 0f74281a
      Miek Gieben authored
      The DoH work (#1619) made changes to pkg/nonwriter.Writer that in
      hindsight were not backwards compatible; it added override for the
      LocalAddr() and RemoteAddr(). Instead of rolling back that PR, this PR
      reverts those changes and creates a DoHWriter for use in the
      https-server.go side of things.
      
      This was only caught in the integration test making this hard to catch,
      so we add a upstream_file_test.go that tries (doesn't work yet) to test
      this in the unit tests as well. Esp. helpful when 'git bisecting'.
      
      Fixes #1826
      0f74281a
  6. 22 May, 2018 2 commits
  7. 21 May, 2018 2 commits
  8. 20 May, 2018 1 commit
    • Yong Tang's avatar
      Fix `make check` dependency error (#1818) · a40345d6
      Yong Tang authored
      While invoking `make check` from a fresh new environment
      the following failure occured:
      ```
      [ec2-user@..... coredns]$ docker run -i -t --rm -v $PWD:/go/src/github.com/coredns/coredns -w /go/src/github.com/coredns/coredns golang:1.10
      root@e2d6a6c17132:/go/src/github.com/coredns/coredns# make check
      ** presubmit/context
      ** presubmit/test-lowercase
      ( gometalinter --deadline=2m --disable-all --enable=goimports --vendor --exclude=^pb/ ./... || true )
      /bin/sh: 1: gometalinter: not found
      go generate coredns.go
      ```
      
      This fix fixes the issue in Makefile so that deps could be installed first.
      Signed-off-by: default avatarYong Tang <yong.tang.github@outlook.com>
      a40345d6
  9. 18 May, 2018 4 commits
  10. 17 May, 2018 5 commits
  11. 16 May, 2018 1 commit
  12. 12 May, 2018 3 commits
  13. 11 May, 2018 1 commit
  14. 10 May, 2018 2 commits
  15. 09 May, 2018 7 commits
  16. 08 May, 2018 1 commit
  17. 06 May, 2018 1 commit