QNam: only init channels when needed.
authorMartin Petersson <Martin.Petersson@nokia.com>
Thu, 1 Mar 2012 09:36:38 +0000 (10:36 +0100)
committerQt by Nokia <qt-info@nokia.com>
Tue, 13 Mar 2012 09:11:22 +0000 (10:11 +0100)
commitc68737add39360040e5b0cd93f01f229d6a8bbc9
treed062858c0a1700121c0799c463df6acb41c917b3
parent8be558e99d69fbfda495882e1bda1c64585485a6
QNam: only init channels when needed.

Each channel will create a socket that will allocate memory for the
read and write buffers. This change will instead initialize
channels only when they are needed.

Change-Id: I112b4c7b944a7dd345414f06260c92803394eaed
Reviewed-by: Shane Kearns <shane.kearns@accenture.com>
src/network/access/qhttpnetworkconnection.cpp
src/network/access/qhttpnetworkconnectionchannel.cpp
src/network/access/qhttpnetworkconnectionchannel_p.h