systemd / casync

Content-Addressable Data Synchronization Tool
1.51k stars 117 forks source link

src/casync-http: Add Proxy Support #241

Closed sergeysedoy97 closed 3 years ago

sergeysedoy97 commented 4 years ago

This PR adds support for CASYNC_CURLOPT_PROXY environment to set the corresponding curl option. The proxy needs to secure an organization's internal network from external threats.

Example: export CASYNC_CURLOPT_PROXY=<[protocol://][user:password@]proxyhost[:port]>

sergeysedoy97 commented 4 years ago

Bump