From: Ian Jackson Date: Mon, 3 May 2010 01:39:11 +0000 (+0100) Subject: 503 is not timeout X-Git-Tag: innduct-0.1~66 X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~ian/git?p=innduct.git;a=commitdiff_plain;h=c84d1bf5ad9704e49bdb546b72e518bac831f710 503 is not timeout --- 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);