[Mono-dev] [PATCH] Read System.Net proxy server address from environment

Gonzalo Paniagua Javier gonzalo at ximian.com
Mon Oct 31 17:43:14 EST 2005


+                                       
+                                       //FIXME: does usesystemdefault
or presence of address take precedence?

Why not testing this now that you're on the case and make it work like
it does in MS?
 
                                        try {
                                                ((WebProxy)
result).Address = new Uri (address);
-                                       } catch (Exception) {
+                                       } catch (UriFormatException) {

Do not change this. There might be other exceptions thrown.

-Gonzalo





More information about the Mono-devel-list mailing list