Merge pull request #1683 from nghttp2/nghttpx-fix-session-affinity

nghttpx: Fix broken session affinity
This commit is contained in:
Tatsuhiro Tsujikawa 2022-03-15 21:07:40 +09:00 committed by GitHub
commit 3ec588bb54
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 0 additions and 3 deletions

View File

@ -333,9 +333,6 @@ void Worker::replace_downstream_config(
auto it = addr_groups_indexer.find(dkey); auto it = addr_groups_indexer.find(dkey);
if (it == std::end(addr_groups_indexer)) { if (it == std::end(addr_groups_indexer)) {
std::shuffle(std::begin(shared_addr->addrs), std::end(shared_addr->addrs),
randgen_);
auto shared_addr_ptr = shared_addr.get(); auto shared_addr_ptr = shared_addr.get();
for (auto &addr : shared_addr->addrs) { for (auto &addr : shared_addr->addrs) {