rx-propagate-error-20050902

if we have an error propagate it to new calls
This commit is contained in:
Jeffrey Hutzelman 2005-09-02 23:48:35 +00:00 committed by Derrick Brashear
parent d04a62e641
commit 599b57ed78

View File

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