QNetworkAccessManager: Read all from socket on remote host close
authorMartin Petersson <Martin.Petersson@nokia.com>
Wed, 9 May 2012 11:53:46 +0000 (13:53 +0200)
committerQt by Nokia <qt-info@nokia.com>
Wed, 16 May 2012 02:24:32 +0000 (04:24 +0200)
commit7ba7dddffd3a4807af67db7ec089afc5b9a1831a
tree8a9f393aa44a97a337bb90ac7c8118ed14eecefc
parentcfb44c6528b2518274bf157388832d1d610ce0e4
QNetworkAccessManager: Read all from socket on remote host close

When we get a remoteHostClosed we should try to read everything from
the socket before we close the channel.

Change-Id: Iaa87d79ea16d69735f6ba3e8b3b4a0f86fbd5f73
Reviewed-by: Shane Kearns <shane.kearns@accenture.com>
Reviewed-by: Prasanth Ullattil <prasanth.ullattil@nokia.com>
Reviewed-by: Richard J. Moore <rich@kde.org>
src/network/access/qhttpnetworkconnectionchannel.cpp