cURL PHP documentation (curl_setopt) says:
CURLOPT_FORBID_REUSE
–TRUE
to force
the connection to explicitly close
when it has finished processing, and
not be pooled for reuse.
So:
- Yes, actually it should re-use connections by default, as long as you re-use the cURL handle.
- by default, cURL handles persistent connections by itself; should you need some special headers, check CURLOPT_HTTPHEADER
- the server may send a keep-alive timeout (with default Apache install, it is 15 seconds or 100 requests, whichever comes first) – but cURL will just open another connection when that happens.