HTTP proxy engine - accept standard Connection header
authorShane Kearns <shane.kearns@accenture.com>
Wed, 26 Oct 2011 13:45:50 +0000 (14:45 +0100)
committerQt by Nokia <qt-info@nokia.com>
Mon, 31 Oct 2011 19:34:43 +0000 (20:34 +0100)
commit0ad18e18d1223b173d4a0d374b70ec08c3b22b11
treefa8beb5814fbb98795e2fecb22963e4bd725e559
parent869bd3d6e1e5d63592c482580a535c7b1909172e
HTTP proxy engine - accept standard Connection header

The Proxy-Connection header is a non standard header, but is widely
used so forming a de-facto standard.
Some proxies use the official Connection header, so we should check
for that in responses. Otherwise https connections over http proxy
fail in case the proxy sends "Connection: close" with the 407 reply.

Task-number: QTBUG-22177
Change-Id: If6cfa4ebb7ac9d97d65b6ddcc8257aee20ac0448
Reviewed-by: Peter Hartmann <peter.hartmann@nokia.com>
src/network/socket/qhttpsocketengine.cpp