2
0
mirror of https://github.com/xcat2/xcat-core.git synced 2025-05-31 10:06:39 +00:00

[go-xcat] Enhance curl exit code parsing

This commit is contained in:
GONG Jie 2019-05-15 19:28:24 +08:00
parent 88a435f928
commit c07688635d

View File

@ -883,6 +883,8 @@ function download_file_curl()
88) echo -n "FTP chunk callback reported error" ;;
89) echo -n "no connection available, the session will be queued" ;;
90) echo -n "SSL public key does not matched pinned public key" ;;
91) echo -n "invalid SSL certificate status" ;;
92) echo -n "stream error in HTTP/2 framing layer" ;;
*) echo -n "unknown error" ;;
esac
echo ")"