From c84d1bf5ad9704e49bdb546b72e518bac831f710 Mon Sep 17 00:00:00 2001 From: Ian Jackson Date: Mon, 3 May 2010 02:39:11 +0100 Subject: [PATCH] 503 is not timeout --- backends/innduct.c | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/backends/innduct.c b/backends/innduct.c index df2cdb9..54580af 100644 --- a/backends/innduct.c +++ b/backends/innduct.c @@ -1941,11 +1941,12 @@ static void *peer_rd_ok(oop_source *lp, oop_read *oread, oop_rd_event ev, switch (code) { - case 400: PEERBADMSG("peer stopped accepting articles"); default: PEERBADMSG("peer sent unexpected message"); - case 503: - if (conn_busy) PEERBADMSG("peer timed us out"); + case 400: + if (conn_busy) + PEERBADMSG("peer timed us out or stopped accepting articles"); + notice("C%d idle connection closed by peer", conn->fd); LIST_REMOVE(conns,conn); conn_dispose(conn); -- 2.30.2