return emptyResult();
}
try {
+ if (!client->connected())
+ {
+ if (!STG_CLIENT::reconnect())
+ return emptyResult();
+ client = STG_CLIENT::get();
+ }
response.done = false;
client->request(type, toString(userName), toString(password), fromSTGPairs(pairs));
pthread_mutex_lock(&response.mutex);