使用AssetsManager热更新下载文件的问题

cocos2d的版本cocos2d-x-3.7.1,用的是js.
在使用AssetsManager下载更新文件的时候打印了JS: Asset update error: , Can not get content size of file (file:///F:/war4_download/res/MainScene.json) : Request header failed 错误,无论是使用HTTP请求还是File都有这个错误
发现是在Downloader.cpp中的函数prepareHeader中curl_easy_perform(header) == CURLE_OK结果为false引起的,curl_easy_perform(header)返回了一个CURLE_WRITE_ERROR的错误码
我想问下这个问题该怎么解决,谢谢。