## Copyright (C) 1995-2000, Index Data
## All rights reserved.
-## $Id: Makefile.am,v 1.17 2003-02-18 10:37:08 adam Exp $
+## $Id: Makefile.am,v 1.18 2003-02-18 11:59:14 adam Exp $
if ISSSL
extra=yaz-client-ssl
yaz_client_ssl_SOURCES=$(yaz_client_SOURCES)
yaz_client_LDADD = ../lib/libyaz.la $(READLINE_LIBS)
-yaz_client_ssl_LDADD = ../lib/libyazssl.la ../lib/libyaz.la $(READLINE_LIBS)
+yaz_client_ssl_LDADD = ../lib/libyazssl.la ../lib/libyaz.la $(READLINE_LIBS) $(SSL_LIBS)
AM_CPPFLAGS=-I$(top_srcdir)/include
* See the file LICENSE for details.
* Sebastian Hammer, Adam Dickmeiss
*
- * $Id: eventl.c,v 1.36 2003-02-17 21:23:31 adam Exp $
+ * $Id: eventl.c,v 1.37 2003-02-18 11:59:14 adam Exp $
*/
#include <stdio.h>
for (p = *iochans; p; p = p->next)
{
time_t w, ftime;
- yaz_log(LOG_LOG, "fd=%d flags=%d force_event=%d",
+ yaz_log(LOG_DEBUG, "fd=%d flags=%d force_event=%d",
p->fd, p->flags, p->force_event);
if (p->force_event)
to.tv_sec = 0; /* polling select */
to.tv_sec = w;
}
}
- yaz_log(LOG_LOG, "select start %d", to.tv_sec);
+ yaz_log(LOG_DEBUG, "select start %d", to.tv_sec);
res = YAZ_EV_SELECT(max + 1, &in, &out, &except, &to);
- yaz_log(LOG_LOG, "select end");
+ yaz_log(LOG_DEBUG, "select end");
if (res < 0)
{
if (yaz_errno() == EINTR)
* Copyright (c) 1995-2003, Index Data
* See the file LICENSE for details.
*
- * $Id: seshigh.c,v 1.139 2003-02-17 22:35:48 adam Exp $
+ * $Id: seshigh.c,v 1.140 2003-02-18 11:59:14 adam Exp $
*/
/*
char *base = "Default";
bend_search_rr rr;
Z_External *ext;
+
+ yaz_log(LOG_LOG, "Got SRW SearchRetrieveRequest");
if (!assoc->init)
srw_bend_init(assoc);
srw_res->num_records = j;
if (!j)
srw_res->records = 0;
- yaz_log(LOG_LOG, "got %d records", j);
}
}
}
ctype = "text/html";
}
z_HTTP_header_add(o, &hres->headers, "Content-Type", ctype);
- yaz_log(LOG_LOG, "OK send page %s size=%ld", fpath, sz);
}
fclose(f);
}
* Copyright (c) 2002-2003, Index Data.
* See the file LICENSE for details.
*
- * $Id: zgdu.c,v 1.5 2003-02-17 22:34:40 adam Exp $
+ * $Id: zgdu.c,v 1.6 2003-02-18 11:59:15 adam Exp $
*/
#include <yaz/proto.h>
-#define HTTP_DEBUG 1
+#define HTTP_DEBUG 0
static int decode_headers_content(ODR o, int off, Z_HTTP_Header **headers,
char **content_buf, int *content_len)
* Copyright (c) 2000-2003, Index Data
* See the file LICENSE for details.
*
- * $Id: zoom-c.c,v 1.23 2003-02-18 09:12:14 adam Exp $
+ * $Id: zoom-c.c,v 1.24 2003-02-18 11:59:15 adam Exp $
*
* ZOOM layer for C, connections, result sets, queries.
*/
else if (addinfo)
c->addinfo = xstrdup(addinfo);
if (error)
- yaz_log(LOG_LOG, "Error %s %s:%d %s %s",
+ yaz_log(LOG_DEBUG, "Error %s %s:%d %s %s",
c->host_port ? c->host_port : "<>", dset, error,
addinfo ? addinfo : "",
addinfo2 ? addinfo2 : "");
resultset->size = 0;
- yaz_log(LOG_LOG, "got SRW response OK");
+ yaz_log(LOG_DEBUG, "got SRW response OK");
if (res->numberOfRecords)
resultset->size = *res->numberOfRecords;
npr->u.databaseRecord->u.octet_aligned->size =
res->records[i].recordData_len;
record_cache_add (resultset, npr, pos);
- yaz_log(LOG_LOG, "add SRW record to cache to pos %d", pos);
}
if (res->num_diagnostics > 0)
{