pdns icon indicating copy to clipboard operation
pdns copied to clipboard

dnsdist: Fix latency and counters update for UDP cache hits

Open rgacogne opened this issue 3 years ago • 0 comments

Short description

The latency was counted twice, and the frontend-nxdomain, frontend-noerror and frontend-servfail was increased twice as well.

Checklist

I have:

  • [x] read the CONTRIBUTING.md document
  • [x] compiled this code
  • [x] tested this code
  • [ ] included documentation (including possible behaviour changes)
  • [ ] documented the code
  • [ ] added or modified regression test(s)
  • [ ] added or modified unit test(s)

rgacogne avatar Jul 19 '22 13:07 rgacogne