# HTTPS/multi-curl timeouts

- Thread: https://externals.io/message/17286
- Original archive: https://news-web.php.net/php.internals/17286
- Started by Emile on 2005-07-17T18:30:00+00:00
- Messages: 1
- Reply by email to internals@lists.php.net
- More for agents: search with https://externals.io/search.md?q={query} · JSON API at https://externals.io/api · documentation at https://externals.io/llms.txt

---

## #17286 — Emile — 2005-07-17T18:30:00+00:00

URL: https://externals.io/message/17286#17286

Hi

I am experiencing problems when using multi-threaded cURL (libcurl) on PHP.

When I have more than about 5 threads, all subsequent threads fail to
connect. I presume this is because PHP hasn't implemented the
CRYPTO_callback functions to prevent OpenSSL locking.

Following on from this thread about an implementation of libcurl...
http://curl.haxx.se/mail/lib-2004-06/0086.html

Does anyone know how I could implement the CRYPO_callbacks in PHP?

Thanks
Emile
