pcp
[Top] [All Lists]

Re: pcp updates: http client lib rework

To: "Frank Ch. Eigler" <fche@xxxxxxxxxx>
Subject: Re: pcp updates: http client lib rework
From: Nathan Scott <nathans@xxxxxxxxxx>
Date: Tue, 16 Aug 2016 18:26:55 -0400 (EDT)
Cc: pcp developers <pcp@xxxxxxxxxxx>
Delivered-to: pcp@xxxxxxxxxxx
In-reply-to: <y0mk2fgphsh.fsf@xxxxxxxx>
References: <542577060.182699.1471209775500.JavaMail.zimbra@xxxxxxxxxx> <1555801040.183189.1471210011430.JavaMail.zimbra@xxxxxxxxxx> <y0mk2fgphsh.fsf@xxxxxxxx>
Reply-to: Nathan Scott <nathans@xxxxxxxxxx>
Thread-index: BHGtocjgV/kGD1SMEQ5Jm/AqdiOXkQ==
Thread-topic: pcp updates: http client lib rework

----- Original Message -----
> [...]
> Is there some reason not to simply switch to libcurl?
> 

Yes, there are many reasons: it didn't support af_unix until recently
(and we always want that, not just sometimes); its not always present
(we support many platforms, we need pmdaapache to always keep working
and I'd prefer to switch away from http_fetcher completely here), and
finally its complete over-kill for the lightweight, small, and simple
needs we have in PCP for extracting stats.

IOW, the reasons the original pmdaapache author (not me) used a small
embedded http client are all still valid.

cheers.

--
Nathan

<Prev in Thread] Current Thread [Next in Thread>