[Interest] QNetworkAccessManager and HTTP persistent connection

Mandeep Sandhu mandeepsandhu.chd at gmail.com
Thu Nov 28 17:14:49 CET 2013


On Thu, Nov 28, 2013 at 12:26 PM, iMath <2281570025 at qq.com> wrote:
> Thank you for your prompt!
> I think I should give my question a clear description.
> The "Connection:keep-alive"  is in the  reply header, when I call close() of
> the reply, the connection is still on ,I wonder how can I send a second
> request to the server using this connection in such  case ?
>
> If I just simply make a second request like the following
>
>  manager->get(QNetworkRequest(QUrl("url")));

Are you sending your next request to the same host or a different one?
And if it's a different one is it the first request to that host?

-mandeep



More information about the Interest mailing list