From 599b57ed78f86eaeb543d67d3955f71865feae1e Mon Sep 17 00:00:00 2001 From: Jeffrey Hutzelman Date: Fri, 2 Sep 2005 23:48:35 +0000 Subject: [PATCH] rx-propagate-error-20050902 if we have an error propagate it to new calls --- src/rx/rx.c | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/src/rx/rx.c b/src/rx/rx.c index fcbcb97f36..7c4ef9019c 100644 --- a/src/rx/rx.c +++ b/src/rx/rx.c @@ -1146,8 +1146,12 @@ rx_NewCall(register struct rx_connection *conn) /* Client is initially in send mode */ call->state = RX_STATE_ACTIVE; - call->mode = RX_MODE_SENDING; - + call->error = conn->error; + if (call->error) + call->mode = RX_MODE_ERROR; + else + call->mode = RX_MODE_SENDING; + /* remember start time for call in case we have hard dead time limit */ call->queueTime = queueTime; clock_GetTime(&call->startTime);