Merge pull request #1818 from nghttp2/fix-nghttpx-affinity-cookie-stickiness
nghttpx: Fix affinity-cookie-stickiness parameter handling
This commit is contained in:
commit
3b21fbaf03
|
@ -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 ||
|
||||||
|
|
Loading…
Reference in New Issue