Roxen.git / server / base_server / roxen.pike

version» Context lines:

Roxen.git/server/base_server/roxen.pike:1:   // This file is part of Roxen WebServer.   // Copyright © 1996 - 2004, Roxen IS.   //   // The Roxen WebServer main program.   //   // Per Hedbor, Henrik Grubbström, Pontus Hagland, David Hedbor and others.   // ABS and suicide systems contributed freely by Francesco Chemolli    - constant cvs_version="$Id: roxen.pike,v 1.1014 2009/01/11 15:51:14 mast Exp $"; + constant cvs_version="$Id: roxen.pike,v 1.1015 2009/01/11 15:55:18 mast Exp $";      //! @appears roxen   //!   //! The Roxen WebServer main program.      // The argument cache. Used by the image cache.   ArgCache argcache;      // Some headerfiles   #define IN_ROXEN
Roxen.git/server/base_server/roxen.pike:1698:    //! Add a ref for the URL 'name' with the data 'data'    {    if(urls[name])    {    conf_data[urls[name]->conf] = urls[name] = data;    return; // only ref once per URL    }    if (!refs) path = data->path;    else if (path != (data->path || "")) path = 0;    refs++; +  mu = 0;    conf_data[data->conf] = urls[name] = data;    sorted_urls = Array.sort_array(indices(urls),    lambda(string a, string b) {    return sizeof(a)<sizeof(b);    });    }       void unref(string _name)    //! Remove a ref for the URL '_name'    {