- // bug #2035
-
- yaz_log(YLOG_WARN, "unhandled socket event. yaz_poll returned %d", res);
- yaz_log(YLOG_WARN, "no_put_events=%d no_fds=%d i=%d timeout=%d",
- no_put_events, no_fds, i, timeout);
- abort();
+ if (no_lost_observers == 0)
+ {
+ // bug #2035
+ yaz_log(YLOG_WARN, "unhandled socket event. yaz_poll returned %d",
+ res);
+ yaz_log(YLOG_WARN, "no_put_events=%d no_fds=%d i=%d timeout=%d",
+ no_put_events, no_fds, i, timeout);
+ }