ZOOM_options_set(zoptions, "charset", charset);
if (memcached && *memcached)
ZOOM_options_set(zoptions, "memcached", memcached);
+ if (redis && *redis)
+ ZOOM_options_set(zoptions, "redis", redis);
- assert(host->ipport);
- if (host->proxy)
- {
- yaz_log(YLOG_LOG, "proxy=%s", host->ipport);
- ZOOM_options_set(zoptions, "proxy", host->ipport);
- }
- else
+ if (con->zproxy)
{
- assert(host->tproxy);
- yaz_log(YLOG_LOG, "tproxy=%s", host->ipport);
- ZOOM_options_set(zoptions, "tproxy", host->ipport);
+ yaz_log(YLOG_LOG, "proxy=%s", con->zproxy);
+ ZOOM_options_set(zoptions, "proxy", con->zproxy);
}
-
if (apdulog && *apdulog)
ZOOM_options_set(zoptions, "apdulog", apdulog);
int no_threads;
WRBUF confdir;
+ char *path;
iochan_man_t iochan_man;
- database_hosts_t database_hosts;
};
struct service_xslt
config->nmem = nmem;
config->servers = 0;
+ config->path = nmem_strdup(nmem, ".");
config->no_threads = 0;
config->iochan_man = 0;
- config->database_hosts = database_hosts_create();
config->confdir = wrbuf_alloc();
if ((p = strrchr(fname,