ext/apache2/ConfigurationSetters.cpp in passenger-4.0.44 vs ext/apache2/ConfigurationSetters.cpp in passenger-4.0.45
- old
+ new
@@ -315,6 +315,28 @@
DirConfig *config = (DirConfig *) pcfg;
config->startupFile = arg;
return NULL;
}
+
+ static const char *
+ cmd_passenger_sticky_sessions(cmd_parms *cmd, void *pcfg, const char *arg) {
+ DirConfig *config = (DirConfig *) pcfg;
+ config->stickySessions =
+ arg ?
+ DirConfig::ENABLED :
+ DirConfig::DISABLED;
+ return NULL;
+ }
+
+
+ static const char *
+ cmd_passenger_sticky_sessions_cookie_name(cmd_parms *cmd, void *pcfg, const char *arg) {
+ DirConfig *config = (DirConfig *) pcfg;
+ config->stickySessionsCookieName =
+ arg ?
+ DirConfig::ENABLED :
+ DirConfig::DISABLED;
+ return NULL;
+ }
+