Branch: Tag:

1998-09-17

1998-09-17 19:48:49 by Rob Young <roby@real.com>

Applied try_get_file() patch by Rob Young <roby@real.com>. Thanks.

Rev: server/base_server/configuration.pike:1.155

1: - string cvs_version = "$Id: configuration.pike,v 1.154 1998/09/15 16:43:36 grubba Exp $"; + string cvs_version = "$Id: configuration.pike,v 1.155 1998/09/17 19:48:49 grubba Exp $";   #include <module.h>   #include <roxen.h>   
2010:    mapping m;       -  if(objectp(id)) +  if(objectp(id)) { +  // id->misc->common makes it possible to pass information to +  // the originating request. +  if ( !id->misc ) +  id->misc = ([]); +  if ( !id->misc->common ) +  id->misc->common = ([]); +     fake_id = id->clone_me(); -  else +  +  fake_id->misc->common = id->misc->common; +  } else    error("No ID passed to 'try_get_file'\n");       if(!id->pragma["no-cache"] && !nocache)