HTTP/curl - pick up sleep value

This commit is contained in:
James Turner 2016-03-24 18:41:30 +00:00
parent c199c95218
commit 4fdcfb8623

View File

@ -817,6 +817,7 @@ void Client::update(int waitTimeout)
SG_LOG(SG_IO, SG_ALERT, "CurlMSG:" << msg->msg);
}
} // of curl message processing loop
SGTimeStamp::sleepForMSec(waitTimeout);
#else
if (!d->poller.hasChannels() && (waitTimeout > 0)) {
SGTimeStamp::sleepForMSec(waitTimeout);