diff -Nru resin-3.1.1.vanilla/modules/c/src/apache2/mod_caucho.c resin-3.1.1/modules/c/src/apache2/mod_caucho.c --- resin-3.1.1.vanilla/modules/c/src/apache2/mod_caucho.c 2007-04-05 23:38:30.000000000 +0200 +++ resin-3.1.1/modules/c/src/apache2/mod_caucho.c 2007-05-22 17:24:38.000000000 +0200 @@ -391,6 +391,16 @@ } /** + * Parse the CauchoDisableStickySessions configuration in the apache config file. + */ +static const char cse_disable_sticky_sessions(cmd_parms *cmd, void *pconfig, int on) +{ + config_t *config = pconfig; + config->disable_sticky_sessions = on; + return 0; +} + +/** * Parse the CauchoBackup configuration in the apache config file. */ static const char * @@ -1278,6 +1288,9 @@ AP_INIT_TAKE1("CauchoConfigCacheDirectory", resin_config_cache_command, NULL, RSRC_CONF|ACCESS_CONF, "Configures the saved configuration file."), + AP_INIT_FLAG("CauchoDisableStickySessions", cse_disable_sticky_sessions, + NULL, RSRC_CONF, + "Disable sticky sessions."), {NULL} };