| 622:6e44c7ce0834 | 623:53b31a734cd1 |
|---|---|
| 139 } | 139 } |
| 140 | 140 |
| 141 int ret = nsapi_start_request(request, thrpool, ev, pool); | 141 int ret = nsapi_start_request(request, thrpool, ev, pool); |
| 142 if(ret) { | 142 if(ret) { |
| 143 if(request->status != 0) { | 143 if(request->status != 0) { |
| 144 // TODO: send error response | 144 fatal_error(request, request->status); |
| 145 } | 145 } |
| 146 pool_destroy(pool); | 146 pool_destroy(pool); |
| 147 } | 147 } |
| 148 return ret; | 148 return ret; |
| 149 } | 149 } |