[Nagiosplug-devel] plans to use curl for http
Hiren Patel
hir3npatel at gmail.com
Wed Jun 24 10:20:59 CEST 2009
Holger Weiß wrote:
> * Hiren Patel <hir3npatel at gmail.com> [2009-06-21 15:18]:
>> I had a brief look at the curl library, they offer two modes of using
>> the library, easy and multi. multi supporting threads [...]
>
> You can use either interface in a multi-threaded program, the difference
> is that the "multi" interface allows for multiplexing the socket I/O (by
> using select(3) or friends) in single-threaded programs.
>
ah okay.
>> which we wouldn't use for a plugin right?
>
> The "multi" interface would be useful if a plugin using the new code
> should ever support checking multiple documents "simultaneously".
> Otherwise, the "easy" interface should be just fine.
>
okay, I plan to start with a plugin for HTTP using curl this weekend, I
will post the status as it progresses. let me know if there are concerns,
> Holger
>
More information about the Devel
mailing list