#######################################################################################################################* *-----------------------------------------------------Http worker---------------------------------------------------------* *#########################################################################################################################*/ Sets up state to begin a htt
| 798 | *#########################################################################################################################*/ |
| 799 | /* Sets up state to begin a http request */ |
| 800 | static void SetCurrentRequest(struct HttpRequest* req) { |
| 801 | Mutex_Lock(curRequestMutex); |
| 802 | { |
| 803 | HttpRequest_Copy(&http_curRequest, req); |
| 804 | http_curRequest.progress = HTTP_PROGRESS_MAKING_REQUEST; |
| 805 | } |
| 806 | Mutex_Unlock(curRequestMutex); |
| 807 | } |
| 808 | |
| 809 | static void PerformRequest(struct HttpRequest* req) { |
| 810 | cc_uint64 beg, end; |
no test coverage detected