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

Thiago Macieira thiago.macieira at intel.com
Wed Jul 25 19:22:19 CEST 2018


On Wednesday, 25 July 2018 07:52:13 PDT Marian Beermann wrote:
> Correct. If you augment your debugging a little, it is easy to see the
> server sending a "Connection: close" header:
> 
> qDebug() << ... << reply->rawHeader("Connection");

The question is whether the request had a "Connection: keep-alive" header. You 
need to check the Wireshark logs to see that.

-- 
Thiago Macieira - thiago.macieira (AT) intel.com
  Software Architect - Intel Open Source Technology Center






More information about the Interest mailing list