| 822 | } |
| 823 | |
| 824 | static void ClearCurrentRequest(void) { |
| 825 | Mutex_Lock(curRequestMutex); |
| 826 | { |
| 827 | http_curRequest.id = 0; |
| 828 | http_curRequest.progress = HTTP_PROGRESS_NOT_WORKING_ON; |
| 829 | } |
| 830 | Mutex_Unlock(curRequestMutex); |
| 831 | } |
| 832 | |
| 833 | static void DoRequest(struct HttpRequest* request) { |
| 834 | SetCurrentRequest(request); |
no test coverage detected