When to use cURLs function curl_close?

murder-x

New Member
When is it necessary to close curl connection and release resources consumed by it?Why do I ask this question, well quite simply because I was told, that PHP garbage collector does all of this and sometimes there is no need to close DB connection or call the \[code\]__destuct\[/code\] method to release resources.Since, that moment I actually started to think about where do I need to call it then? At the moment I'm interested with that question since I writing a small library for curl and I'd like to understand when do I need to user \[code\]curl_close()\[/code\] function.Thank you all for discussion and explanation of it.
 
Back
Top