[Interest] QNAM timeout is way too long

Scott Aron Bloom scott.bloom at onshorecs.com
Mon Apr 21 19:28:16 CEST 2014


I have code, that sends a http request via  QNetworkAccessManager.  Unfortunately, there are times, where the network on the machine will be up, but the connection to the internet is down.. Or the internet is up, but the backend server is down.  Meaning, there is no way for my application to "know" don't bother trying to connect.
The problem, the timeout for the request, before failure seems WAY WAY too long, upwards of 30 seconds.


Is there any way to reduce this??  It's a very very fst request, a 3-5 second timeout, would actually be fine.

Any thoughts???

Scott


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.qt-project.org/pipermail/interest/attachments/20140421/696b303b/attachment.html>


More information about the Interest mailing list