I am doing many curl requests to the same server in a loop.
I want to keep using the same curl handle, as this is much faster than closing it with curl_close()
and getting a new one using curl_init()
as it keeps the underlying connection open. Reusing the handle is definitely faster.
If I call curl_reset()
after each request, will this reset the connection and therefore slow down?