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.
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