Sun@ubuntu-vm:~/.vcpkg-clion/vcpkg$ ./bootstrap-vcpkg.sh
Downloading vcpkg-glibc...
curl: (56) OpenSSL SSL_read: Connection reset by peer, errno 104
针对上述问题,网上给出了如下解决办法:
git config --global http.sslVerify "false"
git config --global http.postBuffer 54288000
以及,
git config --global http.proxy http://127.0.0.1:7890
git config --global https.proxy https://127.0.0.1:7890
配置后显示如下:
Sun@ubuntu-vm:~/.vcpkg-clion/vcpkg$ git config --global --list
http.sslverify=false
http.postbuffer=54288000
http.proxy=http://127.0.0.1:7890
https.proxy=https://127.0.0.1:7890
core.compression=0