]> Sergey Matveev's repositories - public-inbox.git/commit
lei_curl: use http.proxy knob via URL match for curl
authorEric Wong <e@80x24.org>
Wed, 3 Nov 2021 20:35:55 +0000 (20:35 +0000)
committerEric Wong <e@80x24.org>
Thu, 4 Nov 2021 03:29:38 +0000 (03:29 +0000)
commitafd4be5163b39050ac9892b8a511f11f417acf7b
tree92f6efec7730160d9bda8af2f69cb92b6714e25a
parent60a4a6ee11a3c9126e7b825f60b2b603ac09fe33
lei_curl: use http.proxy knob via URL match for curl

Using the --proxy on the command-line affects the entire
lei invocation, and users searching HTTP(S) remotes and
writing to an IMAP folder may want more fine-grained proxy
use:

  lei q -o imap://no-proxy.example/foo -O https://need-proxy.example/bar ...
lib/PublicInbox/LeiCurl.pm