2020-10-10
Git pull 文件时出现错误
错误报告 : “error: RPC failed; curl 18 transfer closed with outstanding read data remaining”
1 | error: RPC failed; curl 18 transfer closed with outstanding read data remaining |
错误原因
1.网络下载速度太慢
错误应对 : 修改下载速度
1
2git config --global http.lowSpeedLimit 0
git config --global http.lowSpeedTime 999999
2. 缓存太小下载文件过大导致缓存溢出
查看缓冲区大小,单位为 b
1
git config --list
错误应对 : 全局修改 postBuffer 的默认大小,增加缓冲
1
git config --global http.postBuffer 524288000