cURL / Mailing Lists / curl-library / Single Mail

curl-library

Using libcurl from a pam module

From: Jason Borden <jasonborden79_at_yahoo.com>
Date: Tue, 15 Jan 2013 22:20:03 -0700

Hi,

I'm writing a pam authentication module and would like to use libcurl to
query a web service api. My only issue is that since pam modules are
invoked by single or multithreaded applications, there isn't a way for
me to run curl_global_init before the invoking application starts their
threads. Am I just out of luck using libcurl or is there a way I can
still make it work?

Thanks,
Jason

-------------------------------------------------------------------
List admin: http://cool.haxx.se/list/listinfo/curl-library
Etiquette: http://curl.haxx.se/mail/etiquette.html
Received on 2013-01-16