[Interest] Does QNetworkAccessManager support HTTP persistent connections? (keep-alive)
Jason H
jhihn at gmx.com
Fri Apr 13 02:03:00 CEST 2018
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" <hamish at risingsoftware.com>
> To: interest at 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 at qt-project.org
> http://lists.qt-project.org/mailman/listinfo/interest
>
More information about the Interest
mailing list