Roxen.git / server / etc / modules / Roxen.pmod

version» Context lines:

Roxen.git/server/etc/modules/Roxen.pmod:1:   // This is a roxen pike module. Copyright © 1999 - 2004, Roxen IS.   // - // $Id: Roxen.pmod,v 1.247 2008/08/18 13:18:40 erikd Exp $ + // $Id: Roxen.pmod,v 1.248 2008/09/04 10:56:30 jonasw Exp $      #include <roxen.h>   #include <config.h>   #include <version.h>   #include <module.h>   #include <stat.h>   #define roxen roxenp()      #ifdef HTTP_DEBUG   # define HTTP_WERR(X) report_debug("HTTP: "+X+"\n");
Roxen.git/server/etc/modules/Roxen.pmod:4661:    else if (tmp < 0)    return 0;    }    return 0;    });   }      #ifdef REQUEST_TRACE   protected string trace_msg (mapping id_misc, string msg, string name)   { -  msg = html_decode_string ( -  Parser.HTML()->_set_tag_callback (lambda (object p, string s) {return "";})-> -  finish (msg)->read()); -  +     array(string) lines = msg / "\n";    if (lines[-1] == "") lines = lines[..sizeof (lines) - 2];       if (sizeof (lines))    report_debug ("%s%s%-40s %s\n",    map (lines[..sizeof (lines) - 2],    lambda (string s) {    return sprintf ("%s%*s%s\n", id_misc->trace_id_prefix,    id_misc->trace_level + 1, "", s);    }) * "",
Roxen.git/server/etc/modules/Roxen.pmod:4706: Inside #if defined(REQUEST_TRACE)
   report_debug ("%s%s Request handled by: %O\n",    id_misc->trace_id_prefix, id_misc->trace_id_prefix[..0],    id->conf);   #endif    }       string name;    if (thing) {    name = get_modfullname (get_owning_module (thing));    if (name) -  name = "mod: " + html_decode_string ( -  Parser.HTML()->_set_tag_callback (lambda (object p, string s) {return "";})-> -  finish (name)->read()); +  name = "mod: " + name;    else if (Configuration conf = get_owning_config (thing))    name = "conf: " + conf->query_name();    else    name = sprintf ("obj: %O", thing);    }    else name = "";       trace_msg (id_misc, msg, name);    id_misc->trace_level++;