So...now if I save the image in a place where I have a proxy (my work) and
then I try to open it in another place that has no proxy (my home), it
doesn't work. To solve that I did:
startUp
OSPlatform isMacOS ifTrue: [
self useHTTPProxy ifTrue: [
(self getHTTPProxyHost findTokens: ':') ifNotEmpty: [:p |
NetworkSystemSettings useHTTPProxy: true.
HTTPSocket useProxyServerNamed: p first port: p second
asInteger]]
ifFalse: [HTTPSocket stopUsingProxyServer.
NetworkSystemSettings useHTTPProxy: false]]
I added the ifFalse part to reset it.
What do you think? At least it seems to work for me.
Thanks
On Wed, Jun 29, 2011 at 10:14 AM, Marcus Denker <[email protected]>wrote:
> > Thanks Sven, that worked :)
> > Thanks Marcus for pointing us to the right place to fix it.
> >
> > Can we integrate it marcus for 1.3?
> >
> >
>
> Yes! please add something machine readable to the bug tracker issue:
>
> http://code.google.com/p/pharo/issues/detail?id=4473
>
> --
> Marcus Denker -- [email protected]
> http://www.marcusdenker.de
>
>
--
Mariano
http://marianopeck.wordpress.com