continue;
ev = ZOOM_connection_last_event(link);
-#if 0
- yaz_log(YLOG_LOG, "%p Connection ZOOM_EVENT_%s", co, ZOOM_get_event_str(ev));
+#if 1
+ yaz_log(YLOG_DEBUG, "%p Connection ZOOM_EVENT_%s", co, ZOOM_get_event_str(ev));
#endif
switch (ev)
{
struct client *cl = co->client;
if (cl)
{
+ client_check_preferred_watch(cl);
client_got_records(cl);
}
}
strcat(http_hostport, host->hostport);
ZOOM_connection_connect(link, http_hostport, 0);
}
+ else if (zproxy && *zproxy)
+ ZOOM_connection_connect(link, host->hostport, 0);
else
ZOOM_connection_connect(link, host->ipport, 0);