mirror of
https://git.openafs.org/openafs.git
synced 2025-01-19 07:20:11 +00:00
rx-propagate-error-20050902
if we have an error propagate it to new calls
This commit is contained in:
parent
d04a62e641
commit
599b57ed78
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user