HTTP/curl - pick up sleep value
This commit is contained in:
parent
c199c95218
commit
4fdcfb8623
@ -817,6 +817,7 @@ void Client::update(int waitTimeout)
|
|||||||
SG_LOG(SG_IO, SG_ALERT, "CurlMSG:" << msg->msg);
|
SG_LOG(SG_IO, SG_ALERT, "CurlMSG:" << msg->msg);
|
||||||
}
|
}
|
||||||
} // of curl message processing loop
|
} // of curl message processing loop
|
||||||
|
SGTimeStamp::sleepForMSec(waitTimeout);
|
||||||
#else
|
#else
|
||||||
if (!d->poller.hasChannels() && (waitTimeout > 0)) {
|
if (!d->poller.hasChannels() && (waitTimeout > 0)) {
|
||||||
SGTimeStamp::sleepForMSec(waitTimeout);
|
SGTimeStamp::sleepForMSec(waitTimeout);
|
||||||
|
Loading…
Reference in New Issue
Block a user