thanks sven BTW we will start to write a chapter on zinc with olivier auverlot :) On Sep 13, 2011, at 9:10 PM, Sven Van Caekenberghe wrote:
I uploaded a modified PharoOneClick 1.3 app for Mac OS X, Linux and Windows to make it easier for others to test Zodiac, an as yet unfinished attempt at a better (secure) socket stream, in order to support HTTPS. This is a 40Mb download.
The included VM contains the necessary native SSL plugins for each platform.
The image itself was built as follows:
----
"Started with a standard Pharo One Click 1.3 #13306"
Gofer it squeaksource: 'ZincHTTPComponents'; package: 'Zinc-HTTP'; package: 'Zinc-Tests'; package: 'Zinc-Patch-HTTPSocket'; load.
Gofer it squeaksource: 'Zodiac'; package: 'Zodiac-Core'; package: 'Zodiac-Tests'; load.
Gofer it squeaksource: 'ZincHTTPComponents'; package: 'Zinc-Zodiac'; load.
"Switch to the Zn Zodiac socket factory"
ZnNetworkingUtils default: ZnZodiacNetworkingUtils new.
"Note: all http(s) in the image will now go through Zodiac streams"
"** Make sure to use a Mac OS X Cog VM with the SSL plugin **"
"Run the units tests, or just try"
ZnClient get: 'https://encrypted.google.com'.
---
Normally, all tests pass on Mac OS X, on Linux #testGForceInria fails, on Windows additionally #testAmazonAWS and #testPayPal fail. Additionally, #testSlashdotGzipChunked from the regular Zn sometimes fails because the server that is tested sometimes returns an unexpected answer (actually the test is not very good).
Sven