Symbian socket: Implement systemProxyForQuery for service networks
authorShane Kearns <shane.kearns@accenture.com>
Tue, 17 May 2011 12:07:42 +0000 (13:07 +0100)
committerShane Kearns <shane.kearns@accenture.com>
Wed, 18 May 2011 12:25:24 +0000 (13:25 +0100)
commit1eff8e70fb9154c3ee96aefd8f6fd44429b117fa
tree895c42761ea6859466e93292a68d18905fce1da6
parent91bf24d44690a643d7cb74ab594da949b9e51e1b
Symbian socket: Implement systemProxyForQuery for service networks

When the specified (or active/default) network is a service network,
try to determine the appropriate IAP network within it.
This is the highest priority active network (if any)
followed by the highest priority discovered network (if any)
or the highest priority network as a last resort.

As Symbian doesn't include proxy type in the comms database, proxies
are assumed to be http type unless the port is 1080 (iana assigned
port for SOCKS) in which case the proxy is set as SOCKS type.

Also fixed unitialised member issue with SymbianIapId internal class

Task-number: QTBUG-18618
Reviewed-by: Markus Goetz
src/network/kernel/qnetworkproxy_symbian.cpp
tests/auto/qnetworkproxyfactory/tst_qnetworkproxyfactory.cpp