Log events on connections with no clients attach
authorAdam Dickmeiss <adam@indexdata.dk>
Fri, 9 Apr 2010 11:19:09 +0000 (13:19 +0200)
committerAdam Dickmeiss <adam@indexdata.dk>
Fri, 9 Apr 2010 11:19:09 +0000 (13:19 +0200)
src/connection.c

index 8d0d480..260196c 100644 (file)
@@ -251,6 +251,7 @@ static void connection_handler(IOCHAN iochan, int event)
         /* no client associated with it.. We are probably getting
            a closed connection from the target.. Or, perhaps, an unexpected
            package.. We will just close the connection */
+        yaz_log(YLOG_LOG, "timeout connection %p event=%d", co, event);
         connection_destroy(co);
         return;
     }