539 /* save nsapi context */ |
539 /* save nsapi context */ |
540 rq->context.objset_index = i; |
540 rq->context.objset_index = i; |
541 |
541 |
542 /* add +1 to start next round with next function */ |
542 /* add +1 to start next round with next function */ |
543 rq->context.dtable_index = j + 1; |
543 rq->context.dtable_index = j + 1; |
544 } else if(ret == REQ_ABORTED) { |
|
545 if(rq->rq.status_num == PROTOCOL_UNAUTHORIZED) { |
|
546 // TODO: unify error handling |
|
547 protocol_start_response((Session*)sn, (Request*)rq); |
|
548 } |
|
549 } |
544 } |
550 |
545 |
551 return ret; |
546 return ret; |
552 } |
547 } |
553 } |
548 } |