scragg0x/Elastica — comment on commit bd56c22afaf6bbd8a96865c66d5ed2095250b826
File:  line 0
By ruflin:

Interesting. I changed this some time ago to not close the connection to keep it alive (persistent connection). The same is true for the second change you suggest. Now curl_init is called every time even though the same client is used for several queries. With this enhancement, I had quite a performance boost.

So what I want is to use a persistent connection, but not having a memory leak :-) I hope you can help here.