Z39.50 session/connect timeout in parameters
[pazpar2-moved-to-github.git] / src / getaddrinfo.c
index ce531ef..8d2252f 100644 (file)
@@ -1,4 +1,4 @@
-/* $Id: getaddrinfo.c,v 1.6 2007-07-09 20:00:41 adam Exp $
+/* $Id: getaddrinfo.c,v 1.7 2007-07-25 11:41:32 adam Exp $
    Copyright (c) 2006-2007, Index Data.
 
 This file is part of Pazpar2.
@@ -65,7 +65,9 @@ void perform_getaddrinfo(struct work *w)
         *(port++) = '\0';
     else
         port = "210";
-    
+
+    yaz_log(YLOG_LOG, "Resolving %s", w->hostport);
+    sleep(10);
 #if HAVE_GETADDRINFO
     hints.ai_flags = 0;
     hints.ai_family = PF_INET;