Branch: Tag:

2001-12-19

2001-12-19 14:40:56 by Henrik Grubbström (Grubba) <grubba@grubba.org>

find_configuration_for_url() now survives the URL list being empty.
Fixes [bug 2632 (#2632)].

Rev: server/base_server/roxen.pike:1.770

6:   // 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.769 2001/12/19 13:44:52 wellhard Exp $"; + constant cvs_version="$Id: roxen.pike,v 1.770 2001/12/19 14:40:56 grubba Exp $";      // The argument cache. Used by the image cache.   ArgCache argcache;
1293:    INIT( mu );    URL2CONF_MSG ("%O %O cached: %O\n", this_object(), url, c);    return c; +  } else if (!sizeof(sorted_urls)) { +  URL2CONF_MSG("%O %O No active URLS!\n", this_object(), url); +  return 0;    }       url = lower_case( url );
1551: Inside #if constant(SSL.sslfile)
   }    ctx->rsa_mode();    +  // FIXME: Support PKCS7    object tbs = Tools.X509.decode_certificate (cert);    if (!tbs)    {