682 |
682 |
683 /* execute the saf */ |
683 /* execute the saf */ |
684 ret = nsapi_exec(d, sn, rq); |
684 ret = nsapi_exec(d, sn, rq); |
685 } |
685 } |
686 |
686 |
687 |
|
688 if(ret != REQ_PROCEED) { |
|
689 fprintf(stderr, "saf not proceed\n"); |
|
690 } |
|
691 if(ret != REQ_NOACTION) { |
687 if(ret != REQ_NOACTION) { |
692 if(ret == REQ_PROCESSING) { |
688 if(ret == REQ_PROCEED) { |
|
689 /* |
|
690 * flush buffer and add termination if chunked encoding |
|
691 * is enabled |
|
692 */ |
|
693 net_finish(sn->sn.csd); |
|
694 } else if(ret == REQ_PROCESSING) { |
693 /* save nsapi context */ |
695 /* save nsapi context */ |
694 rq->context.objset_index = i; |
696 rq->context.objset_index = i; |
695 |
697 |
696 /* add +1 to start next round with next function */ |
698 /* add +1 to start next round with next function */ |
697 rq->context.dtable_index = j + 1; |
699 rq->context.dtable_index = j + 1; |