Roxen.git / server / base_server / configuration.pike

version» Context lines:

Roxen.git/server/base_server/configuration.pike:1:   // This file is part of Roxen WebServer.   // Copyright © 1996 - 2004, Roxen IS.   //      // @appears Configuration   //! A site's main configuration    - constant cvs_version = "$Id: configuration.pike,v 1.674 2009/04/21 18:11:39 mast Exp $"; + constant cvs_version = "$Id: configuration.pike,v 1.675 2009/04/28 11:07:48 grubba Exp $";   #include <module.h>   #include <module_constants.h>   #include <roxen.h>   #include <request_trace.h>   #include <timers.h>      #define CATCH(P,X) do{mixed e;if(e=catch{X;})report_error("While "+P+"\n"+describe_backtrace(e));}while(0)      // Tell Pike.count_memory this is global.   constant pike_cycle_depth = 0;
Roxen.git/server/base_server/configuration.pike:3100:    RequestID fake_id = make_fake_id (s, id);    mapping m;       fake_id->misc->internal_get = !not_internal;    fake_id->method = "GET";       array a = open_file( fake_id->not_query, "r", fake_id, !not_internal );       m = a[1];    +  // Propagate vary callbacks from the subrequest. +  id->propagate_vary_callbacks(fake_id); +     if (result_mapping) {    foreach(indices(m), string i)    result_mapping[i] = m[i];    if (string|function(string:string) charset = fake_id->get_output_charset())    result_mapping->charset = charset;    result_mapping->last_modified = fake_id->misc->last_modified;    }       if(a[0]) {    m->file = a[0];