Commit 6ccae6c
authored
host in a strategy is unavailable due to DNS lookup failures.
- refactored NextHopConsistentHash::findNextHop() to fix the crash
and simplify it.
- fixed the unit tests in test_NextHopConsistentHash.cc so that test
failure checks using strcmp() do not crash with a nullptr hostname
result.
1 parent b26795d commit 6ccae6c
4 files changed
Lines changed: 217 additions & 208 deletions
File tree
- proxy/http/remap
- unit-tests
0 commit comments