refactor: split sticky-cookie into a separated feature
This commit is contained in:
parent
a4e3878a52
commit
d4040b9b98
14 changed files with 248 additions and 186 deletions
|
|
@ -25,5 +25,6 @@ pub mod H3 {
|
|||
pub const MAX_IDLE_TIMEOUT: u64 = 10; // secs
|
||||
}
|
||||
|
||||
// For load-balancing with sticky cookie
|
||||
#[cfg(feature = "sticky-cookie")]
|
||||
/// For load-balancing with sticky cookie
|
||||
pub const STICKY_COOKIE_NAME: &str = "rpxy_srv_id";
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue