--- ioabs_tcp.c.orig Fri Sep 30 18:06:29 2005 +++ ioabs_tcp.c Fri Sep 30 18:07:19 2005 @@ -101,11 +101,11 @@ if (n == 0) { /* Connection has been closed. */ log_print(LOG_INFO, _("ioabs_tcp_post_select: client %s: connection closed by peer"), c->idstr); - ioabs_tcp_shutdown(c); + c->do_shutdown = 1; return 0; } else if (n == -1 && errno != EAGAIN) { log_print(LOG_ERR, _("ioabs_tcp_post_select: client %s: read: %m; closing connection"), c->idstr); - ioabs_tcp_shutdown(c); + c->do_shutdown = 1; return 0; } }