[Development] QtNetwork: using system proxy by default

Peter Hartmann phartmann at rim.com
Wed Oct 17 14:15:31 CEST 2012


What I forgot to say in my first mail:
We would want to use that in 4.8, where we don't want to change the 
default behaviour anyhow. How about option 3 below, where the default 
can be set to "yes" in Qt5 globally or per platform once we are 
confident it works?
The benefit of that option is that it can be easily backported to 4.8 
and would not change behaviour, but whoever wants to use it can opt-in.

Peter


On 10/11/2012 03:12 PM, Peter Hartmann wrote:
> (...)
> 1. leave as it is, tell everybody to call above method in their app
> 2. just #ifdef for the platforms where it should be used automatically
> 3. introduce a configure switch "-use-system-proxy" or so (default no)
> 4. enable usage of system proxy globally
>
>
> 1. sounds a bit cumbersome for me; I prefer 2. for pragmatic reasons. If
> people think 3. is cleaner that is fine with me as well. As Shane told
> me, using the system proxy on Windows might lead to several seconds of
> delay until the synchronous method that determines the proxy returns, so
> for now 4. seems too risky.
>
> Please suggest / comment etc.
>
>
> Peter
>
> ---------------------------------------------------------------------
> This transmission (including any attachments) may contain confidential information, privileged material (including material protected by the solicitor-client or other applicable privileges), or constitute non-public information. Any use of this information by anyone other than the intended recipient is prohibited. If you have received this transmission in error, please immediately reply to the sender and delete this information from your system. Use, dissemination, distribution, or reproduction of this transmission by unintended recipients is not authorized and may be unlawful.
> _______________________________________________
> Development mailing list
> Development at qt-project.org
> http://lists.qt-project.org/mailman/listinfo/development
>


---------------------------------------------------------------------
This transmission (including any attachments) may contain confidential information, privileged material (including material protected by the solicitor-client or other applicable privileges), or constitute non-public information. Any use of this information by anyone other than the intended recipient is prohibited. If you have received this transmission in error, please immediately reply to the sender and delete this information from your system. Use, dissemination, distribution, or reproduction of this transmission by unintended recipients is not authorized and may be unlawful.



More information about the Development mailing list