| 126 | } |
| 127 | |
| 128 | void async_wget_with_retry( |
| 129 | std::string url, |
| 130 | std::string file, |
| 131 | std::string param, |
| 132 | FileRequestAsync* obj |
| 133 | ) { |
| 134 | // ctx will be deleted when download succeeds |
| 135 | auto ctx = new async_download_context{ url, file, param, obj }; |
| 136 | start_async_wget_with_retry(ctx); |
| 137 | } |
| 138 | |
| 139 | #endif |
| 140 | } |
no test coverage detected