Fix regression in user-agent setting of http proxy in a QNetworkRequest
authorShane Kearns <shane.kearns@accenture.com>
Mon, 19 Dec 2011 16:49:07 +0000 (16:49 +0000)
committerQt by Nokia <qt-info@nokia.com>
Mon, 19 Dec 2011 18:08:57 +0000 (19:08 +0100)
commit9ffd69a6a6fd571826f904e95bc2264fa62e036e
tree6d9d126213b5d5c5bf06c1c56d62c6908728c286
parent2edada763af005367810dda09ca0cdb5adc494b9
Fix regression in user-agent setting of http proxy in a QNetworkRequest

Modifying the proxy causes a detach(), so the socket is still using
the unmodified proxy.
Changed this to setProxy() the modified one back to the socket.

Test case tst_QNetworkReply::httpProxyCommands()

Change-Id: I448c2f2ab43ce8d78bc6edb8261599bf67372676
Reviewed-by: Thiago Macieira <thiago.macieira@intel.com>
src/network/access/qhttpnetworkconnectionchannel.cpp