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);