Sioro-Neoku / go-peerflix

Go Peerflix
MIT License
470 stars 119 forks source link

Add proxy support #53

Closed MilesDust closed 4 years ago

MilesDust commented 4 years ago

I would like to be able to set a proxy for go-peerflix to connect with peers through. A commandline flag to specify it would be good, e.g. go-peerflix --proxy=https://[username:password@]127.0.0.1:8080.

Sioro-Neoku commented 4 years ago

You can already configure a proxy address using

export HTTP_PROXY="https://[username:password@]127.0.0.1:8080"