karolherbst / Gamekeeper-Framework

Library for hooking up game stores and merging them into one single library
GNU Lesser General Public License v2.1
2 stars 0 forks source link

Rework curlfiledownloader #77

Closed karolherbst closed 10 years ago

karolherbst commented 10 years ago

we should use a factory pattern here instead of having a global object, which creates curl handles for each request. This allows us to manage different session scopes within gk, so that different storeconfigurations have different cookies and so on.

Also it should improve network performance, because DNS resolving will be cached for the same handle.

fixes #76