X-Git-Url: http://git.indexdata.com/?a=blobdiff_plain;f=src%2Feventl.c;h=e8f63241a653ba58ab78c9d64122ad7402c399f6;hb=c6b8edd2312a4606cc014738266059a20e3b6e61;hp=2d642ca637fe02213de6c846e4e609ad2089041a;hpb=379504a233e3e2cc85bca1e7b6d864f1395aec7c;p=yaz-moved-to-github.git diff --git a/src/eventl.c b/src/eventl.c index 2d642ca..e8f6324 100644 --- a/src/eventl.c +++ b/src/eventl.c @@ -29,6 +29,7 @@ #include #include #include +#include #include "eventl.h" #include "session.h" #include @@ -137,15 +138,9 @@ int iochan_event_loop(IOCHAN *iochans) } else { - /* Destroy the first member in the chain, and try again */ - association *assoc = (association *)iochan_getdata(*iochans); - COMSTACK conn = assoc->client_link; - - cs_close(conn); - destroy_association(assoc); - iochan_destroy(*iochans); - yaz_log(log_level, "error select, destroying iochan %p", - *iochans); + yaz_log(YLOG_WARN|YLOG_ERRNO, "yaz_poll"); + xfree(fds); + continue; } } now = time(0);