我在修改我博客源代码时用到了GIT

修改一个32k左右的文件,不停的报错OpenSSL SSL_read: Connection was reset, errno 10054

方法一

修改postBuffer,貌似这玩意叫后置缓存

可以输入

git config http.postBuffer 524288000
//或全局设置
git config --global http.postBuffer 2M.

2人点赞Git

解决

方法二

关闭http 的ssl认证

git config --global http.sslVerify "false"

方法三

关闭 LFS api接口

git config lfs.https://github.com/Harris-H/ICPC.git/info/lfs.locksverify false

WQZSのBlog Copyright © by wqzs.vip All Rights Reserved.