1000字范文,内容丰富有趣,学习的好帮手!
1000字范文 > error: RPC failed; curl 18 transfer closed with outstanding read data remain

error: RPC failed; curl 18 transfer closed with outstanding read data remain

时间:2020-07-20 09:56:15

相关推荐

error: RPC failed; curl 18 transfer closed with outstanding read data remain

究其原因是因为curl的postBuffer的默认值太小,我们需要调整它的大小,在终端重新配置大小

在这里,笔者把postBuffer的值配置成500M,对笔者来说已经够了。可以根据你需要下载的文件大小,将postBuffer值配置成合适的大小。

git config --global http.postBuffer 524288000

这样已经配置好了,如果你不确定,可以根据以下命令查看postBuffer。

git config --list

如果不行再

git config --global pack.windowMemory “100m”

git config --global pack.SizeLimit “100m”

git config --global pack.threads “1”

git config --global pack.window “0”

git config --global http.sslVerify “false”

本内容不代表本网观点和政治立场,如有侵犯你的权益请联系我们处理。
网友评论
网友评论仅供其表达个人看法,并不表明网站立场。