李成笔记网

专注域名、站长SEO知识分享与实战技巧

error: RPC failed; curl 18 failed是什么意思

采坑笔记:

使用git下载文件时报错:error: RPC failed; curl 18 transfer closed with outstanding read data remain
1、缓存区溢出curl的postBuffer的默认值大小,需要增加

使用命令:git config --global http.postBuffer 524288000

524288000B也就500M左右

有时增加到500M还不行,直接加到2G
git config --global http.postBuffer 2097152000
使用命令:git config --list 查看修改后的状态。
2、修改下载速度
git config --global http.lowSpeedLimit 0
git config --global http.lowSpeedTime 999999

发表评论:

控制面板
您好,欢迎到访网站!
  查看权限
网站分类
最新留言