[Mono-osx] DefaultWebProxy on Mac
m.j.hutchinson at gmail.com
Fri Oct 23 14:38:50 EDT 2009
On Thu, Oct 22, 2009 at 8:30 PM, Duane Wandless <duane at wandless.net> wrote:
> So it appears that System.Net.WebRequest.DefaultWebProxy does not work on
> Mac. Am I missing something?
Mono's detection of the "default" proxy currently uses the HTTP_PROXY
env var, which is pretty much standard on Linux systems (and probably
other unixes, but I'm not sure). I don't know if this would work on
Mac. Unfortunately there has been little interest in improving the
proxy autodetection - I implemented it about 4 years ago because I was
stuck behind a university network proxy and no-one's touched it since.
Recently a new library called libproxy has appeared, which aims to
solve proxy autodetection on Linux, and I believe it has Windows
support, so I think the best solution would be to port it to Mac and
make Mono's autodetection use it *if* it's present. I could probably
advise on how to do this, but I don't have the time to do it myself.
More information about the Mono-osx