cURL / Mailing Lists / curl-users / Single Mail

curl-users

openssl locking functions around curl call in a php script

From: sumit s. <sumit_muskaan_at_rediffmail.com>
Date: 4 May 2010 12:27:39 -0000

I've written a code in php which is calling curl and have multiple apache process running. Do I still have to follow:

http://curl.haxx.se/docs/faq.html#Is_libcurl_thread_safe

I'm using curl-7.19.5 built with openssl and wanted to access https. How can I put locking functions around that curl fuction call into the php script to ensure multiple apache process can use openssl in a thread safe way?

Need your help.

-------------------------------------------------------------------
List admin: http://cool.haxx.se/list/listinfo/curl-users
FAQ: http://curl.haxx.se/docs/faq.html
Etiquette: http://curl.haxx.se/mail/etiquette.html
Received on 2010-05-04