Roxen.git / server / base_server / roxen.pike

version» Context lines:

Roxen.git/server/base_server/roxen.pike:100:   {    return configuration_dir;   }      //! @ignore   array(string) query_hot_reload_modules()   //! Returns an array of modules added for hot reloading via   //! @tt{--module-hot-reload=<modname>@}.   {    if (hot_reload_modules) { -  return map(hot_reload_modules/" ", String.trim_all_whites) - ({ "" }); +  return map(replace(hot_reload_modules, " ", ",")/",", +  String.trim_all_whites) - ({ "" });    }       return ({});   } -  +  + array(string) query_hot_reload_modules_conf() + //! Returns an array of modules added for hot reloading via + //! @tt{--module-hot-reload-conf=<conf>@}. + { +  if (hot_reload_modules_conf) { +  return map(replace(hot_reload_modules_conf, " ", ",")/",", +  String.trim_all_whites) - ({ "" }); +  } +  +  return 0; + }   //! @endignore      array(string|int) filename_2 (program|object o)   {    if( objectp( o ) )    o = object_program( o );       string fname = Program.defined (o);    int line;    if (fname) {
Roxen.git/server/base_server/roxen.pike:146:      string filename( program|object o )   {    [string fname, int line] = filename_2 (o);    return fname || "(unknown program)";   }      protected int once_mode;   // String of modules added for hot reloading via --module-hot-reload=<mod>   protected string hot_reload_modules; + protected string hot_reload_modules_conf;      // Note that 2.5 is a nonexisting version. It's only used for the   // cache static optimization for tags such as <if> and <emit> inside   // <cache> since that optimization can give tricky incompatibilities   // with 2.4.   // Note also that 5.3 only existed in the Print repository, and   // thus is skipped here.   array(string) compat_levels = ({"2.1", "2.2", "2.4", "2.5",    "3.3", "3.4",    "4.0", "4.5",
Roxen.git/server/base_server/roxen.pike:6670:    DDUMP( "base_server/proxyauth.pike" );    DDUMP( "base_server/module.pike" );    DDUMP( "base_server/throttler.pike" );       mark_fd(0, "Stdin");    mark_fd(1, "Stdout");    mark_fd(2, "Stderr");       once_mode = (int)Getopt.find_option(argv, "o", "once");    hot_reload_modules = Getopt.find_option(argv, 0, "module-hot-reload"); +  hot_reload_modules_conf = Getopt.find_option(argv, 0, "module-hot-reload-conf");       configuration_dir =    Getopt.find_option(argv, "d",({"config-dir","configuration-directory" }),    ({ "ROXEN_CONFIGDIR", "CONFIGURATIONS" }), "../configurations");       if(configuration_dir[-1] != '/')    configuration_dir += "/";       restore_global_variables(); // restore settings...