Merge pull request #1818 from nghttp2/fix-nghttpx-affinity-cookie-stickiness

nghttpx: Fix affinity-cookie-stickiness parameter handling
This commit is contained in:
Tatsuhiro Tsujikawa 2022-10-18 17:45:25 +09:00 committed by GitHub
commit 3b21fbaf03
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 0 deletions

View File

@ -1265,6 +1265,7 @@ int parse_mapping(Config *config, DownstreamAddrConfig &addr,
downstreamconf.balloc, params.affinity.cookie.path); downstreamconf.balloc, params.affinity.cookie.path);
} }
g.affinity.cookie.secure = params.affinity.cookie.secure; g.affinity.cookie.secure = params.affinity.cookie.secure;
g.affinity.cookie.stickiness = params.affinity.cookie.stickiness;
} }
} else if (g.affinity.type != params.affinity.type || } else if (g.affinity.type != params.affinity.type ||
g.affinity.cookie.name != params.affinity.cookie.name || g.affinity.cookie.name != params.affinity.cookie.name ||