[Interest] Does QNetworkAccessManager support HTTP persistent connections? (keep-alive)

Hamish Moffatt hamish at risingsoftware.com
Fri Apr 13 01:24:27 CEST 2018

On 13/04/18 08:44, Sze Howe Koh wrote:
> Can QNAM re-use a TCP connection for multiple HTTP requests?

AFAICT, it always does, if you reuse the QNAM.

Even better if you can use HTTP/2 (needs Qt 5.10.1 or later to actually 
work), where multiple logical connections can be made over the same TCP 
connection. That needs to be specifically enabled in the calling code 


More information about the Interest mailing list