[Interest] Does QNetworkAccessManager support HTTP persistent connections? (keep-alive)
Thiago Macieira
thiago.macieira at intel.com
Wed Jul 25 23:43:54 CEST 2018
On Wednesday, 25 July 2018 10:22:19 PDT Thiago Macieira wrote:
> 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.
Or if the request was HTTP/1.1, which changed the Connection default to keep-
alive.
--
Thiago Macieira - thiago.macieira (AT) intel.com
Software Architect - Intel Open Source Technology Center
More information about the Interest
mailing list