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: interest@qt-project.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 
> though.
> 
> Hamish
> _______________________________________________
> Interest mailing list
> Interest@qt-project.org
> http://lists.qt-project.org/mailman/listinfo/interest
> 
_______________________________________________
Interest mailing list
Interest@qt-project.org
http://lists.qt-project.org/mailman/listinfo/interest

Reply via email to