What exactly does FORBID_REUSE do in libcurl, specifically in the PHP implementation of CURL if there is any difference. I found documentation for it here: http://scriptbasic.com/html/texi/mod_curl/mod_curl_3.46.html, but that really doesn’t help too much. It just says “if you don’t know what you’re doing, don’t use it.”
Well, I’d like to know what I’m doing.
From the official documentation:
Usually, multiple HTTP requests to the same web server are sent sequentially on the same TCP connection. This option disables that and makes curl open a new TCP connection for each HTTP request, presumably to deal with broken HTTP servers.