-
QHttp reconnects?
Does the QHttp class reconnect in the background if the conenction is lost.. or if the MaxKeepAlive (for connecting to an apache server) requests have been reached?
My laptop is not reconnecting for my application, but other users are able to reconnect.
Thanks,
--Greg
-
Re: QHttp reconnects?
AFAIK, QHttp connects when you call get(), post(), head() or request(). You don't need to care about the connection. You just call get() and QHttp will do the work. However, you can always call QHttp::state() to know if it's still connected and if you want to customize the behaviour, you may set your own QTcpSocket by using QHttp::setSocket().