nghttpx: Fix affinity-cookie-stickiness parameter handling
Fix affinity-cookie-stickiness backend parameter handling. Previously, if 3 backend options are used for the same pattern, and the first one does not have affinity-cookie-stickiness, and the rest of them have affinity-cookie-stickiness=strict, nghttpx wrongly determines that they have inconsistent configurations.
This commit is contained in:
parent
2f71f5c3c9
commit
5abafb4268
|
@ -1265,6 +1265,7 @@ int parse_mapping(Config *config, DownstreamAddrConfig &addr,
|
|||
downstreamconf.balloc, params.affinity.cookie.path);
|
||||
}
|
||||
g.affinity.cookie.secure = params.affinity.cookie.secure;
|
||||
g.affinity.cookie.stickiness = params.affinity.cookie.stickiness;
|
||||
}
|
||||
} else if (g.affinity.type != params.affinity.type ||
|
||||
g.affinity.cookie.name != params.affinity.cookie.name ||
|
||||
|
|
Loading…
Reference in New Issue