nghttpx: Fix broken session affinity

Session affinity has been broken since
fdcdb21c38.  This commit reverts the
relevant part of the commit to fix the session affinity.
This commit is contained in:
Tatsuhiro Tsujikawa 2022-03-15 19:35:49 +09:00
parent be16a24fcc
commit 470f06e5f6
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);
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();
for (auto &addr : shared_addr->addrs) {