~the-y

Recent activity

Re: [PATCH senpai] Add support for the ALL_PROXY, NO_PROXY environment variables 5 months ago

From the-y to ~taiite/public-inbox

That's neat! Cool trick with the environment 
variable/proxy.FromEnvironment(). Would there be a way to combine it? So 
that you can set the proxy from settings/config file but also from the 
environment? I especially like the socks5://... uri. So having simply 
having proxy settings over socks5addr as I did in my patch.

On 18.02.22 17:12, delthas wrote:
> This adds support for SOCKS5 proxy support through standard environement
> variables.
>
> To connect to the SOCKS5 proxy at host:port with credentials user:pass,
> run:
>
>    export ALL_PROXY=socks5://user:pass@host:port

[PATCH senpai] Implement support for socks5 proxy 5 months ago

From the-y to ~taiite/public-inbox

Hey hey, what a cool irc client, but i was in need for some socks5 support. Here are the
changes i made. This is the first time i work on some go code and also
the first time i send a patch in over email ^^ So of course open for any
improvements on either end.

Cheers

---
 app.go           | 12 +++++++++++-
 config.go        | 31 ++++++++++++++++++++++++-------
 doc/senpai.5.scd |  7 +++++++
 go.mod           |  3 ++-
 go.sum           | 10 ++++++++++
 5 files changed, 54 insertions(+), 9 deletions(-)
[message trimmed]