Http/s 1.1 with keep-alive should work too.
Make sure you're setting the right headers.
> Sent: Thursday, April 12, 2018 at 7:24 PM
> From: "Hamish Moffatt" <ham...@risingsoftware.com>
> To: firstname.lastname@example.org
> Subject: Re: [Interest] Does QNetworkAccessManager support HTTP persistent
> connections? (keep-alive)
> 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
> Interest mailing list
Interest mailing list