From: James Turner Date: Thu, 24 Mar 2016 18:41:30 +0000 (+0000) Subject: HTTP/curl - pick up sleep value X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=4fdcfb862370e084904c0a39dbe473a695c6052f;p=simgear.git HTTP/curl - pick up sleep value --- diff --git a/simgear/io/HTTPClient.cxx b/simgear/io/HTTPClient.cxx index 5ec7386b..03302e51 100644 --- a/simgear/io/HTTPClient.cxx +++ b/simgear/io/HTTPClient.cxx @@ -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);