On Jun 28, 2011, at 11:10 AM, Marcus Denker wrote:
On Jun 28, 2011, at 10:29 AM, Mariano Martinez Peck wrote:
Hi guys. Few weeks ago, there was an issue about Zn and HTTP proxies. I am in MacOS and behind a proxy. Before that issue, I was able to DIRECTLY connect to internet without specifying anything at the image level. This is because, I guess, the VM and somehow the image I guess, took the default proxy settings I have in MacOS.
Now, with the last version of Pharo 1.3 I need to explicitly set the proxy in order to go to internet. So, first question, is that expected?
No.
Second question, if I go to the settings browser, Network -> Use HTTP proxy, if I check the box, it AUTOMATICALLY shows me the correct data: IP + port. So it seems it is getting it automatically from the MacOS specification. When enabling the checkbox, I can use internet.
We need to rewrite this: InternetConfiguration>>startUp OSPlatform isMacOS ifTrue: [ self useHTTPProxy ifTrue: [ (self getHTTPProxyHost findTokens: ':') ifNotEmpty: [:p | HTTPSocket useProxyServerNamed: p first port: p second asInteger]]] For Zinc. -- Marcus Denker -- http://www.marcusdenker.de INRIA Lille -- Nord Europe. Team RMoD.