sdkman / sdkman-cli

The SDKMAN! Command Line Interface
https://sdkman.io
Apache License 2.0
5.97k stars 629 forks source link

Feature: [Supports HTTP proxy] #1247

Open 0x1227 opened 8 months ago

0x1227 commented 8 months ago

Feature request I hope to support proxy configuration in SDK config! This helps me update my SDK using a proxy server in a poor network environment。

Gemini-NX commented 6 months ago

Any updates bro? I tried intercept all traffic and route to my proxy, but the speed is still poor.

Talbot3 commented 2 months ago

any update here

0x1227 commented 2 months ago

Any updates bro? I tried intercept all traffic and route to my proxy, but the speed is still poor.

Currently this can be set by vi ~/.sdkman/src/sdkman-utils.sh Edit __sdkman_secure_curl_download in curl "${curl_params[@]}" "${@}" to curl -x "socks5://xxx.xxx.com:port" "${curl_params[@]}" "${@}"