[Qt-interest] Persistent HTTP connections
Mandeep Sandhu
mandeepsandhu.chd at gmail.com
Thu Feb 18 10:12:02 CET 2010
Hi All,
HTTP 1.1 supports persistent connection by default, i.e the server
won't close the connection unless explicitly told so by the client by
sending the connection close header. Is it true for HTTP requests sent
out by QNetworkAccessManager?
Once I receive the finish signal, does it automatically send a
connection close header or is that done only if I call abort() or
something else?
Basically, I want to send my _second_ http request using the same
connection that was setup when the first HTTP request was made. If i
simply make the second request after the first one finished, will it
reuse the same connection? If not, how can this be achieved?
Thanks,
-mandeep
More information about the Qt-interest-old
mailing list