[Windows] OpenSSL SSL_read: Connection was reset, errno 10054

这里的10054是Windows开发使用的一个错误码,和Linux里的errno是一样的意义。
https://docs.microsoft.com/en-us/windows/win32/winsock/windows-sockets-error-codes-2

在中国使用git时经常遇到这个错误;

临时解决方法:https://blog.csdn.net/qq_36428903/article/details/116007384

http.sslVerify::
Whether to verify the SSL certificate when fetching or pushing over HTTPS. Defaults to true. Can be overridden by the GIT_SSL_NO_VERIFY environment variable.

这个配置文件打开时就会检查certificates;相关信息:
/* Import certificates from the Windows root certificate store if requested.
https://stackoverflow.com/questions/9507184/
https://github.com/d3x0r/SACK/blob/master/src/netlib/ssl_layer.c#L1037
https://datatracker.ietf.org/doc/html/rfc5280 */
在这里插入图片描述

猜你喜欢

转载自blog.csdn.net/qq_36428903/article/details/125326302