Re: [arch-general] [pkgstats] Patch to allow pkgstats to submit info through a proxy (if this is setted on http_proxy)

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]



On Mon, 21 Dec 2009 12:50:03 -0300, Angel Velásquez
<angvp@xxxxxxxxxxxxxxxx> wrote:
> On Mon, Dec 21, 2009 at 12:39 PM, Pierre Schmitz <pierre@xxxxxxxxxxxx>
> wrote:
>> Am Montag 21 Dezember 2009 15:13:53 schrieb Angel Velásquez:
>>> So, I decided to do a little patch to pkgstats, I've tested and now
>>> it's working .. (I am checking if the http_proxy env var is empty and
>>> else I am setting a variable called prox which have the value of the
>>> proxy).
>>
>> That shouldn't be needed because curl reads the env vars itself (at
least
>> according to its man page)
>>
>> Btw: pkgstats not that usable atm.
> 
> Well curl wasn't reading the env vars, in fact I had to add this
> option --proxy. So if curl isn't reading the env vars there is a
> curl's bug.
> 
> And why is not usable pkgstats?

Make sure your proxy support https and you have set https_proxy; the stats
are sent via https; so setting just http_proxy does not work.

-- 
Pierre Schmitz, https://users.archlinux.de/~pierre


[Index of Archives]     [Linux Wireless]     [Linux Kernel]     [ATH6KL]     [Linux Bluetooth]     [Linux Netdev]     [Kernel Newbies]     [Share Photos]     [IDE]     [Security]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux ATA RAID]     [Samba]     [Device Mapper]
  Powered by Linux