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

Hamish Moffatt hamish at risingsoftware.com
Fri Apr 13 02:27:18 CEST 2018


On 13/04/18 10:22, Jason H wrote:
> I thought so, but that makes me wonder even more given the recent discussion: why does the maintenance tool not use them?

You have to keep a single QNetworkAccessManager and make each new 
request from that. I haven't checked the code though.

I did check that keepalive was working from my code (Windows, Qt 5.8) 
just a few days ago. Maybe something broke in a newer version.

Hamish



More information about the Interest mailing list