Roxen.git / server / base_server / roxen.pike

version» Context lines:

Roxen.git/server/base_server/roxen.pike:171:   // 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",    "5.0", "5.1", "5.2", "5.4", "5.5", -  "6.0", "6.1", +  "6.0", "6.1", "6.2",   });      // Compat stubs for relocated methods   #ifdef THREADS   string thread_name_from_addr(string hex_addr)   {    return Roxen.thread_name_from_addr(hex_addr);   }      string thread_name(object thread, int|void skip_auto_name)
Roxen.git/server/base_server/roxen.pike:2279: Inside #if constant(SSL.Constants.PROTOCOL_TLS_MAX)
   ctx->min_version = query("ssl_min_version");    }   #endif       protected void filter_preferred_suites()    {   #if constant(SSL.ServerConnection)    int mode = query("ssl_suite_filter");    int bits = query("ssl_key_bits");    +  /* Suite filter encoding: +  * +  * Bit Mask Meaning +  * 0 1 Strict suite B +  * 1 2 Transitional suite B +  * 2 4 Ephemeral only +  * 3 8 Suite B +  * 4 16 New (explicit RSA) config. +  * +  * Config value Meaning +  * 0 Default +  * 4 OLD Ephemeral key-exchanges only. +  * 8 OLD Suite B (relaxed) +  * 12 OLD Suite B (ephemeral only) +  * 14 OLD Suite B (transitional) +  * 15 OLD Suite B (strict) +  * +  * 16 Allow RSA-encryption +  * 20 Ephemeral key-exchanges only. (default) +  * 24 Suite B (allow RSA-encryption) +  * 28 Suite B (ephemeral only) +  * 30 Suite B (transitional) +  * 31 Suite B (strict) +  */ +     array(int) suites = ({});    -  +  if (!mode) mode = 20; // Set the default. +     if ((mode & 8) && !ctx->configure_suite_b) {    // FIXME: Warn: Suite B suites not available.    mode &= ~8;    }       if ((mode & 8) && ctx->configure_suite_b) {    // Suite B.    switch(mode) {    case 15:    // Strict mode.
Roxen.git/server/base_server/roxen.pike:5513:    dump( "base_server/hosts.pike");    dump( "base_server/language.pike");       DDUMP( "base_server/roxenlib.pike");    DDUMP( "etc/modules/Dims.pmod");    DDUMP( "config_interface/boxes/Box.pmod" );    dump( "base_server/html.pike");       add_constant( "RoxenModule", RoxenModule);    add_constant( "ModuleInfo", ModuleInfo ); +  add_constant( "WebSocketAPI", WebSocketAPI);       add_constant( "load", load);       add_constant( "Roxen.set_locale", set_locale );    add_constant( "Roxen.get_locale", get_locale );       add_constant( "roxen.locale", locale );    //add_constant( "roxen.ImageCache", ImageCache );      //int s = gethrtime();
Roxen.git/server/base_server/roxen.pike:6075:    int hrnow = gethrtime();    string thread_descr = "";    if (string th_name = Roxen.thread_name(thread, 1))    thread_descr += " - " + th_name;    if (int start_hrtime = thread_task_start_times[thread])    thread_descr += sprintf (" - busy for %.3fs",    (hrnow - start_hrtime) / 1e6);    report_debug(">> ### Thread 0x%x%s:\n",    thread->id_number(),    thread_descr); -  // Use master()->describe_backtrace to sidestep the background -  // failure wrapper that's active in RUN_SELF_TEST. -  string th_bt = master()->describe_backtrace (thread->backtrace()); +  // Use roxenloader's original reference to describe_backtrace to sidestep +  // the background failure wrapper that's active in RUN_SELF_TEST. +  string th_bt = roxenloader.orig_predef_describe_bt(thread->backtrace());       // Expand any occurrences of:    // Thread.Mutex(/*locked by 0x....*/)    // to:    // Thread.Mutex(/*locked by 0x.... - <thread name>*/)    string bt_separator = "Thread.Mutex(/*locked by ";    if (has_value(th_bt, bt_separator)) {    array(string) bt_segs = th_bt / bt_separator;    if (sizeof(bt_segs) > 1) {    foreach (bt_segs; int idx; string bt_seg) {